🤖 AgentForge
AI Agent 协作基础设施 — 以 Ψ=Ψ(Ψ) 为第一性原理的智能体协作世界,遵循混沌→萃取→脱胎的双态孵化模型。
这是什么
AgentForge 是一个 AI Agent 项目约定的开放标准制定与示范实现仓库。它的独特之处在于采用 双态架构:
混沌态 (Chaos) 脱胎态 (Rebirth)
apps/chaos/ 持续萃取 rebirth/
原始孵化器 ──────────▶ 社区标准
自由探索、试错 精炼、去个人化
哲学内核、实验代码 WorldSprout 开放协议
apps/chaos/— 一切未精炼的原始探索:哲学内核(Ψ=Ψ(Ψ)、道德经)、实验性代码、个人知识库、技能生态。信息在此自由生长。rebirth/— 从 chaos 持续萃取、去个人化后的精炼产出,以 git submodule 链接到 WorldSprout 组织,作为可独立发布的社区开放标准。
AGENTS.md 开放标准
AGENTS.md 是一个独立的社区开放标准——只需在项目根目录放一个 AGENTS.md 文件,AI 工具就能自动读取项目指令。OpenAI Codex、Google Jules、GitHub Copilot、Cursor 等 30+ 工具原生支持,零依赖。
AgentForge 在此基础上提供渐进可选扩展(.agents/ 目录、world.toml、SKILL.md、constraints.toml)。二者关系类比:AGENTS.md ≈ Markdown,AgentForge ≈ CommonMark + GFM 扩展。
详见根目录 AGENTS.md(本项目的 AI 智能体全局契约)。
快速开始
面向开发者
cd apps/chaos
# 安装依赖
uv sync --group dev --group docs
# 运行测试
uv run pytest
# 构建文档
mise run docs-html
面向 AI 协作者
直接读取根目录 AGENTS.md,它会按任务类型路由到正确的子项目规范。
面向 WorldSprout 贡献者
cd rebirth
# 拉取所有子模块最新代码
git submodule update --remote
# 进入参考实现独立开发
cd worldsprout
仓库结构
AgentForge/
├── AGENTS.md ← AI 智能体全局契约(最高优先级入口)
├── README.md ← 本文件:人类开发者入口
├── LICENSE ← Apache 2.0
│
├── apps/ ← 应用层
│ ├── .agents/ ← 仓库级 AI 配置骨架
│ └── chaos/ ← 混沌态:原始孵化器
│ ├── AGENTS.md ← chaos 子项目路由
│ ├── .agents/ ← 规则/技能/工作流/角色
│ ├── specs/ ← AgentForge Spec v0.2
│ └── src/taolib/ ← world CLI + 参考实现
│
├── doc/ ← 人类文档(tech/ + general/ 双轨)
├── .github/workflows/ ← CI/CD 流水线
│
└── rebirth/ ← 脱胎态:WorldSprout 标准(git submodule)
├── worldsprout/ → github.com/worldsprout/worldsprout
├── spec/ → github.com/worldsprout/spec
└── .github/ → github.com/worldsprout/.github
核心特性
- 三层分离架构 (AgentForge Spec v0.2):Layer 1 项目协议(零前提采用)→ Layer 2 协作协议(多智能体语义)→ Layer 3 世界运行时(示范实现)
- 哲学驱动工程:Ψ=Ψ(Ψ) 元公理 + 马王堆帛书《道德经》→ 极简设计原则 → 技术实施方案
- 约束即代码:
constraints.toml声明式协议 + CI 自动校验 - World CLI 工具链:
world init脚手架 /world guide诊断推荐 /world fragment打包分发 - GitHub App 令牌服务:自动化 Token 管理与事件处理
- 字体配置子系统:
taolib.fonts以“发现 → 注册 → 生效”三道闸门管理字体资源,matplotlib 为当前后端并按需延迟导入(可选依赖taolib[fonts]) - 双平台 CI:GitHub Actions + GitCode 流水线,Sphinx 文档零警告
技术栈
| 组件 | 技术 |
|---|---|
| 语言 | Python 3.13+ |
| 包管理 | uv |
| 构建 | scikit-build-core + setuptools-scm 动态版本 |
| Lint | ruff |
| 文档 | Sphinx |
| CI/CD | GitHub Actions + GitCode |
| 容器化 | Podman / Docker |
相关链接
- WorldSprout 组织 — 脱胎后的社区开放标准
- taolib PyPI — Python 参考实现包
- 文档 — 完整技术文档与哲学体系
- AGENTS.md 开放标准 — 社区驱动的 AI 指令标准
许可证
Apache License 2.0 © LICENSE
Metadata
Release files for taolib 0.7.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| taolib-0.7.4.tar.gz | 12.2 kB | Without provenance | Details for taolib-0.7.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| taolib-0.7.4-py3-none-any.whl | Python 3 | none | any | Details for taolib-0.7.4-py3-none-any.whl |
Total release size: 26.3 kB
Release files / taolib-0.7.4.tar.gz
| Download URL | taolib-0.7.4.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77399257438e7c58c01d051613b17a599a2eadda7e6f40e94882a8bac78fa4ff
|
|
BLAKE2b-256 checksum How to use checksums |
969176a65e216245432bff508b0a0d86e5a0d3c8204865989b3336663e98b76a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / taolib-0.7.4-py3-none-any.whl
| Download URL | taolib-0.7.4-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8dab1f9ce01a71e1cd3b704642915b89576448c95d02fa1cce4c931f6f226ee4
|
|
BLAKE2b-256 checksum How to use checksums |
d78898d59285462b360b91e48fc34a1a033efb08e632a9dc1cfef256e00ac54a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for taolib 0.7.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.