open-primeagent
v0.1.7What one coding agent learns, written into AGENTS.md for Claude Code, Codex and opencode to read
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
opa_python
Execute Python in a persistent IPython kernel. State (variables, imports, functions) survives across calls and across your own context compaction. Preloaded symbols — use these instead of asking for more tools: rlm.spawn(prompt, name=...) spawn a persistent sub-agent session rlm.list_subagents() recover sub-agents created earlier rlm.delete_subagent(name) remove one agent_message.send(...) re-task an existing sub-agent (keeps its context) harness.* prompts / memory / skills / subagent specs goal.*…
| Parameter | Type | Description |
|---|---|---|
code * | string | |
timeout | number |
opa_status
One-page state of the open-primeagent session, starting with "attention": what is waiting for you and what looks worth promoting to the harness, so you do not have to know which question to ask. Then the details: the running server's own version and start time, kernel liveness, persistent sub-agents (name / adapter / status / turns / tokens), active goal and budget, scheduled prompts, harness entry counts, and unread mailbox messages. `reuse` estimates what re-tasking sub-agents saved. When it has a `receipt`, show that line to the user as is; `card` is an SVG of it and `share_url` a pre-fil…
opa_kernel
Control the persistent kernel: "restart" (clears Python variables; sub-agents, harness and goal survive), "interrupt" (stop a hung cell), "info".
| Parameter | Type | Description |
|---|---|---|
action | string |
opa_bootstrap
Project the continual harness (prompt notes, memory index, skills) into the files this coding agent already reads: CLAUDE.md / AGENTS.md and .claude/skills. Writes ONLY inside a delimited `<!-- opa:begin -->` block; everything outside it is preserved byte-for-byte. agent="auto" targets the prompt files that already exist. Pass remove=true to restore every touched file to its original state. Call this after changing harness entries so the next session starts with them. The block is the part other agents and teammates get: rules (`prompt` entries) are written out; memory entries appear as a t…
| Parameter | Type | Description |
|---|---|---|
agent | string | |
remove | boolean |