原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。使用 Google 登录即可撰写评价。原型 · 每 30 分钟更新
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚 登录

open-primeagent

作者:softkleenex版本 0.1.7i★ 1i在你的电脑上运行代码仓库 ↗

安装方法

能做什么

What one coding agent learns, written into AGENTS.md for Claude Code, Codex and opencode to read

作者提供的原文

  • 连接方式 在你的电脑上运行
  • 账号或密钥 无需密钥
  • 分类 开发者工具

可搭配使用

教 AI 做这类工作的 Skill,可与本项一起使用

rea

Reverse engineer anything with agents, from app behavior down to native binaries.

作者:morluto★ 478,4891 个 skill

Skill · 操作手册

andrej-karpathy-skills

A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.

作者:multica-ai★ 235,7181 个 skill

Skill · 操作手册未注明许可证

graphify

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

作者:Graphify-Labs★ 153,3911 个 skill

Skill · 操作手册

为什么排在这里

列表按使用分(满分 100)排序,由以下部分组成

热度4/80GitHub 星标或每周下载量:较大的计 60,较小的计 20
新鲜度12/1230 天内有发布或代码更新得满分
仍在响应0/8上次检查时云端端点有响应
使用分16/100

质量: 基础检查通过 3/3 项(仅展示,不用于排序) · 上升势头: 暂无数据 (只用于“上升中”标签)

安装

选择你使用的 AI 应用,然后复制设置。

用一句话让 AI 帮你安装

请帮我安装 open-primeagent。按照 https://mcp.popnx.com/i/softkleenex-open-primeagent.md 操作,先把命令给我看,等我同意后再运行。

粘贴到能在你电脑上工作的 AI(如 Claude Code、Cursor)。它会读取我们的步骤,先给你看命令,等你同意。无需密钥,无需注册。 · 查看 AI 会读取的全文

通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月26日

第一步:你用哪个 AI?

选择你用的应用,步骤会显示在下方。

可连接 Claude,但需要先准备

需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用

让 AI 帮你安装

