Rules before execution
Check vendor trust, BigInt amount thresholds, and rolling 60m velocity limits before money moves.
PayGuard puts a deterministic policy gate between an agent's payment proposal and execution. Route exceptions to a person, then keep the decision visible in your ledger.
AI can prepare a payment proposal. PayGuard evaluates it against deterministic rules, holds exceptions, and records the outcome.
Check vendor trust, BigInt amount thresholds, and rolling 60m velocity limits before money moves.
Hold over-cap or flagged payments for review, then authorize via single-use QR with TOCTOU re-check.
Bring invoice quote offsets, catalog price verification, and Postgres ledger receipts into one trail.
Keep the proposal, deterministic policy result, capability token, and final Postgres ledger state connected.
An agent or operator submits vendor, invoice, and line-item details.
The gate applies configured rules and returns a clear disposition.
A person reviews and approves held payments via single-use QR.
Postgres SELECT FOR UPDATE ledger and audit trail record the state.
NFKC + zero-width normalization + nonce-fenced vendor docs before any model call.
OrderProposalSchema .strict() + catalog unit-price verification (roundHalfEven).
Branded ApprovedForExecution token bound to ownerId, amount, and idempotencyKey.
Row-locked atomic settlement + idempotent replay guard + Langfuse telemetry.
Explore the live ledger, inspect policy verdicts, and test single-use QR approvals.