peac
AGENTS.md14 starsChanged 5 months agoApache-2.0View on GitHub
Agent-readable metadata for PEAC Protocol. Last reviewed: 2026-06-24 PEAC receipts attach to MCP tool responses via the Evidence Carrier Contract. JSON-RPC Response (_meta carrier): HTTP Transport: The PEAC-Receipt header carries a compact JWS (never a bare receipt_ref). For A2A (Agent-to-Agent Protocol, Linux Foundation) discovery via /.well-known/agent-card.json: Agent Card (capabilities.extensions[] array, A2A v1.0.0): Evidence carrier in A2A metadata (TaskStatus, Message, Artifact): The extension URI key maps to a nested object containing the carrier array. This follows the A2A metadata convention. A2A…
- Installs packages
In this repositoryOne other file it gives its agents.
- llms.txtllms.txt
The file
Files
AGENTS.md
Agent-readable metadata for PEAC Protocol. Last reviewed: 2026-06-24
Identity
- Protocol: PEAC (wire formats:
interaction-record+jwt(current),peac-receipt/0.1(frozen legacy)) - Specification: https://www.peacprotocol.org
- Key Discovery:
iss->/.well-known/peac-issuer.json->jwks_uri-> JWKS - Algorithm: EdDSA (Ed25519)
Capabilities
- Receipt Issuance and Verification: Signed receipts (
interaction-record+jwtJWS) for verifiable interaction evidence - Purpose Declaration: Structured intent via
PEAC-Purposeheader - Agent Identity: Proof-of-control binding (see AGENT-IDENTITY.md)
- Policy Discovery: Machine-readable terms at
/.well-known/peac.txt
Proof Methods
| Method | Standard | Description |
http-message-signature | RFC 9421 | HTTP Message Signatures |
dpop | RFC 9449 | DPoP token binding |
mtls | RFC 8705 | Mutual TLS client certificate |
jwk-thumbprint | RFC 7638 | JWK Thumbprint confirmation |
MCP Integration
PEAC receipts attach to MCP tool responses via the Evidence Carrier Contract.
JSON-RPC Response (_meta carrier):
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [...],
"_meta": {
"org.peacprotocol/receipt_ref": "sha256:abc123...",
"org.peacprotocol/receipt_jws": "eyJhbGciOiJFZERTQSIsInR5cCI6ImludGVyYWN0aW9uLXJlY29yZCtqd3QiLC..."
}
}
}HTTP Transport:
PEAC-Receipt: eyJhbGciOiJFZERTQSIsInR5cCI6ImludGVyYWN0aW9uLXJlY29yZCtqd3QiLC...The PEAC-Receipt header carries a compact JWS (never a bare receipt_ref).
A2A Agent Card Extension
For A2A (Agent-to-Agent Protocol, Linux Foundation) discovery via /.well-known/agent-card.json:
Agent Card (capabilities.extensions[] array, A2A v1.0.0):
{
"name": "Example Agent",
"supportedInterfaces": [
{
"url": "https://agent.example",
"protocolBinding": "http+json",
"protocolVersion": "1.0.0"
}
],
"capabilities": {
"extensions": [
{
"uri": "https://www.peacprotocol.org/ext/traceability/v1",
"description": "PEAC evidence traceability for agent interactions",
"required": false
}
]
}
}Evidence carrier in A2A metadata (TaskStatus, Message, Artifact):
{
"metadata": {
"https://www.peacprotocol.org/ext/traceability/v1": {
"carriers": [
{
"receipt_ref": "sha256:abc123...",
"receipt_jws": "eyJhbGciOi..."
}
]
}
}
}The extension URI key maps to a nested object containing the carrier array. This follows the A2A metadata convention. A2A v1.0.0 Agent Card shape is required; v0.3.0 compatibility was removed in v0.13.0. Cards without a valid supportedInterfaces[0].url are rejected.
Discovery
| Path | Content | Specification |
/.well-known/peac.txt | Policy manifest | PEAC-TXT.md |
/.well-known/peac-issuer.json | Issuer config and key discovery | PEAC-ISSUER.md |
/.well-known/agent-card.json | A2A Agent Card (PEAC extension) | DISCOVERY-PROFILE.md |
Purpose Tokens
Canonical PEAC purpose vocabulary:
| Token | Description |
train | Model training data collection |
search | Traditional search indexing |
user_action | Agent acting on user behalf |
inference | Runtime inference / RAG |
index | Content indexing (store) |
Working in this repository
- Requirements: Node.js 22.13.0 or later (Node 24 recommended; see
.node-version) and pnpm 8.15.0 (packageManager). - Install:
pnpm install --frozen-lockfile - Build:
pnpm build - Test:
pnpm test - Lint:
pnpm lint - Typecheck:
pnpm typecheck:core - Format check:
pnpm format:check - Open pull requests using
.github/pull_request_template.md.
Contact
- Specification: https://www.peacprotocol.org
- Repository: https://github.com/peacprotocol/peac
- Issues: https://github.com/peacprotocol/peac/issues
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
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.

