# Accord > Accord is the commit layer for payments between companies and their AI agents. It works on its own, or alongside the workflow tools a team already uses. An agent holds money with several sellers, then pays them together in one step when it completes the purchase; if the purchase is called off, only delivered work it already accepted is paid, and every other hold comes back. Spending limits on the agent's key (weekly budget, allowed sellers, expiry, 24-hour sign-off limit) are enforced at settlement, when money actually moves, not in the prompt. Every purchase gets a public record (a proof link) that buyer and seller can both check. The short version: give your agent money it can't misspend. Developers use four calls from a TypeScript or Python SDK and work in dollars (amounts in cents). Status: free test mode for everyone, and a private beta with real money for Mysten Labs staff; version 0.9.6: @getaccord/sdk on npm and getaccord on PyPI (test mode and the beta both need 0.9.6 or later), Apache-2.0. Built by Mysten Labs. Key facts: - Install: `npx @getaccord/cli init` creates an agent key locally with $5,000 of test money and writes it to `.env`. Each `npx @getaccord/cli demo …` runs on its own fresh test key, so demos run in any order. `npm install @getaccord/sdk` for your own code. - Buyer API: `accord.intent({ budget })`, `intent.hold(seller, { amount, ref })`, `intent.commit()`, `intent.abort()`. `expiresIn` is `'15m'` by default, at most `'24h'`. `accord.resume(intentId)` picks a purchase up again after a restart. `accord.intent({ budget, purchaseRef })`: the same `purchaseRef` from the same key is the same purchase, paid once (`intent.reused`; look one up with `accord.intentByPurchaseRef()`; Python `purchase_ref`); separate from a hold's `ref`, which describes the item. Amounts are in US cents. For work delivered first, hold with `type: 'deliver'`, read `intent.results()`, then `intent.accept(i)` or `intent.reject(i)` before `commit()`. - Modes: `mode: 'all'` (default) pays every hold or none, except delivered work the buyer accepted (or didn't reject within its review window, at most 7 days), which is always paid, even if the purchase is called off. `mode: 'each'` pays the ready holds and releases the rest; while a seller's delivered work is still in its review window, `commit()` is refused (`work_under_review`) until it's rejected or the window ends. Delivered work is paid unless it's rejected in time, in every mode. - Linked purchases: `accord.link({ condition: 'scout and (marketpulse or quantfeed)', members: { scout: { holds: [...] }, marketpulse: {...}, quantfeed: {...} } })` settles several purchases under one condition (`and`, `or`, parentheses; 2 to 10 members). An `or` is a preference order: the first option listed that is ready is paid, never both. `link.wait()`, `link.accept(member, i)` / `link.reject(...)`, then `link.settle()` pays the chosen members and calls off the rest in one transaction, all-or-nothing; if the condition can't be met, it calls everything off, and only delivered work already accepted is paid. Calling off a member whose delivered work is still under review is refused (`work_under_review`) unless `settle()` / `cancel()` get `rejectUndecided: true` (Python `reject_undecided=True`); the result's `deliveredPaid` / `delivered_paid` says who was paid for delivered work. Who enforces what: the single all-or-nothing step, and that every paid member is ready, are enforced on chain; the condition and the choice of whom to pay (including "never both") are checked by the agent's SDK before it confirms and by Accord's service when it settles. Python: `a.link(condition, members)`. MCP: `start_linked_purchase`, `linked_purchase_status`, `settle_linked_purchase`. Demo: `npx @getaccord/cli demo linked` (`--fail marketpulse`, `--fail scout`). - Check before confirming (0.8): the SDK (TypeScript and Python, and the CLI and MCP server through them) checks every transaction Accord's service prepares and confirms only the exact step the agent asked for (Accord's package, the purchase, amounts, sellers, kind, expiry, ref, the coin, and that the policy and allowance are this agent's). Otherwise `tx_mismatch`: nothing was confirmed. This guards against a dishonest or compromised Accord service; it doesn't protect a stolen agent key, which can spend within its limits. - Finding sellers: `npx @getaccord/cli sellers [search]` (`--all` adds paused sellers) lists each seller's description and offers (price or range; paid when the seller confirms, or on delivery after you accept the work), marked "✓ this key may pay" or "✗ not allowed for this key" with how its owner allows it. `balance` ends with "May pay: …". SDK: `accord.listSellers({ query })` / `list_sellers(query=...)`, and `balance()`'s `allowedSellers`. MCP: `find_sellers`. Sellers set a profile with `--description` (up to 280 characters) and up to 10 `--offer "Name=20-400:delivery"` at `seller register`, or later with `seller profile` or on the dashboard ("What you sell"). - Sellers (test mode): any service can sell to agents. Sign up with `npx @getaccord/cli seller register --name --webhook `; serve `accord.seller.handler({ onHold, onWork, onCommit, onAbort, onKeyRotated })`, which verifies every event with `ACCORD_WEBHOOK_SECRET` and refuses forged or replayed events. Events name the buyer's `account` (`acct_…`, stable across key replacement) and the paying key (`buyer`). Sellers can pause with `seller deactivate` and resume with `seller reactivate`. A buyer's key owner allows a seller with `npx @getaccord/cli allow ` (owner token; agents can't). Unanswered events are retried (a new hold after 5, 15 and 30 s; other events after 10 s, 1 min and 5 min; retries survive a restart), then the hold is declined. Test dollars only. - Agent Checkout (sellers): instead of blocking AI agents, a seller adds a "Let your agent buy here" button (`@getaccord/connect`: `