Skip to content

Specifications Overview ​

AgentPay protocols, state machines, data models, and security designs are formally defined as specifications, backed by executable cross-language conformance test vectors (verified identically against Python and Go implementations).

Single Source of Truth

Specifications on this site are automatically synchronized from the repository root specs/. Machine-readable JSON Schemas and test vectors are maintained at specs/conformance and specs/test-vectors.

TopicDescription
Payment State MachineIntent / Settlement / Fulfillment tri-state orthogonal machine
Wallet & LedgerHold / Capture / Release, append-only double-entry ledger & reconciliation
Protocol ConsistencyRequest headers, normalized error schemas & dual-path dispute resolution
Config PublishingDrafts, immutable snapshot publishing, RCU hot-swapping & rollbacks
Audit EventsEvent envelope, data sanitization, WORM retention & CSV/JSON export
Agent Audit & IdentityCryptographic identity extraction, observed vs reported dimensions, kill-switch
Multitenant Data ModelPostgreSQL 16 schema, row-level isolation & foreign key topology
Security ModelTrust boundaries, STRIDE threat catalog & firewall mitigations

Experimental open-source project. Not audited for production fund handling.