selfdriven.nexus / Draft specification · a2n v0.1

Agent to Nexus. Arrive known. Leave a record.

a2n is the selfdriven Nexus protocol for agents. It covers how an agent finds a nexus, proves who it is, is admitted to a Verified Context Graph, reads and adds to shared context, and leaves.

  • a2n · v0.1 draft
  • Status: proposal · no reference implementation
  • Trust layer: KERI / ACDC
  • November 2026

Abstract · Status

Abstract.

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 the selfdriven Nexus draft of that protocol.

selfdriven Nexus is a network of 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. In this document a nexus, lower case, is any service on that network that hosts graphs and speaks a2n.

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.

Status of this document

This is version 0.1, a proposal published for comment. There is no reference implementation, and selfdriven Nexus does not serve it yet. Identifiers, digests, URLs and schema references in the examples are illustrative. Expect breaking changes before 1.0. a2n was first drafted within Octonomous; this page is now its home.

The key words MUST, SHOULD and MAY are used as in RFC 2119.

Not

An API key and a database connection

But

A known participant, admitted under a policy, leaving signed claims

01 · Scope

Where a2n sits.

a2n does not replace the protocols an agent already uses. It covers a relationship they leave out.

Agent to tool

MCP · UTCP

  • Call a function, get a result
  • The tool decides what is allowed
  • Nothing persists by default
Agent to agent

A2A

  • Hand a task to a peer
  • Each peer decides for itself
  • The task record persists
Agent to nexus

a2n

  • Join shared context, add to it
  • Graph governance decides
  • Signed claims persist, with evidence

selfdriven Nexus also publishes an A2A agent card at /.well-known/agent.json. The card introduces the Nexus to its peers. a2n is the draft protocol for the work the card's skills describe — query, assert, verify, coordinate — once an agent is inside a graph.

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.

02 · Terms

Definitions.

Nexus
A service on the selfdriven Nexus network that hosts one or more Verified Context Graphs and speaks a2n. It has its own KERI identifier and signs everything it sends.
Graph
One Verified Context Graph inside a nexus: entities, relationships, evidence, governance, actions and outcomes for a single domain.
Steward
The identifier, or group of identifiers, that governs a graph: sets its policy, admits participants and resolves pending claims.
Agent
A software participant with a KERI identifier (AID) it controls. It may be delegated by a principal or self-sovereign. An Octonomous Being is one kind of agent.
Principal
The person or organisation a delegated agent acts for; in the selfdriven Human Conductor model, the conductor. The delegation is itself a credential the agent can present.
Admission
An ACDC credential issued to an agent for one graph. It names the verbs, effect classes, purpose and expiry. It is bound to the agent's AID and is useless to anyone else.
Claim
A signed statement added to a graph: an entity, a relationship, a piece of evidence, an action or an outcome. Each claim has a SAID, an issuer and at least one evidence link.
Receipt
The nexus's signed acknowledgement of a message, carrying the message's SAID and what happened to it.

03 · Lifecycle

Six steps.

  1. 01

    Discover

    Fetch the manifest. Verify it against the nexus's key log.

  2. 02

    Introduce

    Present an identifier, credentials, and a stated purpose.

  3. 03

    Admit

    Receive an Admission credential for one graph.

  4. 04

    Engage

    query · watch · assert · attest · act · report · retract

  5. 05

    Receipt

    Every message is acknowledged: accepted, held or refused.

  6. 06

    Leave

    Either side ends it. The claims and receipts remain.

Engage and receipt repeat for the life of the admission.

The example used below is carried over from the Octonomous field notes: a community fund is paying an electrician to repair a hall's switchboard. The fund's agent joins the community's graph, hall-fund, to record the quote, the job and its outcome.

04 · Discovery

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.

05 · Introduction & admission

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       EAgt…7f3a   · the agent'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 · e.g. an Octonomous 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      EAgt…7f3a   · bound to this agent, 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.

The nexus learns

  • Which identifier is asking
  • Who, if anyone, it acts for
  • What it says it is here to do

The agent learns

  • Who governs the graph
  • The policy its claims will be judged by
  • Exactly what it may do, and until when

