protocol agentproto.shcli cli.agentproto.shpanel /panel
agentproto

Agent Protocol

Open numbered standards for the AI-agent ecosystem. Filesystem-first; markdown is the program. Specifications for what agents are, what they remember, what they do, and what they're allowed to do — composable across runtimes.

Agent Protocol

AIPs (Agentproto Improvement Proposals) are the numbered specifications that make up Agent Protocol — open standards for the AI-agent ecosystem. They specify portable file formats and runtime contracts for the layer where context lives, roles are defined, and memory is structured — the layer between transport (MCP) and frameworks (LangChain, Mastra, Claude Code, …).

The project is agentproto (the slug used everywhere — repo, npm scope @agentproto/*, domain agentproto.sh). Agent Protocol is its human-readable name. AIP follows the convention BIP, EIP, and PEP set: the project's first letter, then Improvement Proposal.

Text is the new code

Build a serious agent system and you'll hit the same wall everyone hits. You give an agent context, a role, a set of instructions. It works. You try to take what you've learned — not the prompt, the actual understanding — to a different project, a different runtime, a different team. You start over.

Not because the agent is dumb. Because there's no shared format for telling it what it already knows how to do.

Code freezes intent at compile time. Text re-interprets it on every run. A LESSON.md that says "when a client hesitates on price, validate the problem before defending value" works for a SaaS sales agent, a support agent, and a negotiation agent — same file, zero adaptation. Rules written as code stay coupled to the runtime that compiled them. Rules written as markdown for an agent to read are intrinsically cross-context.

The primitives an agent runs on — its operator profile, its accumulated lessons, its governance policy, its work backlog — are already generalisable by nature. What's missing isn't capability. It's a shared format that lets these files travel between systems. Without that, the generalisation stays trapped in whichever stack happened to author it.

AIPs are that format.

What this is not

Not an MCP replacement. MCP solves tool transport — how an agent calls an external tool. AIPs specify the agent's own structure: who it is, what it remembers, what it's allowed to do. The two compose; they don't overlap.

Not an A2A replacement. A2A solves agent-to-agent communication. AIPs specify how each agent understands itself and its context before it talks to anyone.

Not a runtime replacement. Claude Code, Cursor, Mastra, Guilde — these continue to be the runtimes. AIPs define the formats those runtimes can implement to become interoperable.

The layer AIPs occupy is the one currently empty: above transport, below frameworks. The layer where context lives.

The layered model

Each AIP defines a single piece of the stack — a file format, a runtime contract, a composition primitive. They reference each other (AIP-9 requires 3, 6, 7), build on each other, and graduate through a clear lifecycle: Draft → Review → Final → Superseded.

Below, the registry organised as 8 semantic layers. Each section opens with the question that layer answers, then lists the AIPs that live there with their status and dependencies.

Process — How does the standard itself evolve?

How AIPs are proposed, reviewed, and graduated. Read these first if you want to contribute a spec.

#TitleStatusRequires
AIP-1Purpose & ProcessFinal—
AIP-2AIP TemplateFinal—
AIP-40EXTENSION.md — agentextension/v1 (custom doctype declarations)Review—

Primitives — What building blocks does everything else compose with?

Small, reusable pieces. Every other layer references at least one of these — collections, refs, IO blocks, secrets, process boundaries.

#TitleStatusRequires
AIP-16IO.md — shared input/output schema blocksReview—
AIP-17RUNNER.md — shared process boundary blockReview—
AIP-18COLLECTION.md — collections/v1 (typed collections + items)Review—
AIP-19SECRETS.md — secret inventory + reveal contractReview—
AIP-35STORAGE.md — agentstorage/v1 (storage policy block)Review—
AIP-36SANDBOX.md — agentsandbox/v1 (compute environment policy block)Review—
AIP-37LIFECYCLE.md — agentlifecycle/v1 (event vocabulary)Review—
AIP-38POLICY.md — agentpolicy/v1 (composable policy block)Review—
AIP-39ACTION.md — agentaction/v1 (verb primitive)Review—
AIP-41ROUTINE.md — agentroutine/v1 (recurring schedule + target)Review—
AIP-43REGISTRY — agentregistry/v1 (handle catalog primitive)Review—
AIP-49WALLET — agentwallet/v1 (principal-owned multi-asset wallet)Review—
AIP-51PROCESSOR — agentprocessor/v1 (I/O transform primitive)Review—
AIP-54REF — ref/v1 (typed cross-AIP artifact reference)Review—
AIP-55PRODUCT — product/v1 (pricing capability attached via AIP-54 ref)Review—
AIP-56DOCTYPE — the `createDoctype` meta-factory for `defineX` constructorsReview—
AIP-57MODEL-ROUTING — modelrouting/v1 (model resolution primitive)Review—
AIP-58RUN — agentrun/v1 (run resource, state machine, workspace, event log, journal)Review—
AIP-62REVIEW.md: agentreview/v1 (attested verdicts over a content range)Review—
AIP-61INFERENCE — inference-endpoint/v1 (spawnable model-serving resource, provider interface, session binding, local-only privacy)Draft—
AIP-64PACK.md, pack/v1 (the installable capability bundle: plugin, apps, knowledge, playbook, pricing)Draft—
AIP-27REF.md — agentref/v1 (composable reference primitive)Superseded—

Identity — Who acts?

How an agent describes itself: its profile, capabilities, persona. The shell that the rest of the layers attach to.

#TitleStatusRequires
AIP-9OPERATOR.md — agentoperators/v1 (operator runtime protocol)Review—
AIP-23IDENTITY.md — agentidentity/v1 (layered identity workspace on AIP-18 collections)Review—
AIP-25PERSONA.md — agentpersona/v1 (face / character / voice carrier)Review—
AIP-42AGENT.md — agentagent/v1 (base runnable agent primitive)Review—
AIP-59MOBILE PAIRING — browser clients over an E2E rendezvousReview—

Memory — What does the agent remember between runs?

Knowledge an agent maintains, lessons it distils from experience, prompt overlays it carries forward. Memory turns one-shot agents into ones that compound.

#TitleStatusRequires
AIP-10KNOWLEDGE.md — agentknowledge/v1 (LLM-maintained wiki)Review—
AIP-11LESSON.md — agentlearning/v1 (distilled lessons from experience)Review—
AIP-12PLAYBOOK.md — agentplaybooks/v1 (evolving prompt overlays)Review—

Work, Org & Governance — What gets done, where, and under what rules?

Companies, agencies, work items, offices, assemblies — and the governance layer that records approvals and audit trails. The coordination substrate.

#TitleStatusRequires
AIP-6COMPANY.md — agentcompanies/v1 (company, role & objective primitives)Final—
AIP-7GOVERNANCE.md — agentgovernance/v1 (audit, approval & policy primitives)Review—
AIP-20WORK.md — agentwork/v2 (typed coordination workspace on AIP-18 collections)Review—
AIP-21AGENCY.md — agentagencies/v2 (commercial agency workspace on AIP-18 collections)Review—
AIP-22OFFICE.md — agentoffice/v1 (operating workspace for org-level coordination)Review—
AIP-24ASSEMBLY.md — agentassembly/v1 (multi-agent collective workspace — council, voting, peer, hierarchy)Review—
AIP-47ROLE.md — agentrole/v1 (organizational role manifest)Review—
AIP-48MULTI_AGENT_RUNTIME — agentruntimes/v1 (composable multi-agent execution kernel)Review—
AIP-8AGENCY.md — agentagencies/v1 (autonomous agency engine)Superseded—
AIP-13WORK.md — agentwork/v1 (projects, initiatives, tasks)Superseded—

Capabilities — What can the agent do?

Skills, tools, workflows, intents — the declared surface of what an agent or its tools expose. Intent vs implementation: capabilities declare intent.

#TitleStatusRequires
AIP-3SKILL.md — skill manifest formatFinal—
AIP-14TOOL.md — agenttool/v1 (abstract agent contract)Review—
AIP-15WORKFLOW.md — agentworkflow/v1 (abstract orchestration manifest)Review—
AIP-28INTENT.md — agentintent/v1 (user-facing operation manifest)Review—
AIP-50AUTH.md — agentauth/v1 (agentic server authentication manifest)Review—

Drivers — How are capabilities actually implemented?

The DRIVER supertype and its concrete subtypes (CLI, HTTP, MCP, SDK). One tool, many drivers; the routing layer that connects intent to execution.

#TitleStatusRequires
AIP-29CLI.md — agentcli/v1 (CLI integration manifest)Review—
AIP-30DRIVER.md — agentdriver/v1 (abstract driver supertype)Review—
AIP-31HTTP.md — agenthttp/v1 (HTTP driver specialisation)Review—
AIP-32MCP.md — agentmcp/v1 (MCP driver specialisation)Review—
AIP-33SDK.md — agentsdk/v1 (in-process SDK driver specialisation)Review—
AIP-44ACP.md — agentacp/v1 (Agent Client Protocol profile)Review—
AIP-45AGENT-CLI.md — agentcli-interactive/v1 (interactive agent CLI manifest)Review—
AIP-46AGENT-SESSIONS — agent-session-lifecycle/v1 (long-running multi-turn agent orchestration)Review—
AIP-52ADAPTER — agentadapter/v1 (outward framework bridge)Review—
AIP-60SENTINEL: watch and notify (subjects, events, providers, and the inbox delivery contract)Draft—
AIP-63BROWSER.md, agentbrowser/v1 (browser provider manifest, instance lifecycle, profile consent)Draft—

Surfaces — What does the agent produce or read?

Visual and code surfaces: design tokens, canvas templates, code workspaces. The artifacts agents author or consume on the human-facing edge.

#TitleStatusRequires
AIP-4DESIGN.md — design token format & registry conventionsFinal—
AIP-26CODE.md — code-workspace + sources compositionReview—
AIP-34WORKSPACE.md — agentworkspace/v1 (workspace identity manifest)Review—
AIP-53APP.md — app/v1 (agent app bundle + UI surface)Review—
AIP-5CANVAKIT.md — template + data-source bindingDraft—

Run it

This registry is specifications; the reference implementation lives in a separate repo and ships as an installable CLI + daemon — @agentproto/cli. It installs coding-CLI adapters, exposes itself as an MCP server to Claude Code / Codex / Hermes, and orchestrates multi-agent swarms through the runtime kernel. Operational docs — install, verbs, guides — live at cli.agentproto.sh/docs/getting-started, not here.

How standards evolve here

The model is the same one that built the internet and most working crypto stacks:

  • BIPs — Bitcoin Improvement Proposals
  • EIPs — Ethereum Improvement Proposals
  • RFCs — Internet Engineering Task Force standards
  • PEPs — Python Enhancement Proposals

The process is in AIP-1. Every new AIP starts from the template in AIP-2. Specs land via PR; merged drafts become the registry's canonical home; promotion to Review and Final follows the lifecycle in AIP-1.

This is not a foundation, a community, or a vendor catalog — it's a process. Like every numbered-proposal system before it.

Submit an AIP

  1. Read AIP-1 for the full process.
  2. Copy AIP-2 as your starting template — it ships the seven required sections (Abstract, Motivation, Specification, Rationale, Reference Implementation, Backwards Compatibility, Security Considerations).
  3. Open a PR against github.com/agentproto/agentproto with the new file at specs/aip-XXXX.mdx and layer: set in the frontmatter so it lands in the right registry section.

AIPs aren't built in isolation. The Related Standards & Initiatives page lists the peer specifications (MCP, A2A, AGNTCY, AITP, Anthropic Skills, OTel GenAI, W3C VCs, OpenAPI, DTCG, Olas, Fetch.ai, …) that AIPs defer to, build on, or run adjacent to.