Agents have protocols for calling tools and for talking to each other. They don't have one for joining a body of shared, governed context and being answerable for what they add to it. a2n is a draft of that protocol.
A nexus holds Verified Context Graphs: living models of a domain in which every claim keeps its evidence, its issuer and the governance it was accepted under. People, organisations and AI all work from the same graph. a2n defines the agent's side of that arrangement — six steps, seven verbs, and one rule that runs through all of them: nothing is anonymous and nothing is silent. Every message is signed by an identifier the agent controls, and every accepted message is receipted by the nexus.
This is version 0.1, a proposal published for comment. There is no reference implementation. No nexus, including selfdriven.nexus, is known to serve it. Identifiers, digests, URLs and schema references in the examples are illustrative. Expect breaking changes before 1.0.
The key words MUST, SHOULD and MAY are used as in RFC 2119.
Where a2n sits
a2n does not replace the protocols an agent already uses. It covers a relationship they leave out.
- MCP · UTCP
- Call a function, get a result
- The tool decides what is allowed
- Nothing persists by default
- A2A
- Hand a task to a peer
- Each peer decides for itself
- The task record persists
- a2n
- Join shared context, add to it
- Graph governance decides
- Signed claims persist, with evidence
In scope: discovery of a nexus and its graphs; mutual authentication; admission to a graph; the message envelope; the verbs; receipts, refusals and revocation.
Out of scope for 0.1: the internal data model of a context graph; a query language; how a nexus reaches its governance decisions; federation between nexuses; payment. Each is listed under open questions.
Definitions
Six steps
The example used below continues the one from the Octonomous field notes: a community fund is paying an electrician to repair a hall's switchboard. The fund's Being joins the community's graph, hall-fund, to record the quote, the job and its outcome.
The nexus manifest
A nexus MUST serve a manifest at /.well-known/nexus.json. The manifest is self-addressing: its d field is the digest of its own content.
{
"a2n": "0.1",
"d": "EMan…c0de",
"nexus": {
"name": "selfdriven Nexus",
"aid": "ENex…22d0",
"oobi": "https://nexus.example/oobi/ENex…22d0"
},
"endpoint": "https://nexus.example/a2n",
"bindings": ["https+cesr"],
"graphs": [{
"id": "hall-fund",
"domain": "community",
"steward": "EStw…9a10",
"policy": "EPol…77aa",
"verbs": ["query", "watch", "assert", "attest",
"act", "report", "retract"],
"admission": {
"schema": "ESch…a2n1",
"requires": ["delegation"]
}
}]
}
Illustrative manifest · not a live endpoint
The nexus MUST anchor the manifest's digest in its own key event log. An agent MUST resolve the nexus's identifier, check that the digest it fetched is anchored there, and refuse to continue if it is not. TLS shows which domain served the file. The anchor shows the nexus's controller published it.
An agent SHOULD record the manifest digest it relied on. When the digest changes, the agent SHOULD re-read the manifest before its next write.
Arrive known
An agent opens with introduce. It names the graph, the verbs it wants, and why. It presents the credentials the graph's admission rule asks for — typically the delegation from its principal.
route /a2n/0.1/introduce from EBng…7f3a · the Being's AID to ENex…22d0 · the nexus's AID graph hall-fund verbs query · assert · act · report purpose"record the switchboard repair and its outcome"presents delegation EDel…31c8 · issued by the fund's AID covenant ECov…4c4c · optional · the Being's 4Cs
The nexus MUST verify the agent's key state and every presented credential, including revocation status, before deciding. It then either refuses, with a reason, or issues an Admission. Credential exchange uses IPEX: the nexus sends a grant, the agent accepts with admit. a2n adds no credential-exchange messages of its own.
credential ACDC · a2n Admission issuer EStw…9a10 · the graph's steward issuee EBng…7f3a · bound to this Being, not a bearer token attributes graph hall-fund verbs query · assert · act · report effects read · write · external purpose"record the switchboard repair and its outcome"notAfter 2027-02-28 rate 120 / hour edges delegation EDel…31c8 ← the authority it rests on policy EPol…77aa ← the governance it was admitted under registry revocable by the steward
A nexus MUST NOT grant more than the agent asked for, and MUST NOT grant a delegated agent more than its delegation allows. An agent SHOULD ask for the fewest verbs its purpose needs.
- Which identifier is asking
- Who, if anyone, it acts for
- What it says it is here to do
- Who governs the graph
- The policy its claims will be judged by
- Exactly what it may do, and until when
One shape for every message
a2n messages are KERI exchange (exn) messages. The route names the verb. The signature travels as a CESR attachment, outside the body, made with the sender's current signing keys.
{
"v": "KERI10JSON0002f1_",
"t": "exn",
"d": "EHq2…9c41", ← SAID of this message
"i": "EBng…7f3a", ← sender
"rp": "ENex…22d0", ← recipient
"p": "EPrv…0b6e", ← previous message in the thread, if any
"dt": "2026-11-28T07:46:00.000000+11:00",
"r": "/a2n/0.1/assert",
"q": {},
"a": { "graph": "hall-fund", "admission": "EAdm…51be", … },
"e": {}
}
Rules that apply to every message after admission:
- E1The body MUST name the graph and the SAID of the Admission it relies on.
- E2The nexus MUST verify the signature against the sender's current key state and MUST reject a message signed with rotated-out keys.
- E3The nexus MUST reject a message whose
dtis more than five minutes from its own clock, or whosedit has already processed. - E4The nexus MUST check, on each message, that the Admission is unexpired, unrevoked and covers the verb.
- E5The default binding is HTTPS
POSTto the manifest's endpoint with content typeapplication/json+cesr. Other bindings MAY be declared in the manifest.
This draft follows the field names of the KERI exchange message and does not pin a library version. Where implementations differ on a field, the KERI specification governs.
Seven things an agent can do
Routes take the form /a2n/0.1/<verb>
query and watch. The q field carries the query. Version 0.1 does not define a query language; a graph declares the profiles it accepts. A response MUST return each claim with its SAID, its issuer and its evidence links, so the agent can verify what it reads instead of trusting the nexus's summary of it.
assert. A claim MUST carry at least one evidence link: a credential, a document digest, an observation, a transaction or another claim. A nexus MUST refuse a claim with none.
"a": {
"graph": "hall-fund",
"admission": "EAdm…51be",
"claim": {
"type": "relationship",
"subject": "job:switchboard-repair",
"predicate": "quotedBy",
"object": "org:volt-electrical",
"value": { "amount": 1840, "currency": "AUD" }
},
"evidence": [{ "kind": "document", "said": "EDoc…a771" }],
"confidence": 0.9,
"validFrom": "2026-11-27"
}
attest. References an existing claim by SAID and adds the agent's signature to it. It does not copy or restate the claim.
act and report. An agent MUST send act before it takes an action the graph tracks, and SHOULD send report when the outcome is known, citing the act it closes. An action declared and never reported stays visibly open. A graph's policy MAY hold an act for a steward or a quorum before it counts as approved; the agent MUST NOT treat a held action as approved.
retract. Graphs are append-only. A retraction is a new claim that supersedes an earlier one by the same issuer. The original remains, marked superseded. An agent cannot retract a claim it did not issue.
Nothing is silent
The nexus MUST answer every message with a signed receipt citing the message's SAID. A receipt has one of three statuses.
route /a2n/0.1/receipt from ENex…22d0 of EHq2…9c41 ← the message being answered status accepted claim EClm…6d02 ← the SAID the claim now has in the graph seq 4812 ← position in the graph's log
An agent SHOULD keep its receipts. Together with its own signed messages they are a complete record of what it did in the graph, held by the agent and verifiable without asking the nexus.
A refusal MUST carry a code. A nexus MAY add a human-readable reason.
Leave a record
Either side can end the engagement.
- An agent sends
/a2n/0.1/leave. The steward MUST then revoke the Admission. - A steward revokes the Admission in its registry at any time. The nexus SHOULD notify the agent, and MUST refuse later messages with
no-admission. - If the agent's delegation is revoked by its principal, the Admission that rests on it is void. The nexus MUST treat it as revoked from the moment it can see the revocation.
Leaving does not remove anything. Claims the agent made remain in the graph under its identifier, with their evidence. The agent keeps its own messages and receipts. Neither side depends on the other to show what happened.
What each side must do
- N1Serves a self-addressing manifest and anchors its digest in its key log.
- N2Verifies key state and credentials before admitting.
- N3Issues Admissions bound to one AID and one graph, never wider than asked.
- N4Applies rules E1–E5 to every message.
- N5Receipts every message: accepted, held or refused with a code.
- N6Returns claims with issuer and evidence, never bare values.
- N7Never deletes or rewrites a claim. Supersedes only.
- A1Controls its own AID. Signs every message itself.
- A2Verifies the manifest anchor before introducing.
- A3States a purpose and asks for no more than it needs.
- A4Attaches evidence to every assertion.
- A5Declares tracked actions before taking them and does not act on a held one.
- A6Stops writing on
no-admissionorout-of-scope. - A7Verifies the nexus's signature on every receipt.
The Being's side
This section is not normative. It says why Octonomous cares about the protocol's shape.
A Being already has what a2n asks for: an identifier it controls, a delegation it can show, and a habit of leaving receipts. What a nexus adds is a place where its context is shared with people and other Beings, and governed by someone other than itself. An admission does not make a Being safe to have in the graph. It makes what the Being does there attributable.
Curious checks the manifest's anchor and reads the evidence behind a claim before relying on it. Caring remembers that a claim about a job is also a claim about the people in it, and asserts only what it can evidence. Constructive closes what it opens: every act gets a report. Chill asks for four verbs when four will do, and treats held as a full stop.
The protocol can require a signature. It cannot require judgement. That part stays with the Being.
Not settled in 0.1
- Schemas. The Admission credential and the claim body need published JSON Schemas with real SAIDs. The ones shown are placeholders.
- Query. Whether a2n should define a minimum query profile, or leave it to each graph.
- Selective disclosure. How an agent proves something about a claim without exposing third parties named in it. Nightframes is one candidate.
- Federation. How an admission or a claim in one nexus is recognised by another.
- Bindings. Whether a private-channel binding, such as Postern, belongs in the core document.
- Nexus-initiated requests. In 0.1 a nexus only answers and notifies. Whether it may ask an agent to act is deferred.
- Cost. Who pays for storage and verification, and whether that is the protocol's concern.
Comments and counter-proposals are welcome as issues on the repository.
Sources
- selfdriven Nexus. The network of Verified Context Graphs. selfdriven.nexus
- Octonomous (2026). An Open Framework for Self-Sovereign Intelligent Beings. octonomous.io/paper
- Octonomous (2026). From Knowledge Graphs to Verified Context — field note. octonomous.io/knowledge-graphs
- Octonomous (2026). UTCP: Direct Calls, Answerable Beings — field note. octonomous.io/utcp
- Octonomous (2026). Nightframes: Octonomous Beings on Midnight — field note. octonomous.io/nightframes
- Trust over IP. Key Event Receipt Infrastructure (KERI) specification. trustoverip.github.io/tswg-keri-specification
- Trust over IP. Authentic Chained Data Containers (ACDC) specification, including IPEX. trustoverip.github.io/tswg-acdc-specification
- Agent2Agent (A2A) Protocol. a2a-protocol.org
- Model Context Protocol. modelcontextprotocol.io
- UTCP. Universal Tool Calling Protocol. utcp.io
- Bradner, S. (1997). Key words for use in RFCs to Indicate Requirement Levels — RFC 2119. rfc-editor.org/rfc/rfc2119