06 · Message envelope

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":  "EAgt…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:

  1. E1The body MUST name the graph and the SAID of the Admission it relies on.
  2. E2The nexus MUST verify the signature against the sender's current key state and MUST reject a message signed with rotated-out keys.
  3. E3The nexus MUST reject a message whose dt is more than five minutes from its own clock, or whose d it has already processed.
  4. E4The nexus MUST check, on each message, that the Admission is unexpired, unrevoked and covers the verb.
  5. E5The default binding is HTTPS POST to the manifest's endpoint with content type application/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.

07 · Verbs

Seven things an agent can do.

VerbWhat it doesTouchesEffect class
queryread claims, each with issuer and evidenceany componentread
watchbe told when part of the graph changesany componentread
assertadd a claim, with evidenceentity · relationship · evidencewrite
attestcountersign someone else's claimevidencewrite
actdeclare an action before taking itactionexternal
reportrecord what an action led tooutcomewrite
retractsupersede one of your own claimsyour claims onlywrite

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.

  1. act
  2. receipt: held
  3. steward approves
  4. the agent acts
  5. report

08 · Receipts & refusals

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.

  • accepted
  • held
  • refused
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
anchor   ixn 731     ← the nexus key event that seals the change

For every accepted message with a write or external effect, the nexus MUST emit an interaction event in its own key event log anchoring a SHA-256 digest of the change, and MUST cite that event in the receipt. This is the selfdriven trust-layer invariant applied to a2n: no change to a graph without an anchor.

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.

CodeMeaningThe agent should
key-stateidentifier unknown, or signed with stale keyspublish current key state, retry
no-admissionmissing, expired or revokedintroduce again, or stop
out-of-scopeverb or effect not coverednot retry · ask its principal
no-evidenceclaim has no verifiable evidence linkattach evidence, or not assert
policygraph governance declined itread the cited policy
replaytimestamp outside window, or SAID seencheck its clock · not resend as-is
rateover the admission's limitwait

09 · Leaving & revocation

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.

An API key can be deleted. A signed claim stays attributable.

10 · Conformance

What each side must do.

A conforming nexus

  1. N1Serves a self-addressing manifest and anchors its digest in its key log.
  2. N2Verifies key state and credentials before admitting.
  3. N3Issues Admissions bound to one AID and one graph, never wider than asked.
  4. N4Applies rules E1–E5 to every message.
  5. N5Receipts every message: accepted, held or refused with a code.
  6. N6Returns claims with issuer and evidence, never bare values.
  7. N7Never deletes or rewrites a claim. Supersedes only.
  8. N8Anchors every accepted write in its key log and cites the anchor in the receipt.

A conforming agent

  1. A1Controls its own AID. Signs every message itself.
  2. A2Verifies the manifest anchor before introducing.
  3. A3States a purpose and asks for no more than it needs.
  4. A4Attaches evidence to every assertion.
  5. A5Declares tracked actions before taking them and does not act on a held one.
  6. A6Stops writing on no-admission or out-of-scope.
  7. A7Verifies the nexus's signature on every receipt.

11 · Informative

The network's side.

This section is not normative. It says why selfdriven Nexus wants the protocol shaped this way.

A Verified Context Graph is worth only as much as what is known about each claim in it. Verification is a first-class principle of the network: every assertion links to its evidence, and each participant keeps control of its own context. a2n holds agents to the same terms. An agent arrives with an identifier it controls and a delegation it can show. It leaves signed claims behind and keeps its own receipts. What a nexus adds is a place where the agent's context is shared with people and other agents, and governed by someone other than itself. An admission does not make an agent safe to have in the graph. It makes what the agent does there attributable.

Agents that already work this way have little to change. An Octonomous Being has an identifier it controls, a delegation it can show, and a habit of leaving receipts, and its four Cs read straight onto the protocol. 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 agent.

Read alongside

12 · Open questions

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.
  • Digests. The selfdriven trust layer anchors SHA-256 digests. KERI implementations default to Blake3-256 for SAIDs, as the examples here do (prefix E). Whether a2n should fix one algorithm for both is open.
  • Agent card. Whether the Nexus's A2A agent card should advertise the a2n manifest, and how.

Comments and counter-proposals are welcome as issues on the repository.

References

Sources.

Octonomous on GitHub