Govern locally. Prove across boundaries.
When logs aren't enough, PEAC gives you portable signed records anyone can verify offline.
Portable signed records for agent, API, MCP, and cross-runtime interactions.
Pick the path that matches what you are building.
You want to issue signed receipts proving what terms applied and what happened on every response.
- Install:
pnpm add @peac/middleware-express @peac/crypto @peac/protocol - Follow the API Provider Quickstart (5 minutes)
- See examples/hello-world for the minimal standalone version
- Outcome-led recipe:
docs/SOLUTIONS/api-receipt-issuance.md
Key packages: @peac/middleware-express, @peac/protocol, @peac/crypto.
You want to add receipt operations (verify, inspect, issue, bundle) to your MCP server, or attach signed records to tool-call responses.
- Try it now:
npx -y @peac/mcp-server --help - Read the MCP Integration Kit for full setup
- See examples/mcp-tool-call for a paid-tool example
- Outcome-led recipe:
docs/SOLUTIONS/mcp-tool-call-receipts.md
Key packages: @peac/mcp-server, @peac/mappings-mcp.
You have a receipt (JWS string) and want to verify it offline with a public key.
- Install:
pnpm add @peac/protocol @peac/crypto - Follow the Agent Operator Quickstart (5 minutes)
- See examples/minimal for typed accessor helpers
- Self-host the reference verifier: recipes under
surfaces/reference-verifier/
Key packages: @peac/protocol, @peac/crypto.
You run a managed agent runtime (or an adjacent governance system) and want to export signed records of its observations, decisions, or transitions so other parties can verify them offline.
- Review the runtime-governance adapter and its conformance fixtures.
- Outcome-led recipe:
docs/SOLUTIONS/runtime-evidence-export.md - See examples/managed-agents-export for the Claude Managed Agents mapping.
Key packages: @peac/adapter-runtime-governance, @peac/adapter-managed-agents, @peac/protocol.
You want to carry receipts across Agent-to-Agent Protocol flows.
- Install:
pnpm add @peac/mappings-a2a @peac/protocol @peac/crypto - Read the A2A Integration Kit
- See examples/a2a-gateway-pattern for the gateway pattern
Key packages: @peac/mappings-a2a, @peac/protocol.
You want verifiable evidence from commerce and payment flows across paymentauth / MPP, ACP, Stripe SPT, x402, or UCP. Prove what was offered, challenged, paid, or settled across organizational boundaries.
- Choose your protocol:
- paymentauth / MPP: paymentauth Integration Kit
- ACP: ACP Integration Kit
- x402: x402 Integration Kit
- See Commerce Evidence Spec for boundary rules
- See examples/ for runnable demos
- Outcome-led recipe:
docs/SOLUTIONS/commerce-evidence-bundle.md
Key packages: @peac/mappings-paymentauth, @peac/mappings-acp, @peac/rails-stripe, @peac/adapter-x402, @peac/mappings-ucp.
You need signed evidence for audit, dispute review, or regulatory alignment. Evidence that survives organizational boundaries, not just local logs.
- Start with the API Provider Quickstart to understand issuance
- See Evidence Bundles for offline verification bundles
- Review Governance Mappings for NIST AI RMF, EU AI Act, OWASP ASI alignment
- Outcome-led recipe:
docs/SOLUTIONS/regulatory-audit-trail.md
Key packages: @peac/protocol, @peac/audit.
- Receipt: a signed JWS (
interaction-record+jwt) proving what terms applied and what happened. The JOSE headertypisinteraction-record+jwt; the HTTP request or response body isapplication/json(or thePEAC-ReceiptHTTP header) carrying the compact JWS string. - Kind:
evidence(records what happened) orchallenge(requests proof from a peer). - Type: reverse-DNS identifier for what the receipt represents (for example
org.peacprotocol/payment). - Extensions: typed data groups (commerce, access, identity, and more) carrying domain-specific content.
- Offline verification: receipts verify with just the public key; no network calls required.
See docs/HOW-IT-WORKS.md for the end-to-end publish / issue / verify / share loop and docs/ARTIFACTS.md for the full artifact taxonomy.
PEAC is the records layer beneath runtime governance. It does not try to be the runtime, the control plane, or the decision maker. Explicitly:
- PEAC is not a governance toolkit, policy engine, or runtime control plane. Those systems (Microsoft Agent Governance Toolkit, OPA / Cedar / Rego, Claude Managed Agents, OpenAI ACP-backed runtimes, custom harnesses) decide and enforce. PEAC records what they attested.
- PEAC is not a payment protocol. x402, paymentauth / MPP, ACP, and Stripe SPT authorize and settle. PEAC carries verifiable observational evidence across them and never synthesizes payment finality from non-payment artifacts.
- PEAC is not an identity protocol or trust-score system. DIDs, VCs, ERC-8004, and reputation layers own those functions. PEAC accepts
issinhttps://ordid:form and never computes trust. - PEAC is not an observability dashboard. PEAC records are exportable to any observability system via
receipt_refas an OTel span attribute. - PEAC will not become a CLI automation framework, eval platform, approval system, or orchestration / workflow engine. Future releases extend PEAC to carry CLI execution evidence and observational lifecycle records (eval, approval, experiment, or workflow event exports emitted by other systems). Those are carrier extensions, not new PEAC categories; PEAC records what the upstream system attested and never evaluates, approves, experiments, or orchestrates itself.
Full protocol scope and boundary: docs/WHAT-PEAC-STANDARDIZES.md and docs/WHERE-IT-FITS.md.
Layer 0: @peac/kernel (types, constants)
Layer 1: @peac/schema (Zod validation)
Layer 2: @peac/crypto (Ed25519 signing)
Layer 3: @peac/protocol (issue, verifyLocal)
Layer 4: @peac/mappings-* (MCP, A2A, x402, and more)
Layer 5: @peac/mcp-server (MCP server)
Dependencies flow down only. Start at the highest layer you need.
- Compatibility Matrix — wire format support, runtime environments, deprecation schedule, adapter readiness with evidence tags.
- Migration Guide — upgrade paths from Wire 0.1,
@peac/core, legacy API. - Deprecation Policy — surface lifecycle, removal windows, HTTP deprecation headers.
- Spec Index — normative specifications.