

























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.
npx -y @peac/mcp-server.@peac/adapter-runtime-governance.Full path-by-role tree: docs/START_HERE.md.
pnpm add @peac/protocol @peac/crypto
import { verifyLocal } from '@peac/protocol'; const receipt = response.headers.get('PEAC-Receipt'); const result = await verifyLocal(receipt, publicKey, { issuer: 'https://api.example.com', }); if (result.valid) { console.log(result.claims.iss, result.claims.kind, result.claims.type); }
Node 24 tested, Node 22+ compatible. Go middleware and examples supported (Go 1.26+). Python via API-first examples and OpenAPI-driven flows.
1. Publish terms at /.well-known/peac.txt
2. Return PEAC-Receipt with a signed interaction record
3. Verify offline with the issuer's public key
Full loop: docs/HOW-IT-WORKS.md. Artifact vocabulary (record, receipt, bundle, report): docs/ARTIFACTS.md. Where PEAC sits next to other systems: docs/WHERE-IT-FITS.md. Protocol scope: docs/WHAT-PEAC-STANDARDIZES.md.
Outcome-led recipes under docs/SOLUTIONS/:
verifyLocal() or pnpm dlx @peac/cli verify.npx -y @peac/mcp-server.pnpm install && pnpm build && pnpm --filter @peac/example-x402-upto-evidence demo.surfaces/plugin-pack/ (Cursor, Codex, Claude Code, VS Code, Continue, Windsurf, OpenCode).pnpm --filter @peac/example-minimal demo.surfaces/reference-verifier/.sdks/go/ with production HTTP middleware.packages/mcp-server/ evidence tools.surfaces/plugin-pack/; canonical Smithery config.packages/middleware-express/.packages/adapters/x402/ (v1 + v2), packages/mappings/paymentauth/ (paymentauth and MPP), packages/mappings/acp/ (ACP delegated payment).packages/adapters/runtime-governance/ records observations from managed runtimes including Microsoft Agent Governance Toolkit.packages/mappings/intoto/ and packages/mappings/slsa/.apps/api/ with deployment recipes under surfaces/reference-verifier/.Long tail (A2A, gRPC, DID, managed agents, and more): docs/README_LONG.md.
| Artifact | Role |
|---|---|
# One-off pnpm dlx @peac/cli verify 'eyJhbGc...' # Installed in your workspace pnpm add -D @peac/cli pnpm exec peac verify 'eyJhbGc...'
Other commands: peac conformance run, peac reconcile a.bundle b.bundle, peac policy init|validate|generate, peac doctor. Reference: packages/cli/README.md.
PEAC is the records layer beneath runtime governance. PEAC records what another system attested; it is not a governance toolkit, policy engine, runtime control plane, payment protocol, identity protocol, trust-score system, observability dashboard, or hosted runtime. Full boundary: docs/WHERE-IT-FITS.md.
/.well-known/peac-issuer.json JWKS with SSRF guards.See SECURITY.md, docs/TRUST-ARTIFACTS.md, docs/specs/PROTOCOL-BEHAVIOR.md, docs/COMPATIBILITY_MATRIX.md, and docs/specs/VERSIONING.md.
interaction-record+jwt (Wire 0.2).peac-receipt/0.1 (Wire 0.1) is frozen and legacy-only; verifyLocal() returns E_UNSUPPORTED_WIRE_VERSION on legacy input.Full doctrine: docs/specs/VERSIONING.md.
Contributions are welcome. For substantial changes, please open an issue first.
Apache-2.0. See LICENSE.
PEAC Protocol is an open-source project stewarded by Originary and community contributors.
Docs · GitHub · Discussions
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。