できること
What one coding agent learns, written into AGENTS.md for Claude Code, Codex and opencode to read
作者による原文
- 接続方法 パソコンで動く
- アカウントまたはキー キー不要
- カテゴリ 開発者ツール
一緒に使える
この種の作業を AI に教える Skill。これと一緒に使えます
andrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
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.
この順位の理由
一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり
| 人気 | 4/80 | GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます |
|---|---|---|
| 新しさ | 12/12 | 30 日以内のリリースかコード更新で満点 |
| 応答中 | 0/8 | 前回の確認でクラウドのエンドポイントが応答 |
| 利用スコア | 16/100 |
品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: データなし (「急上昇」タブでのみ使用)
インストール
使っているAIアプリを選んで、設定をコピーしてください。
ひとことで AI にインストールしてもらう
open-primeagent をインストールして。https://mcp.popnx.com/i/softkleenex-open-primeagent.md に従い、コマンドを見せて、私が OK するまで実行しないで。パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月25日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
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 がファイルやアプリの入力欄にご自身で貼るよう案内します。
uv を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
uv --version- バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
uv --version一度入れれば、uv を使うすべてのツールで使えます
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "open-primeagent": { "command": "uvx", "args": [ "open-primeagent" ] } } }Claude を終了してもう一度開く
試してみる
open-primeagent を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が open-primeagent を使っていると言うか、回答に open-primeagent のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ open-primeagent につなげません
open-primeagent はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · open-primeagent につなげるアプリを使う
- 先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- 先にパソコンへ Python (uv) を入れてください(1 回だけ)
- 先にパソコンへ Python (uv) を入れてください(1 回だけ)
- 先にパソコンへ Python (uv) を入れてください(1 回だけ)
B · 開発者ツール の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Sentry✓ ChatGPT
- Compiler Explorer✓ ChatGPT
- GitDiagram✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ)
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 がファイルやアプリの入力欄にご自身で貼るよう案内します。
uv を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
uv --version- バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
uv --version一度入れれば、uv を使うすべてのツールで使えます
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user open-primeagent -- uvx open-primeagentClaude Code で /mcp と入力
open-primeagent が一覧にあり、接続済みと表示されれば OK です
試してみる
open-primeagent を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が open-primeagent を使っていると言うか、回答に open-primeagent のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ)
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 がファイルやアプリの入力欄にご自身で貼るよう案内します。
uv を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
uv --version- バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
uv --version一度入れれば、uv を使うすべてのツールで使えます
Cursor の AI チャットを Agent モードで開く
試してみる
open-primeagent を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が open-primeagent を使っていると言うか、回答に open-primeagent のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
先にパソコンへ Python (uv) を入れてください(1 回だけ)
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 がファイルやアプリの入力欄にご自身で貼るよう案内します。
uv を入れる(まだなければ)
もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter
uv --version- バージョン番号(例 uv …)が出る = 入っています。この手順は飛ばせます
- "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
ターミナルの開き方
Mac:⌘ + Space を押し、Terminal と入力して Enter
Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」
まだ入っていない場合: uv にはクリック式のインストーラーがありません。uv 公式ページからお使いの OS(macOS か Windows)用の 1 行コマンドをコピーしてターミナルに貼り付けます · Python を別に入れる必要はなく、必要なときに uv が自動で取得します
入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です:
uv --version一度入れれば、uv を使うすべてのツールで使えます
VS Code の AI チャットを Agent モードで開く
試してみる
open-primeagent を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が open-primeagent を使っていると言うか、回答に open-primeagent のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user open-primeagent -- uvx open-primeagentClaude 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に従ってください。
ひと目でわかる
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。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)
OSV.dev に open-primeagent@0.1.6 の登録はありません
このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月25日
作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける
作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。
[](https://mcp.popnx.com/en/servers/softkleenex-open-primeagent)話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
開発者ツールのほかのサーバーとの比較i
- このカテゴリのほかの7984件のうち75%よりスターが多い
- このカテゴリのほかの7984件のうち98%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの7984件のうち99%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
open-primeagentは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は昨日、最新バージョン(0.1.6)がレジストリに届いたのは昨日です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
代わりに使えるものは?
同じカテゴリには:GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise
似た働きのほかの候補
同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
GitDiagram
Architecture diagrams, explanations and Mermaid source for public GitHub repositories.
Appllama
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
Cloudflare MCP
Cloudflare MCP servers
Omnara
Deploy durable AI agents with Omnara, an open-source managed-agent platform.
Repowise
Codebase intelligence for AI coding agents: graph, git history, docs, decisions, code health.
| これ open-primeagent | GitDiagram | Appllama | Cloudflare MCP | Omnara | Repowise | |
|---|---|---|---|---|---|---|
| 動く場所 | パソコンにインストールが必要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドで動き、インストール不要 | クラウドでもパソコンにインストールでも使える |
| キーが必要 | いいえ | いいえ | いいえ | いいえ | いいえ | いいえ |
| Claude で + から追加 | いいえ | いいえ | いいえ | はい | いいえ | いいえ |
| 基本チェック | 3/3 | 4/4 | 4/4 | 4/4 | 4/4 | 5/5 |
| ライセンス | Apache-2.0 | MIT | MIT | Apache-2.0 | Apache-2.0 | AGPL-3.0 |
| 料金 | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし | 登録情報に費用の記載なし |
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
open-primeagent
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 withopa_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
| experiment | result | |
|---|---|---|
a rule learned with open-primeagent, read from AGENTS.md by a fresh agent without it, when three decoys write plausible wrong output | 51% fewer turns, 51% less time | won |
| the same, when the rule is easy to rediscover | 26% fewer turns, 26% less time | won, modestly |
| the same, first version: the agent filed the rule as a memory, which other agents only see as a title | the key fact reached the next agent in 4 of 6 runs | lost, fixed: 6 of 6 |
| a recorded rule, when the knowledge was hidden among 16 decoy scripts (August) | 57% less wall clock, variance collapsed | won |
| the same rule, when the knowledge was one glance away | 26% more turns | lost |
| re-task a warm sub-agent instead of starting a cold one | 81% less cost | won, but the hosts now do this natively |
| fan out to 4 fresh sub-agents | 777% more cost | lost |
| fan out on a 444-file codebase built for fan-out to win | 127% more wall clock | lost |
| persistent kernel attached for 120 turns | called 0 times | no 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
| layer | what it adds | how it is verified |
|---|---|---|
| L1 persistent Python | a kernel that outlives each call, output truncation | a real IPython kernel, in CI |
| L2 sub-agents | spawn, resume, agent-to-agent messages | claude-code: a real child agent, in CI. codex: by hand, once |
| L3 harness | prompts, memory, skills, sub-agent specs, projection into your files | in CI |
| L4 long-run | goal, schedule, autonomous loop behind a gate command | in CI |
| L5 evolution | rewriting 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 wire | rlm.run · rlm.list_subagents · rlm.delete_subagent, identical (upstream kept rlm.run on the wire when it renamed the call) |
| the call a model makes | rlm.spawn(prompt, name=..., model=..., cwd=...), upstream's v0.10 signature. rlm(...) and rlm.run(...) still work here |
RLMSubagent / RLMSpawnHandle fields | all upstream fields present |
| child status vocabulary | every status we emit is one upstream accepts; we read its newer cancelled |
HarnessEntry | 13/13 fields, field for field |
harness_state.json | same 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 hasresume_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:
| spawn | resume | |
|---|---|---|
claude | -p --session-id -- P | -p --resume -- P |
codex | exec --json -- P | exec 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