agentleFS
softkleenexsoftkleenex/open-primeagent/AGENTS.md

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.

  • In this repository3 other files it gives its agents.

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
  1. Distinctive:

    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.

    line 17
  2. Distinctive:

    Projection writes only inside the delimiter block: Not one character of the user's own CLAUDE.md may change.

    line 23
  3. Distinctive:

    Verify phase exit criteria by actually running them.

    line 30
  4. Distinctive:

    Do not skip phase order. L2 is meaningless without L1.

    line 32
  5. Very specific:

    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 …

    line 33

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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

  1. TODO.md — where things stand and what is next
  2. docs/architecture.md — why it is built this way
  3. docs/roadmap.md — the current phase's exit criteria
  4. CONTRIBUTING.md — the four rules that do not bend

Never break these

  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 whole thesis.
  3. Projection writes only inside the delimiter block. Not one character of the user's own CLAUDE.md may change. This promise is the project's premise.
  4. _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.md and record it where it belongs.
  • GitHub-facing content is written in English.

Where to look upstream

whatpath
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/

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.