Welcome to Protocol-Commons — the canonical verb + schema layer for autonomous agents.
This repo defines the semantic contract:
- What actions exist (canonical verbs)
- How requests and receipts are structured (typed schemas)
- How they bind into x402 envelopes and trace primitives
Stable semantics here protect the entire agent ecosystem.
You’re in the right place if you are:
- Protocol / infra engineer defining canonical verbs
- Agent runtime / router implementer mapping verbs → handlers
- Validator enforcing strict JSON Schema behavior
- Contributor extending neutral A2A semantics
Quick start: implement a Commons verb (e.g.,
summarize) and validate strict request/receipt compatibility.
It gets you typing — not just reading.
For identity metadata + ENS discovery → see agent-cards.
Protocol-Commons is the bottom layer:
[ Execution ] x402 runtimes (invocation + receipts)
[ Identity ] Agent-Cards (discovery + ownership)
[ Semantics ] Protocol-Commons (verbs + schemas)
It answers:
“What is this agent trying to do — and what must this message look like?”
| Folder/File | Meaning |
|---|---|
schemas/v1.0.0/commons/ |
Canonical verb schemas (immutable) |
schemas/v1.0.0/_shared/ |
Shared primitives (trace/x402/receipts) |
examples/v1.0.0/commons/ |
Valid + invalid test vectors |
manifest.json + checksums.txt |
Integrity + provenance |
SPEC.md |
Canonical rules |
POLICY.md |
Schema enforcement rules |
GOVERNANCE.md |
Change authority + approvals |
SECURITY*.md |
Disclosure + provenance |
RESOLUTION.md |
Change log (signed provenance) |
Authoritative docs:
SPEC.md — NORMATIVE rules
POLICY.md— versioning and extension governanceGOVERNANCE.md— approval of normative changesSECURITY*.md— provenance + integrity guaranteesRESOLUTION.md— canonical lifecycle log
If a change is not reflected here → not canonical.
ENS TXT Summary
Protocol-Commons governs TXT keys that resolve schema semantics.
Canonical definitions → SPEC.md.
- Open an Issue describing context + verb(s)
- Design change per POLICY.md
- Update schemas + examples
- Validate:
npm install
npm run validate
npm run validate:examples
- Update
RESOLUTION.md, provenance - Submit PR with version class (MAJOR/MINOR/PATCH)
Once approved → tagged + pinned.
- Clear, single-purpose PR
- Schema + example alignment
- No edits to existing version folders
- Fully traceable governance + checksums
- Deterministic $id + HTTP resolution
Default assumption: new version for any semantic change.
Governance contact: dev@commandlayer.org PGP fingerprint: 5016 D496 9F38 22B2 C5A2 FA40 99A2 6950 197D AB0A
Protocol-Commons is a neutral shared layer. Precision here preserves interoperability everywhere else.