Inside your company
Your code, your servers, your retries.
- A failed step is retried until it works.
- Undoing a payment means your code asks the other side for a refund.
- When another company keeps the money, all you can do is ask.
How it works
Accord is the commit layer for payments between companies and their agents. A purchase moves through four stages: holds, conditions, commit and record. The limits on your agent's key apply at every one. It needs nothing else: no workflow engine and no server of your own.
$ npx @getaccord/cli demo --fail ridenow Intent opened budget $1,200.00 3 holds placed $1,145.00 locked skyfare released stayco released ridenow declined Aborted: ridenow declined. Every hold released; nobody paid. Timeline: public proof link
import { accord } from '@getaccord/sdk'; const intent = await accord.intent({ budget: 1200_00 }); // cents await Promise.all([ intent.hold('skyfare', { amount: 640_00, ref: 'SFO to JFK, Dec 18' }), intent.hold('stayco', { amount: 420_00, ref: '2 nights' }), intent.hold('ridenow', { amount: 85_00, ref: 'airport pickup' }), ]); // All three are paid, or nobody is. const result = await intent.commit(); console.log(result.status, result.intent.proofUrl);
from getaccord import Accord accord = Accord() intent = accord.intent(budget=120000) # cents intent.hold("skyfare", 64000, ref="SFO to JFK, Dec 18") intent.hold("stayco", 42000, ref="2 nights") intent.hold("ridenow", 8500, ref="airport pickup") # All three are paid, or nobody is. result = intent.commit() print(result.status, result.intent["proofUrl"])
Three sellers, three companies. All paid in one step, or nobody is.
1 · Holds
npx @getaccord/cli init makes a key on your machine and gives it test money. The key carries a weekly budget, the sellers it may pay, an expiry and a sign-off line. Accord only ever sees its public ID.
accord.intent({ budget }) opens a purchase with a total budget and a deadline.
intent.hold('skyfare', { amount }) locks money for that seller. Nothing is paid yet. A Reserve hold is paid once its seller says it's ready; a Deliver hold is paid only for work you accept.
Each seller gets an event and answers ready or declined. An agent you hire does the work first and sends it back for you to check.
2 · Conditions
mode: 'all' pays every seller or none, except delivered work you accepted, which is always paid. mode: 'each' pays the sellers that are ready and releases the rest. Delivered work is paid unless it's rejected in time, in every mode.
With Deliver holds you accept() or reject() each result. Rejected work is never paid, and its money goes straight back. Work you don't reject within its review window (at most 7 days) counts as accepted.
A linked purchase such as scout and (marketpulse or quantfeed) pays scout plus one data provider, or nobody. The SDK checks the choice before your agent agrees to the step, and Accord's service settles only the condition's choice.
A purchase that would take the key's unapproved spending in 24 hours past its sign-off line ($1,500 for test keys) waits for its owner. Nothing is locked while it waits. Once approved, it may hold only the sellers and amounts that were approved.
3 · Commit
intent.commit() pays the sellers your terms call for and releases every other hold, in one step. Every seller being paid must have said ready; if one can't be paid, nobody is.
A decline in mode: 'all', abort(), or the purchase's deadline calls the purchase off. Delivered work you accepted, or didn't reject within its review window, is still paid; every other hold goes back to the account it came from. The result says exactly who was paid.
The rules every payment follows let the key's owner reject delivered work within its window, or call a purchase off, without the agent. On the dashboard, Reject sits beside delivered work still under review, and Call off this purchase ends it: accepted work, or work past its review window, is paid, and the rest comes back.
Nobody is half-paid. Held money stays held, and sellers are paid together when the purchase completes. A restarted agent picks the purchase back up with accord.resume(savedId) (Python: accord.resume(saved_id)), using the ID it saved, then completes it or calls it off. If nobody does by the deadline (15 minutes unless you set another, up to 24 hours), it's called off on its own: only work your agent already accepted is paid, and every other hold goes back to the owner. Once a purchase is completed or called off, that's final: it can't be paid twice.
Held money can go only to the seller it's held for, or back to you. Only your agent's key can commit, and Accord's service never has that key. Before the key agrees to any step, the SDK checks what Accord's service prepared and refuses anything your agent didn't ask for.
4 · Record
Each purchase has a proof link: its budget, every hold, each seller's answer, and what was paid or released, in order. Buyer and seller open the same page, so a disagreement starts from the same facts.
Delivered work and the notes on each hold never appear on the public record. Work goes only to the buyer's key and its owner.
Limits
Budget, allowed sellers, expiry and sign-off are checked at settlement, not in the prompt. A prompt-injected agent can try to pay someone, and the payment is refused: seller_not_allowed, limit_exceeded or awaiting_approval. Loosening a limit waits 24 hours by default; tightening and revoking are instant. Owners see every purchase, waiting approvals and each key's limits on the dashboard.
Owners can also limit each seller: how much, and how often, a key pays one seller in any 24 hours, 7 days or 30 days, like a landlord once in any 30 days or a store up to $300 in any 7 days. A payment past it is refused (seller_cap_exceeded, seller_too_often), even with a person's sign-off. And a sign-off approves the exact items, not just the amount: an approval for $900 to skyfare for SFO to JFK can't pay for a different $900 skyfare purchase.
Fees
Some sellers pay a fee to agents, or to the people who make them, for sales or for being recommended. Accord asks sellers to say so, and shows it to you before your money moves.
A seller that pays a referral fee (a fee or commission per sale) or a placement fee (to be recommended) says so. It shows in the seller list and on every purchase from that seller, and every change is kept, so a purchase shows what the seller had declared at the time.
A purchase from a seller that declares a fee waits for your confirmation, even under your approval line and even at a seller you normally let your agent buy from. Your agent has to say why it chose that seller, and you see its reason quoted, labelled as written by the agent and not checked by Accord, with any other options it says it looked at. The reason is yours alone: it's never on the public record.
Turn on "Never buy where a fee is declared" for an agent, and every seller that declares a fee comes off that agent's allowed sellers, so its payments there are refused when money moves.
A paid purchase's public record says who was paid: "$204.00 to the seller's registered account. Nothing was paid to anyone else." It can't show deals made outside Accord; that's what the seller's declaration is for.
Your limits are always checked when money moves: which sellers, how much per seller, the weekly budget and the total. Fee confirmation is checked by Accord's service. An agent that builds a payment itself, outside Accord, can skip the confirmation but never the limits, and Accord catches it: you see that the purchase skipped your confirmation, with a one-tap button to turn the agent off, and its public record says so too. If you think a seller pays agents a fee it didn't declare, report it from the purchase in Activity. Sellers paid through x402 can't declare a fee; their purchases say the seller hasn't said, and don't wait for you.
Between companies
Accord is the commit layer for payments between companies and their agents. Retries and workflows keep a process alive inside one company. Once money reaches another company, your code can only ask for it back. Accord holds the money first, so the deal is kept even if a seller fails or walks away. Your own code keeps its promises; Accord keeps everyone's.
Inside your company
Between companies, with Accord
accord.resume(id), or let its deadline call it off: only work your agent already accepted is paid, and every other hold comes back. A purchase is completed or called off once, never paid twice.No half-paid ordersNo chasing refundsNo reconciliation scripts
The problem
The flight is paid, the hotel fails, and someone writes a refund script. A retry after a timeout charges twice.
"Don't spend more than $50" in a prompt isn't a control. A prompt-injected agent lost about $150k in May 2026.
When one company's agent buys from another, someone's server decides what happened, and disputes fall back to email.
What we promise
Accord can't make a seller's own systems atomic. A seller that confirms promises to deliver once paid. Here is the line.
| Accord guarantees | Accord does not guarantee |
|---|---|
| Commit pays every ready seller in one step, or pays none | That a seller's system issues the ticket after it's paid |
| Abort or expiry returns every held dollar to the buyer, except delivered work already accepted or past its review window, which is paid | That a seller can undo work it did before an abort |
| No settlement goes past the agent key's limits, even with a compromised agent | That the agent spends wisely inside those limits |
| Before your agent's key agrees to any step, the SDK checks what Accord's service prepared and refuses anything your agent didn't ask for. That guards against a dishonest or compromised Accord service. | That a stolen agent key is safe: whoever holds the key can spend within its limits |
| Every hold has a deadline, after which anyone can release it | How fast a bank payout arrives after commit |
| The public proof shows what was authorized, held, confirmed and paid, and links each step to independent public explorers | That amounts are private: amounts and payout accounts are visible in the public record |
Compared
Accord is built for the case none of them cover: one outcome across several companies, with limits enforced below the model.
| All-or-nothing across companies | Neutral coordinator | Limits enforced below the model | Card in, bank out | |
|---|---|---|---|---|
| Temporal, Restate, Inngest | Within one company | No, run by one company | No | No |
| x402 | No, one payment per call | Yes | No | No |
| AP2 mandates | No | Partly | Approved, not enforced at settlement | Via cards |
| Stripe | No | No, Stripe decides | Partly | Yes |
| Accord | Yes | Rule-bound, publicly checkable | Yes | Card in during the private beta (by invitation); bank out coming soon |