Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

open-primeagent

by softkleenexversion 0.1.7i★ 1iRuns on your computerRepository ↗

How to install

What it does

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

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Developer tools

Use together with

Skills that teach the AI this kind of work; they work alongside this one

rea

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

by morluto★ 478,4891 skills

Skill · How-to guide

andrej-karpathy-skills

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

by multica-ai★ 235,7181 skills

Skill · How-to guideNo license stated

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.

by Graphify-Labs★ 153,3911 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity4/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score16/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install open-primeagent. Follow https://mcp.popnx.com/i/softkleenex-open-primeagent.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 26, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server open-primeagent for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "open-primeagent": { "command": "uvx", "args": [ "open-primeagent" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the open-primeagent tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "open-primeagent": {
          "command": "uvx",
          "args": [
            "open-primeagent"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use open-primeagent and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using open-primeagent or shows a open-primeagent tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect open-primeagent yet

open-primeagent runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect open-primeagent

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)

B · Others in Developer tools that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server open-primeagent for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user open-primeagent -- uvx open-primeagent 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the open-primeagent tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user open-primeagent -- uvx open-primeagent
  4. Type /mcp in Claude Code

    You should see open-primeagent listed as connected

  5. Try it

    Use open-primeagent and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using open-primeagent or shows a open-primeagent tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server open-primeagent for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "open-primeagent": { "command": "uvx", "args": [ "open-primeagent" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the open-primeagent tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use open-primeagent and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using open-primeagent or shows a open-primeagent tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server open-primeagent for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "open-primeagent": { "type": "stdio", "command": "uvx", "args": [ "open-primeagent" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the open-primeagent tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use open-primeagent and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using open-primeagent or shows a open-primeagent tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use open-primeagent💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

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"
      ]
    }
  }
}

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Registry name
io.github.softkleenex/open-primeagent
Downloads per weeki
18/wk
Licencei
Apache-2.0
Connection
Runs on your computer
Latest versioni
0.1.7
Published to registryi
Nov 26, 2026
Code last changedi
Nov 25, 2026
Maker
softkleenex
Packages
pypi: open-primeagent
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

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

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 26, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account softkleenex, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✓ Pass

    Has a licence

    Uses Apache-2.0

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

Not checked yet

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

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

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Developer toolsi

  • More stars than 75% of the other 8006 servers in this category
  • Published to the registry more recently than 99% of the other 8006 servers in this category
  • Basic checks equal to or better than 99% of the other 8006 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is open-primeagent safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (0.1.7) reached the registry today.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: GitDiagram, Appllama, Cloudflare MCP, Omnara, Repowise

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

GitDiagram

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

by ahmedkhaleel2004Widely used★ 19.1KUpdated 2 months ago

Connect now (has URL)3 tools · light✓ service owner · gitdiagram.comTried by the PopNx team

Appllama

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

by AppllamaWidely used★ 5.7KUpdated 3 months ago

Connect now (has URL) · sign-in✓ service owner · appllama.io

Cloudflare MCP

Cloudflare MCP servers

by cloudflareGrowing★ 4.5KUpdated 14 months ago

Connect now (has URL)2 tools · light✓ service owner · mcp.cloudflare.comTried by the PopNx team

Omnara

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

by omnara-aiWidely used★ 3.5KUpdated 2 months ago

Connect now (has URL) · sign-in✓ service owner · omnara.com

Repowise

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

by repowise-devWidely used↓ 6.5K/wk★ 8.3K Stars for the whole repoUpdated 4 days ago

Connect now (has URL) · sign-in✓ service owner · repowise.dev
Compared with similar ones
This one
open-primeagent
GitDiagramAppllamaCloudflare MCPOmnaraRepowise
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installCloud or install on your computer
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoNoNoYesNoNo
Basic checks3/34/44/44/44/45/5
LicenseApache-2.0MITMITApache-2.0Apache-2.0AGPL-3.0
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

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

Only the beginning is shown; read the rest in the repo