open-primeagent
AGENTS.md1 starsChanged 3 months agoApache-2.0View on GitHub
An MCP server that brings Prime Agent's RLM to the coding agent the user already runs, without replacing it. 1. Do not replace the host agent. If you feel the urge to build a TUI, a session UI, a provider layer or OAuth, that is out of scope. Delegate to the host. 2. Never exceed four MCP tools. New capability is exposed as a Python symbol inside the kernel. More tools would pollute the host's tool list and contradict the…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,266 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Do not replace the host agent: If you feel the urge to build a TUI, a session UI, a provider layer or OAuth, that is out of scope.
- Distinctive: line 23
Projection writes only inside the delimiter block: Not one character of the user's own CLAUDE.md may change.
- Distinctive: line 30
Verify phase exit criteria by actually running them.
- Distinctive: line 32
Do not skip phase order. L2 is meaningless without L1.
- Very specific: line 33
When you learn something new about a host CLI's real behavior, remove it from the investigation list in TODO.md and record it where it …
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Notes for agents working in this repository
What this project is, in one line
An MCP server that brings Prime Agent's RLM to the coding agent the user already runs, without replacing it.
Read first
TODO.md— where things stand and what is nextdocs/architecture.md— why it is built this waydocs/roadmap.md— the current phase's exit criteriaCONTRIBUTING.md— the four rules that do not bend
Never break these
- Do not replace the host agent. If you feel the urge to build a TUI, a session UI, a provider layer or OAuth, that is out of scope. Delegate to the host.
- Never exceed four MCP tools. New capability is exposed as a Python symbol inside the kernel. More tools would pollute the host's tool list and contradict the whole thesis.
- Projection writes only inside the delimiter block. Not one character of
the user's own
CLAUDE.mdmay change. This promise is the project's premise. _ref/is read-only reference. It is not committed and no code is copied from it. This is an independent reimplementation, not a fork.
How to work
- Verify phase exit criteria by actually running them. "It should work" does not count.
- Do not skip phase order. L2 is meaningless without L1.
- When you learn something new about a host CLI's real behavior, remove it from
the investigation list in
TODO.mdand record it where it belongs. - GitHub-facing content is written in English.
Where to look upstream
| what | path |
the whole rlm API surface (348 lines in this Aug 2026 snapshot; upstream v0.10.5 is 1,106 and renamed rlm.run to rlm.spawn) | _ref/prime-agent/prime-agent-runtime/src/rlm/__init__.py |
| harness store schema | _ref/prime-agent/prime-agent-runtime/src/rlm/harness.py |
| upstream's 13 skills | _ref/prime-agent/packages/coding-agent/skills/ |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

