Sandbox open · India · no real money moves

Payment rails AI agents can be trusted with.

Agentgrid is payment infrastructure for AI agents on UPI rails. A payer blocks money for one agent at their own bank, the bank checks every payment the agent makes, and anything unusual waits for the payer's PIN. Agents pay. They never authorise.

Agents in the authorisation path
0
Signature on every request
Ed25519
Autonomy, per capability
L0–L3
agent payment trace live demo
agt_groceries pay ₹480.00
  1. Signed request arrives
  2. Signature, timestamp and nonce checked
  3. Bank checks the reserve
  4. Payer approves with PIN
  5. Debit hold, then credit
  6. Receipt sealed

Every step is recorded before the next one starts.

receipt9f2c…e41a

Agents never authorise. The payer's bank decides every payment, against limits the payer set with their PIN.

Every request is signed. Ed25519 over the method, path, time, nonce and body. A replay is refused.

A person keeps the PIN. Over the cap or to a new payee, the payment waits for the payer.

Every payment leaves evidence. Sealed receipts and an audit trail, allowed or refused.

Product

Money an agent can spend. Within limits the payer's bank enforces.

Agent reserves. Money a payer blocks at their bank for one agent, with the UPI PIN, like UPI Reserve Pay.

Signed agent identity. Each request is signed with Ed25519, with a timestamp and a nonce. Keys are published.

Approvals. Over the per-payment cap, or to a payee the agent may not pay, the payer decides with their PIN.

Pay per call. An API answers HTTP 402, the agent pays, then retries with a sealed receipt.

One-tap checkout. An agent pays a shop's order in one call, and the shop sees which agent paid.

MCP for any agent. One command connects an agent to its budget, with tools to pay and to check before it does.

For AI agent builders

Ready for AI agents. Give an agent a budget, not a card. It pays what it may and asks for the rest.

  • A budget, not a PIN.The payer sets an amount, a per-payment cap, an end date and, if they like, the payees. The agent never sees the PIN.
  • The bank says no.Outside the reserve, the payer's bank refuses the payment. There is nothing for the agent to talk its way around.
  • Retries are safe.One idempotency key per purchase. Retrying with the same key can never pay twice.
One reserve, three payments An agent has ₹2,000 reserved. Paying ₹480 for groceries succeeds. Paying ₹1,200 is over the cap, so it waits, the payer approves it, and it succeeds. Paying ₹90 to a payee that is not allowed is refused by the bank. reserve ₹2,000agt_groceries · cap ₹1,000 pay ₹480groceries pay ₹1,200needs approval pay ₹90not allowed payer's PINapproved paid paid refused by bank
The bank applies the reserve to each payment; only the payer can approve an exception.
agent · agentgrid-pay
  1. Buy this week's groceries from Raju Stores, under ₹600.
  2. Worked for 2s
  3. reserve_statusremaining 200000 paise · cap 100000 · rajustores@bank allowed
  4. ₹2,000 left, and Raju Stores is on your list. The basket comes to ₹480.
  5. payto rajustores@bank · ₹480.00 · key 7c1e…paid · receipt sealed
  6. Done. Paid ₹480.00 to Raju Stores for rice, dal, oil and onions. ₹1,520 is left in your reserve, and I kept the receipt.

Platform

Two planes, one hard line between them. A deterministic core moves the money. The agent plane works around it, and the line is enforced in code, not left to the prompt.

Agent plane

Proposes

  • IdentityEach agent has its own id and key
  • PolicyAn allow-list of tools, scopes and amount caps
  • Tools over MCPTyped and idempotent, from the same contracts as the API
  • EvalsMeasured before any capability gains autonomy
  • AuditEvery call, allowed or refused, with sealed evidence
authorisation boundary requests cross, decisions come back
Payment core

Decides and moves money

  • Hold before creditMoney is reserved at the payer's bank first
  • Idempotent by designThe same request twice is one payment
  • Pending, never fake-failedA lost reply becomes DEEMED and is checked
  • No balances at the switchBanks hold the money; the network routes it
  • Signed and mutually authenticatedEvery message between services

Agents also run the back office, and propose rather than act:

  • Transaction copilotExplains any payment from its events
  • Reconciliation and disputesMatches settlement files, triages disputes
  • IncidentsProposes the next step from a reviewed runbook
  • Bank onboardingProves an adapter against a conformance suite
  • Risk rulesDrafts and backtests rules; people publish them
  • Shop assistantAnswers from the shop's own orders

Trust

Autonomy is earned, one capability at a time. Set per capability, not per agent, and raised only when evaluations show it is safe.

  • Some actions can never be autonomous, whatever the setting says: upholding a dispute, any restart, risk rules and onboarding.
  • Evaluations include cases where the right answer is to do nothing.
  • Results are signed, and the agent being measured cannot promote itself.
  • A kill switch per agent, or for all of them, with no restart.

L2 · Act with review

The agent prepares the change in full: amounts, evidence, the runbook step. Nothing happens until a person approves it, and two people for anything above the limit.

Example A refund proposal joins the two-person approval queue.

Developers

Bring your own agent. Or your own code. An MCP server for agents and for shops, and SDKs in five languages that all pass the same shared test cases.

  • Agents connect with a one-time token the payer gets when they register the agent.
  • Or sign each HTTP request with Ed25519; active keys are published at /.well-known/agent-keys.
  • Shops give their own agents scoped keys, such as orders:read, never a full key.
  • Test mode with a simulator for declines, slow banks and pending payments.
  • Agents read the rules in one file: agentgrid.md.
claude mcp add --transport http agentgrid-pay https://<psp-host>/agent/mcp --header "Authorization: Bearer aat_..."
// Tools an agent gets on its payer's reserve:
reserve_status      // what is left, the cap, the payees
pay                 // pay a UPI address
pay_order           // pay a shop's checkout order
pay_api_call        // pay an API that answered 402
make_payment_token  // one payee, one exact amount
approval_status     // did the payer approve?

Rails

Underneath: a complete payment network. A switch, banks, a payment app and a merchant gateway, working end to end.

QR checkoutThe standard upi://pay code every UPI app reads
UPI LiteSmall payments in one tap, from a balance the bank holds
GST invoicesGapless numbers, tax per line, a pay link on each
AutopaySubscriptions on mandates the payer's bank enforces
8 languagesCheckout, invoices and links in each customer's language
WhatsApp ordersA message becomes a draft invoice
Two-person refundsAbove a limit, one asks and another approves
Back officeSettlement, reconciliation, disputes, audit

Give your agent a budget, not your PIN.

Start in the sandbox today: demo banks, no real money.