@getaccord/cli
npx @getaccord/cli init # creates an agent key on your machine, $5,000 of test money for a test account, writes .env
npx @getaccord/cli demo --fail ridenow # RideNow declines: every hold released, nobody paid
npx @getaccord/cli demo # flight, hotel and car: all three paid in one step
npx @getaccord/cli demo hire --fail canvas # canvas delivers poor work: rejected, only scout is paid
npx @getaccord/cli demo hire # two agents deliver work; each is paid only if it passes
npx @getaccord/cli demo data # three data providers; only the fresh ones are paid
npx @getaccord/cli demo linked # a research brief: scout's research and price data from one provider, never both
npx @getaccord/cli demo linked --fail marketpulse # marketpulse declines: quantfeed completes the brief
npx @getaccord/cli demo injection # a $500-a-week agent obeys two prompt injections; the limits hold
npx @getaccord/cli try # a $1 test purchase with this folder's key, paid in one step
npx @getaccord/cli try --purchase-ref order-42 # run it twice: the same purchase, paid once
npx @getaccord/cli purchase --purchase-ref order-42 # the purchase this key opened with that purchase ref
npx @getaccord/cli balance # what's left this week, the sellers this key may pay ("May pay"), and each seller's limit
npx @getaccord/cli sellers # who sells what, and which sellers this key may pay
npx @getaccord/cli sellers "price data" # only sellers whose name, description or offers mention it
npx @getaccord/cli sellers --all # paused sellers too
npx @getaccord/cli allow <seller> # owner only: let this key pay a seller (uses the owner token)
npx @getaccord/cli revoke <0x…> # owner only: stop a key (its full ID, from balance) from paying
npx @getaccord/cli seller register --name my-shop --webhook https://your-host/accord \
--description "Research briefs on request." --offer "Research brief=20-400:delivery" # sell through Accord (test mode)
npx @getaccord/cli seller profile --offer "Research brief=25-400:delivery" # change what you list
npx @getaccord/cli seller ping # send a signed test event to your webhook
npx @getaccord/cli seller deactivate # stop accepting payments (seller reactivate undoes it)
Your agent key never leaves your machine; Accord only receives its public ID. init also saves an owner token to ~/.accord/owner-<key id>, readable only by you and never in .env: it proves you own the key, for owner-only changes such as its allowed sellers. Keep it away from your agents. Test keys get $2,000 a week, the demo sellers (all but quickpay), 30 days, and a person's sign-off once unapproved spending passes $1,500 in 24 hours. Each demo runs on its own fresh test key, so you can run them in any order, and your key's $2,000 week stays free for your own code. init --force gets a fresh test key.
The CLI checks each transaction against the chain itself, through Sui's public node for the network. Set ACCORD_SUI_RPC (in the environment or .env) to use another node.
Amounts can be as small as $0.0001, and a purchase pays in one dollar coin: the usual one (the Sui Dollar, symbol USDsui; testUSD in test mode) or USDC. Accord supports only 6-decimal dollar coins.
Limits per seller. An owner can cap one seller, in amount, number of payments or both, in any 24 hours, 7 days or 30 days. Dashboard owners use Limit… on the key's page; for a test key, POST /v1/keys/seller-rules with the owner token (see examples/seller-limits). A hold over it is refused with seller_cap_exceeded or seller_too_often. In Test mode and in Live (Live since 2026-11-25).
init --code K7RM-Q2XP makes a key for a dashboard account instead of a test account. The owner makes the one-time pairing code at app.useaccord.ai (Agents → Connect an agent; it works once, for 15 minutes, or 24 hours if they choose), then adds the key and sets its limits there. init --owner alice@acc (or the full account ID) does the same without a code, but only for an account that turned on requests without a pairing code in Settings; otherwise it's refused with "This account doesn't accept open requests. Ask the owner for a pairing code."
Sellers and what they sell
sellers [search] lists Accord's seller directory: each seller's description, its offers with a price or price range, and whether each is paid when the seller confirms or on delivery (you accept the work first). Run in a folder with a key (.env), it marks each seller ✓ (this key may pay it) or ✗, and says how the key's owner allows one marked ✗. balance also lists the sellers the key may pay (May pay: …, with paused ones marked (paused)).
A seller lists what it sells with seller register or, later, seller profile (in the folder with .env.seller):
--description <text>: a sentence or two, up to 280 characters.
--offer "<name>=<price>[:delivery]" or --offer "<name>=<from>-<to>[:delivery]": dollars, up to 2 decimals; :confirm (the default) means paid when the seller confirms, :delivery paid once the buyer accepts the delivered work. Repeat --offer for each, up to 10. seller profile --offer … replaces the whole list.
The dashboard's seller page has the same, under "What you sell".
Due payments
If a due payment hasn't arrived, you can collect it yourself, with no Accord service involved. Your key pays the small network fee in SUI:
npx @getaccord/cli collect # everything due to you (ACCORD_SELLER_ID and ACCORD_PAYOUT_KEY from .env.seller)
npx @getaccord/cli collect 0x… --dry-run # one purchase: check only
--key-file <file> signs with another key, and --network mainnet collects on mainnet. A payment that can't be collected yet says why: not due yet, not confirmed, you were taken off the key, the key was turned off, or it's already paid.
Linked purchases
demo linked runs a research brief as a linked purchase, on its own fresh test key. The condition is scout and (marketpulse or quantfeed): scout delivers research (paid only if its work passes), and price data comes from marketpulse or quantfeed, whichever is ready (marketpulse if both are), never both. Nothing is paid until one step pays the chosen sellers and calls off the rest. --fail marketpulse (or quantfeed) makes that provider decline, and the other completes the brief; --fail scout makes scout deliver poor work, which is rejected, so everything is called off and nobody is paid.
Then write your own with @getaccord/sdk.