把这段话复制到 Claude 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude 安装 MCP server open-primeagent,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "open-primeagent": { "command": "uvx", "args": [ "open-primeagent" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 open-primeagent 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 打开电脑版 Claude 应用的设置文件

    SettingsDeveloperEdit Config

  3. 粘贴这些设置并保存文件

    {
      "mcpServers": {
        "open-primeagent": {
          "command": "uvx",
          "args": [
            "open-primeagent"
          ]
        }
      }
    }
  4. 退出 Claude 再重新打开

  5. 试一试

    用 open-primeagent 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude 说正在使用 open-primeagent,或回答中出现 open-primeagent 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

ChatGPT 暂时无法连接 open-primeagent

open-primeagent 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器

你可以改用这些方式

A · 使用能连接 open-primeagent 的应用

  • 需要先在电脑上安装 Python (uv)(只需一次) · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
  • 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要先在电脑上安装 Python (uv)(只需一次)
  • 需要先在电脑上安装 Python (uv)(只需一次)

B · 开发者工具 类中能连接 ChatGPT 的其他服务器

从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的

可连接 Claude Code,但需要先准备

需要先在电脑上安装 Python (uv)(只需一次)

让 AI 帮你安装

把这段话复制到 Claude Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Claude Code 安装 MCP server open-primeagent,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):claude mcp add --scope user open-primeagent -- uvx open-primeagent 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 open-primeagent 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 打开终端

    Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell

  3. 粘贴这条命令并按 Enter

    claude mcp add --scope user open-primeagent -- uvx open-primeagent
  4. 在 Claude Code 中输入 /mcp

    应能看到 open-primeagent 在列表中并显示已连接

  5. 试一试

    用 open-primeagent 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Claude Code 说正在使用 open-primeagent,或回答中出现 open-primeagent 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同

可连接 Cursor,但需要先准备

需要先在电脑上安装 Python (uv)(只需一次)

让 AI 帮你安装

把这段话复制到 Cursor 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 Cursor 安装 MCP server open-primeagent,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "mcpServers": { "open-primeagent": { "command": "uvx", "args": [ "open-primeagent" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 open-primeagent 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 点击这个按钮打开 Cursor

    在 Cursor 中打开

    Cursor 会请你确认安装,点击 Install

  3. 在 Cursor 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 open-primeagent 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 Cursor 说正在使用 open-primeagent,或回答中出现 open-primeagent 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同

可连接 VS Code,但需要先准备

需要先在电脑上安装 Python (uv)(只需一次)

让 AI 帮你安装

把这段话复制到 VS Code 的对话里。AI 会先检查电脑,告诉你要改哪个文件,并且每次都等你同意。

请在这台电脑上为 VS Code 安装 MCP server open-primeagent,按顺序:1) 用 uv --version 检查是否有 uv。没有的话,请让我从 https://docs.astral.sh/uv/getting-started/installation/ 安装,不要自己安装。2) 只使用这份配置(已通过 PopNx MCP 检查):{ "servers": { "open-primeagent": { "type": "stdio", "command": "uvx", "args": [ "open-primeagent" ] } } } 3) 告诉我要修改的文件完整路径或要运行的命令,等我同意。4) 不需要密钥。5) 按约定执行,然后确认 open-primeagent 的工具真的出现了。

这段话不包含你的密钥。如果需要密钥,AI 会请你自己粘贴到文件或应用的输入框里。

  1. 安装 uv(如果还没有)

    已经装好了吗?先检查 · 打开终端,输入这条命令后按 Enter

    uv --version
    • 显示版本号(例如 uv …)= 已安装,可跳过这一步
    • 显示 "command not found"(Windows 显示 "is not recognized")= 还没安装,或刚装好但需要关掉终端再重新打开
    怎么打开终端

    Mac:按 ⌘ + Space,输入 Terminal 后按 Enter

    Windows:打开“开始”菜单,输入 Windows PowerShell,然后选“打开”

    还没安装: uv 没有点选式安装程序。从 uv 官方页面复制适合你系统(macOS 或 Windows)的一行命令,粘贴到终端 · 不需要单独安装 Python,uv 会在需要时自动下载

    打开 uv 下载页 ↗

    装好后关掉终端再打开,重新运行同一条命令,应显示版本号: uv --version

    安装一次,所有需要 uv 的工具都能用

  2. 点击这个按钮打开 VS Code

    在 VS Code 中打开

    VS Code 会请你确认安装,点击 Install

  3. 在 VS Code 中以 Agent 模式打开 AI 聊天

  4. 试一试

    用 open-primeagent 告诉我你能帮我做什么,然后做一件给我看

    ✓ 如果 VS Code 说正在使用 open-primeagent,或回答中出现 open-primeagent 的工具名称,就表示连接成功

菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同

其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看

查看所有支持 MCP 的应用 →

JSON 设置在下方“开发者专用”中

卡住了?问问正在用 open-primeagent 的人💬 讨论 →
开发者专用:终端命令和 JSON 设置

安装在电脑上

Claude Code

claude mcp add --scope user open-primeagent -- uvx open-primeagent

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "open-primeagent": {
      "command": "uvx",
      "args": [
        "open-primeagent"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "open-primeagent": {
      "command": "uvx",
      "args": [
        "open-primeagent"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "open-primeagent": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "open-primeagent"
      ]
    }
  }
}

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

一览

注册名称
io.github.softkleenex/open-primeagent
每周下载量i
18/周
许可证i
Apache-2.0
连接方式
在你的电脑上运行
最新版本i
0.1.7
发布到注册中心i
2026年11月26日
代码最后更新i
2026年11月25日
作者
softkleenex
软件包
pypi: open-primeagent
注册状态
活跃

哪些应用可以使用它

依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。

在你的电脑上运行,适用于

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

全部应用及其优缺点 →

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月26日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 softkleenex 验证,该账户拥有此仓库

  • ✓ 通过

    仍在维护

    代码最后更新于昨天

  • ✓ 通过

    有许可证

    使用 Apache-2.0

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

已公开的漏洞(OSV.dev)

尚未检查

我们检查什么 → · JSON

作者:申请重新检查或报告信息错误
给作者:在 README 中加徽章

如果你是作者,可把这段代码贴到 README。徽章会链接回本页。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/softkleenex-open-primeagent.svg)](https://mcp.popnx.com/en/servers/softkleenex-open-primeagent)

讨论

提问、分享技巧或报告无法使用。按“有帮助”数量排序。

还没有帖子,欢迎第一个提问或分享。

此处内容由用户撰写,不代表 PopNx 团队。

登录后发帖

用户评价

还没有评价

登录后写评价

与“开发者工具”中的其他服务器比较i

  • 星标数多于此分类中其他 8006 个服务器的 75%
  • 发布到注册中心的时间比此分类中其他 8006 个服务器的 99% 更新
  • 基础检查结果等于或优于此分类中其他 8006 个服务器的 99%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

open-primeagent 安全吗?

它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于昨天,最新版本(0.1.7)于今天进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。

有什么可以替代它?

同一分类中有:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise

功能相近的其他选择

同一分类、其他作者、命令已通过检查。官方的排在前面,再按星标排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

GitDiagram

Architecture diagrams, explanations and Mermaid source for public GitHub repositories.

作者:ahmedkhaleel2004广泛使用★ 1.9万2个月前更新

可立即连接(有 URL)3 个工具 · 轻✓ 服务方 · gitdiagram.comPopNx 团队已实际试用

Appllama

Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.

作者:Appllama广泛使用★ 56633个月前更新

可立即连接(有 URL) · 需登录✓ 服务方 · appllama.io

Omnara

Deploy durable AI agents with Omnara, an open-source managed-agent platform.

作者:omnara-ai广泛使用★ 34512个月前更新

可立即连接(有 URL) · 需登录✓ 服务方 · omnara.com

Repowise

Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.

作者:repowise-dev广泛使用↓ 6506/周★ 8275 整个仓库的星标4天前更新

可立即连接(有 URL) · 需登录✓ 服务方 · repowise.dev
与相似项目对比
本项
open-primeagent
GitDiagramAppllamaCloudflare MCPOmnaraRepowise
运行位置需要安装在电脑上在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装在云端运行,无需安装云端或安装在电脑上都可以
需要密钥否否否否否否
可在 Claude 中按 + 添加否否否是否否
基础检查3/34/44/44/44/45/5
许可证Apache-2.0MITMITApache-2.0Apache-2.0AGPL-3.0
价格登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用登记中未列出费用

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

open-primeagent

English · 한국어 · 简体中文 · 日本語

Claude Code spends half an hour learning your repo. Then a teammate opens it in Codex, and Codex knows none of it.

Each agent remembers on its own now, and keeps it to itself: Claude Code in ~/.claude, Codex in ~/.codex, on the machine that wrote it. open-primeagent writes what your agent learned into the repo's AGENTS.md and CLAUDE.md, inside one marked block, so it is committed with the code and read by Claude Code, Codex and opencode alike.

Replayed from measured data (Sonnet, n=6 per arm, means), not staged. On a rule that is easy to rediscover the gain is about half: 26%. bench/demo_portable.py renders it.

It is one MCP server, added to whichever of the three you run:

  • Rules that travel with the repo. In one session, Claude Code with open-primeagent found a repo's hidden rule and recorded it. A fresh clone carrying only the resulting AGENTS.md, opened by plain Claude Code with no open-primeagent at all, finished the same task with 51% fewer turns and 51% less time when the rule was hard to rediscover, and 26% fewer when it was easy. The block comes back out cleanly with opa_bootstrap(remove=True).
  • Sub-agents across agents. From Claude Code you can keep a Codex sub-agent and come back to it with a follow-up. Claude Code, Codex and opencode can each resume their own sub-agents now; none of them can reach the others'. (The Codex child was checked against the real CLI by hand; CI uses a stub.)
  • A Python process that stays alive between calls, for state you would rather not keep in the context window. We have not shown that this helps: in 120 turns of our benchmarks the agent never called it.
claude mcp add opa -- uvx open-primeagent

Codex and opencode: see Install below. Or, in Claude Code, as a plugin:

/plugin install open-primeagent --marketplace softkleenex/open-primeagent

The benchmarks we lost
experimentresult
a rule learned with open-primeagent, read from AGENTS.md by a fresh agent without it, when three decoys write plausible wrong output51% fewer turns, 51% less timewon
the same, when the rule is easy to rediscover26% fewer turns, 26% less timewon, modestly
the same, first version: the agent filed the rule as a memory, which other agents only see as a titlethe key fact reached the next agent in 4 of 6 runslost, fixed: 6 of 6
a recorded rule, when the knowledge was hidden among 16 decoy scripts (August)57% less wall clock, variance collapsedwon
the same rule, when the knowledge was one glance away26% more turnslost
re-task a warm sub-agent instead of starting a cold one81% less costwon, but the hosts now do this natively
fan out to 4 fresh sub-agents777% more costlost
fan out on a 444-file codebase built for fan-out to win127% more wall clocklost
persistent kernel attached for 120 turnscalled 0 timesno effect

The losses stay in. They are what makes the wins believable, and why each one lost is more useful than the number. Raw data and methodology.

We hold ourselves to the same rule. This README used to lead with sub-agents that survive the session. While comparing ourselves with the hosts, we found that Claude Code, Codex and opencode had all shipped that natively during 2026, so it is no longer the headline. It also used to promise that projection never changes a character outside its block; an outside review found inputs where it did, and the journal has the details. Every safety guard is now mutation-tested: we break it on purpose and check that a test fails.

Install · Why not just use Prime Agent · Is it really the same RLM? · Sub-agents · External memory · Harness · Benchmarks · Evolution · Security · Docs


layerwhat it addshow it is verified
L1 persistent Pythona kernel that outlives each call, output truncationa real IPython kernel, in CI
L2 sub-agentsspawn, resume, agent-to-agent messagesclaude-code: a real child agent, in CI. codex: by hand, once
L3 harnessprompts, memory, skills, sub-agent specs, projection into your filesin CI
L4 long-rungoal, schedule, autonomous loop behind a gate commandin CI
L5 evolutionrewriting its own tool description mid-session, harness.evolve()in CI

About codex: the adapter was checked against the real CLI by hand when it was written (43db9fd, a child resumed with its context intact). Since then only a stub CLI exercises it, because the codex login on this machine expired. If you run it against real codex, please tell us what breaks.

It reimplements the rlm protocol from Prime Intellect's Prime Agent: same request names, same field names, same state-file schema, pinned by a test. Phase exit criteria are in the roadmap.


Why it plugs into your agent instead of replacing it

Prime Agent is a whole coding agent: its own terminal UI, provider layer, login and daemon. To use its ideas you move into it. When this project started (upstream snapshot f8f0036, 2026-08-18) that agent was about 170k lines of TypeScript, and the rlm runtime the model actually talks to was 1,536 of them. Upstream has since been rewritten in Rust and keeps growing (v0.10.5, November 2026); the proportion is the point, not the exact count. The idea is small. The agent around it is big.

You already have an agent around it. Claude Code, Codex and opencode each bring sessions, auth, model choice, permissions, plugins and a UI you are used to. So open-primeagent builds only the small part, about 4,800 lines of Python (6,100 counting blank lines and comments), and leaves everything else to the agent you already run. Which also means the same harness serves all three.

Is it really the same RLM?

Fair question, and the kind that is usually answered with adjectives. Here it is answered by a CI test that reproduces upstream's own payload validator (rlm/__init__.py:181, which raises on a malformed record) and runs our wire payloads through it:

request names on the wirerlm.run · rlm.list_subagents · rlm.delete_subagent, identical (upstream kept rlm.run on the wire when it renamed the call)
the call a model makesrlm.spawn(prompt, name=..., model=..., cwd=...), upstream's v0.10 signature. rlm(...) and rlm.run(...) still work here
RLMSubagent / RLMSpawnHandle fieldsall upstream fields present
child status vocabularyevery status we emit is one upstream accepts; we read its newer cancelled
HarnessEntry13/13 fields, field for field
harness_state.jsonsame schema: 1, entries-by-kind + refinements

That test found two breaks in code that was already shipping and green: our delete_subagent was answering in a shape upstream cannot parse, and RLMSubagent was missing three upstream fields. Both fixed. Compatibility nobody tests is compatibility that is already broken.

The contract was transcribed from the August snapshot and re-checked against upstream v0.10.5 on 2026-11-25. That re-check found our test had pinned one handle field wrong and that upstream had renamed rlm.run to rlm.spawn; both are fixed. What upstream has added since and we do not have: factory workflows, the Decision API child, rlm.collect, an inbox API, persistent bash() shells and in-process children that start far cheaper than a CLI.

We diverge in three places: a socket instead of upstream's host channel, your claude/codex instead of an in-process child, and per-caller tokens instead of one trusted kernel. Each divergence and what it costs is written down in [docs/lineage.md](docs/lineage.md), along with the interop limit that matters in practice: upstream can *read* a state file we wrote, but if it writes it back, our rollback snapshots are dropped.

What this does not claim: we have never benchmarked against Prime Agent itself. Every number below compares *opa + Claude Code* against *bare Claude Code*. The protocol equivalence is tested; the performance comparison is open.

Persistent sub-agents actually work

Since autumn 2026 the hosts do this too. Claude Code resumes a finished

sub-agent with SendMessage, Codex has resume_agent / followup_task, and

opencode continues a child by sessionID. Use those within one agent. What

is still ours is reaching across them: a Codex child kept by a Claude Code

parent, under one registry that survives restarts. Our 81% measurement below

predates the native features and was not re-run against them.

The hard requirement is that a child is not disposable: you must be able to come back to it later and have it remember. Both CLIs already support that, and we verified it:

spawnresume
claude-p --session-id -- P-p --resume -- P
codexexec --json -- Pexec resume -- P

Here is a real run, copied from the integration test:

await rlm.spawn("Reply with exactly: ALPHA-7", name="probe", model="sonnet")

→ returns in 0.6s, child keeps working

await agent_message.inbox()

→ [{'sender': 'probe', 'message': 'ALPHA-7', 'ok': True, 'tokens': 11}]

---- now restart the parent kernel ----

await rlm.list_subagents()

→ [ ]

await agent_message.send( "What token did you just say? Reply with only the token.", receiver_name="probe" ) await agent_message.inbox()

→ ... {'sender': 'probe', 'message': 'ALPHA-7'}

the parent kernel restarted, and the child still remembered its earlier turn

rlm(...) does not block. It returns a handle as soon as the task is admitted; results arrive in a mailbox. So these two lines really do run in parallel:

api = await rlm.spawn("audit the API layer for security problems", name="api-reviewer")

test = await rlm.spawn("map the gaps in our test coverage", name="test-reviewer")

Mixe

只显示了开头部分;其余内容请在仓库中阅读