Less payment plumbing
Give an existing agent typed payment tools and domain adapters. Reuse request, receipt, and exception handling across applications.
Payment tools for agents
Collect an invoice, buy a dataset, or reconcile a claim. OpenPaygents brings the financial tools, permissions, and transaction records into one self-hostable foundation.
Developer preview. Reconciliation is interactive today; the connected agent platform is being built.
What it is for
Give an existing agent typed payment tools and domain adapters. Reuse request, receipt, and exception handling across applications.
Set the accounts, payees, budgets, and approvals. The transaction service enforces the rules outside the model.
Check what changed in the transaction record. Keep payment, delivery, and reconciliation distinct, including when something fails.
Applications
Choose a use case to see the problem, the flow, and the parts behind it.
A merchant receives bank transfers against customer invoices. Repeated notifications, incorrect references, and wrong amounts make a paid status unreliable.
A checked payment status that an order system can act on, with a reason for every exception.
OpenPaygents matching core · receipt adapter · transaction records · fulfillment outbox
The matching core is in the sandbox. Backend persistence and order fulfillment are specified.
An operations agent needs to move money between approved accounts without receiving unrestricted payment credentials.
Limits apply to the actual transaction. A timeout stays unresolved until its status is checked, preventing a blind second payment.
Synthetic banking adapter · policy and approval service · Anvil/OpenZeppelin local token rail
Specified sandbox profile. Local test tokens have no monetary value; live banking is outside this build.
A research agent finds a useful report or dataset. It needs permission to purchase it, a task budget, and proof that the expected resource arrived.
The research can continue without an ad hoc payment integration. Paid, delivered, and reconciled remain separate facts.
Research purchase adapter · scoped tools · local transfer rail · optional x402 adapter
Specified purchase lifecycle using a synthetic seller and dataset. x402 is an optional protocol integration.
A booking requires a deposit, but payment can arrive late, use the wrong reference, or be reported twice. Booking and payment status need to stay in agreement.
A verified deposit can advance the booking once. An expired request or mismatched payment stays visible to the operator.
Payment requests · receipt matching · separate booking state · idempotent fulfillment event
Booking deposits appear in the demo. The connected booking workflow is specified.
A claim can have insurer payments, patient payments, adjustments, and a remaining balance. Those entries need different treatment.
A billing operator can trace the balance to its source records and see what needs attention. The agent does not make coverage or clinical decisions.
Seeded Synthea records · claims adapter · exact monetary arithmetic · exception and audit tools
Specified synthetic administration pack, with its own partial-payment and adjustment rules.
The product underneath
An agent can create a request, inspect a transaction, and explain an exception through a fixed tool interface.
Bind permission to the exact action, destination, and amount. Wait for approval when the mandate requires it.
Store requests, receipts, allocations, and decisions in Postgres, with exact monetary values and stable identities.
Recognize the same command or receipt. Resolve uncertain outcomes before submitting another transaction.
Keep bank matching, synthetic transfers, token receipts, and claims rules behind explicit interfaces.
Let a separate evaluator drive the agent and inspect committed state with its own credentials.
Reuse before reinvention
The build plan combines existing open-source components with OpenPaygents’ matching core. These are selected sources and adapters, not a claim that every integration is already running.
Anvil and OpenZeppelin supply the local token test environment. Synthea supplies synthetic claims data.
x402 is the optional paid-resource adapter. Google AP2 is a later interoperability candidate. LedgerForge or Blnk would be evaluated if a full ledger becomes necessary.
Built for human control
OpenPaygents is the payment layer for a broader system of human-controlled agents. It can serve a research product, an operating business, or another agent runtime without turning a model provider into the owner of the financial record.
The current sandbox exercises exact matching, duplicate detection, and exceptions using synthetic records. No real money moves.