Skip to main content

Cybertron · Thirteen Primes

Cybertron Agents — Multi-Agent Framework for Intelligent Tasks

Release CI Python License

十三位角色,一张可审计的任务图。

让 AI 协作从一句需求走到有边界的计划、真实工具回执、审查与可恢复的执行。

快速安装 · 工作方式 · 自然语言验收 · 文档目录


⚡ 60 秒安装

先安装 OpenCode 和 Python 3.9 或更高版本,并在 OpenCode 中配置可用模型。安装器默认预览,加入 --apply 写入全局 OpenCode 配置。各项目保留自己的运行账本和可选模型覆盖。

npm · 不需要全局 cybertron 命令

npx -y cybertron-agents@0.10.0 init --dry-run
npx -y cybertron-agents@0.10.0 init --apply
npx -y cybertron-agents@0.10.0 models setup
npx -y cybertron-agents@0.10.0 doctor --global

npx 只运行一次,不会留下全局 cybertron 命令;后续命令继续带 npx 即可。若希望直接使用 cybertron:

npm install -g cybertron-agents@0.10.0
cybertron --version

若报 zsh: command not found: cybertron,把 npm config get prefix 下的 bin 加入 PATH。

pipx · Python 隔离安装

pipx install cybertron-agents==0.10.0
pipx ensurepath
# 重新打开终端后继续
cybertron init --apply
cybertron models setup
cybertron doctor --global

pipx 默认把可执行文件放在 ~/.local/bin;不在 PATH 时先用 ~/.local/bin/cybertron 验证。

GitHub Release · 可先审阅安装脚本

curl -fsSL https://github.com/zhiwenC125/Cybertron-agents/releases/download/v0.10.0/install.sh -o install.sh
bash install.sh --dry-run
bash install.sh --apply

Shell 安装器不会修改 PATH。安装结束后使用打印出的启动器路径:

"${XDG_CONFIG_HOME:-$HOME/.config}/opencode/bin/cybertron" models setup
"${XDG_CONFIG_HOME:-$HOME/.config}/opencode/bin/cybertron" doctor --global

需要项目独立安装时可用 --project .。验证安装、核对下载摘要和升级步骤见安装指南。

启动第一项任务

重启 OpenCode,使用默认的 Prima,直接说出需求和验收条件。

修复登录接口的超时问题,补一个回归测试,跑过后把结果告诉我。

想先看方案时,用 Shift+Tab 选择 Thirteenth,确认方向后切回 Prima。在同一会话中,Prima 可以接续已提交的计划。自然语言验收用例

models setup 可配置十三角色的模型编队。OpenCode 负责提供方认证,模型配置只保存模型 ID。模型配置与排查


🧠 它如何工作

flowchart TD
    U[自然语言需求] --> P[默认由 Prima 接收]
    P --> T[Thirteenth 规划]
    U --> S[Shift+Tab 直接规划]
    S --> T
    T --> K[提交时校验范围、依赖和验收规则]
    K --> D[Prima 派发就绪任务]
    D --> V[回读产物或执行所需验证]
    V -->|验收通过| E[依据真实回执结算]
    V -->|证据推翻计划| T

有回归测试的明确单文件修复默认使用一个实现节点,内核运行固定检查并保存回执。跨模块风险按整个任务的实际改动计算,独立节点可以并行。检查失败时,依赖该检查的工作等待修复,其余节点可继续。项目内写入任务在 .cybertron/runs/<运行目录>/plan.md 显示计划、状态和回执位置。当前架构 · 试用用例

🪐 两个宿主

  • OpenCode V2:主集成路径。十三角色由 cybertron/registry.py 定义,配置由导出器生成;原生子代理卡片、权限、运行账本和工具回执共同构成执行证据。
  • DeepSeek Harness:随包分发的实验性 Cybertron preset。可用安装入口的 dsh path 找到 bundle(npm:npx -y cybertron-agents@0.10.0 dsh path;pipx:cybertron dsh path;Shell:"${XDG_CONFIG_HOME:-$HOME/.config}/opencode/bin/cybertron" dsh path);preset 名称为 Cybertron;目前是单一 prima persona 与 cy_* 工具,尚未提供与 OpenCode 相同的十三角色子会话写范围绑定。查看限制 →

🛡️ 安全边界

  • 测试、构建和静态检查使用绑定到任务的隔离检查,结果保留真实工具回执。
  • 真机上电、物理烧录和远程部署需明确目标、固件、擦写范围、回滚方案与人工审批;模拟审批不构成授权。
  • 飞书 Wiki 正文读写由 alpha-trion 通过受空间约束的网关执行,凭证仅从本机环境变量读取。配置指南 →

完整工程约束见 AGENTS.md。

🧪 从源码验证

python3 -m unittest discover -s tests -v
python3 -m cybertron.stage5_verify
python3 cybertron_primes_engine.py

阶段 5 隔离验证依赖 macOS 的 sandbox-exec。Node 插件测试、包校验与协作流程见贡献指南。

📚 文档


Plan with intent. Execute with boundaries. Verify with evidence.

MIT License · Cybertron v0.10.0

Metadata

Release files for cybertron-agents 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cybertron-agents 0.10.0
File Size Uploaded Provenance Actions
cybertron_agents-0.10.0.tar.gz 418.9 kB With provenance Details for cybertron_agents-0.10.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cybertron-agents 0.10.0
File Interpreter ABI Platform Actions
cybertron_agents-0.10.0-py3-none-any.whl Python 3 none any Details for cybertron_agents-0.10.0-py3-none-any.whl

Total release size: 835.0 kB

Release files / cybertron_agents-0.10.0.tar.gz

Download URL cybertron_agents-0.10.0.tar.gz
Size 418.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f08baca66de029f9a6e79c8e172dad418b1eb801f40fc2e9e2d3714dde66e9b1
BLAKE2b-256 checksum
How to use checksums
e1dc5a2bd4f074578ee222710773a5f345fc307fa5aaeb41fa05ae8fe315ebc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / cybertron_agents-0.10.0-py3-none-any.whl

Download URL cybertron_agents-0.10.0-py3-none-any.whl
Size 416.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af7c96d23c124652505cc833aaffa91acc21f247ea3ce27edcbff94159e8be69
BLAKE2b-256 checksum
How to use checksums
6700f242020fee5593882eb4550402466d3383b460e6d2e491f090e58c53b2db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for cybertron-agents 0.10.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cybertron_agents-0.10.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page