A Mandate is an AI agent’s spending rulebook. It defines the limits within which the agent can act autonomously — anything outside those limits is denied at the protocol level.

Think of a Mandate as a corporate spending policy that the network enforces, not the agent’s own code.

Three limit types

Every Mandate carries three limit fields:

FieldExampleWhat it bounds
Per-transaction$50Single action’s amount cannot exceed this
Daily$300Cumulative spend in a UTC day cannot exceed this
Monthly$5,000Cumulative spend in a UTC month cannot exceed this

Each is independently optional. A mandate with only a monthly limit allows any single transaction up to the monthly cap.

Authorization flow

When an agent wants to perform an action, it calls Authorize first, and the mandate decides yes or no. Regent confirms the agent is active and the mandate is active, then evaluates the requested amount against the per-transaction, daily, and monthly limits.

  • Within limits → the agent receives a one-time authorization JWT — a token proving the mandate consented to this specific amount at this moment.
  • Over a limit → a structured rejection (MANDATE_LIMIT_EXCEEDED), with no token issued.

The jti (JWT ID) is recorded in every subsequent audit event so the authorization trail is observable end-to-end.

What is on-chain, and what is not

The mandate’s existence, agent binding and revocation are written to Solana via the MandateRegistry program: a PDA per mandate id with registered_at, revoked and revoked_at. The ceilings are not on the chain — publishing an owner’s spending caps on a public ledger would leak their business, so the program never stored them.

The limits are still provable, by a different route:

  • Every change to the terms creates an immutable version with a salted SHA-256 commitment of the canonical terms (mandate_version, mandate_hash).
  • Every allow token, every completion receipt and every audit event carries that version and hash — and the audit events are Merkle-batched and anchored on Solana.
  • The owner reveals a version to an auditor or insurer with GET /v1/organizations/{org}/mandates/{id}/versions/{version} (snapshot + salt); the verifier recomputes the hash and matches it to the receipt. The receipt verify page does this recomputation in the browser.

So a compromised database cannot widen a limit after the fact: the receipt names the version that was in force, and that version’s hash is in an anchored audit trail.

Concurrency-safe enforcement

Spend counters are enforced atomically, server-side, so concurrent authorize calls cannot race past a limit. Two simultaneous authorizations that would each fit alone but exceed the cap together are handled correctly — only one succeeds.

Lifecycle

Created

The responsible party creates the mandate (dashboard, API or Admin MCP). It is active at once — the owner’s credential is the approval — and version 1 of its terms is committed.

Registered on Solana

blockchain-worker registers the mandate id and agent binding in MandateRegistry asynchronously; authorizations do not wait for the transaction.

Active

The agent can call /authorize against this mandate. Each call returns a JWT or a structured rejection code.

Suspended (automatic)

If the agent is revoked, all its active mandates are immediately suspended via the agent.revoked event consumer.

Revoked (explicit)

Responsible party can revoke a mandate explicitly while keeping the agent active.

One currency per mandate

A mandate is denominated in one currency and its limits are checked in that currency exactly: Regent never converts an amount in the decision path, so every signature and every receipt is over the numbers the owner saw. An agent may hold one active mandate per currency (a second one in the same currency is refused with MANDATE_EXISTS), and at most three currencies.

The gate resolves the mandate by the purchase currency: a charge in KZT is checked against the agent’s KZT budget, a charge in EUR against its EUR budget. The purchase currency comes from the rail (the provider’s own field or its price lookup), never from the agent. When there is no budget in that currency the refusal is MANDATE_NOT_FOUND with currency set — the agent’s next move is request_mandate(currency="EUR"), which a person approves. The standing allowance (“ask me above X”) is in one currency too; a purchase in any other currency asks a person every time until an allowance is set for it.

Each agent can have an allowance of its own; an agent without one follows the organization’s. The choice made when an agent is connected is that agent’s own, so connecting a second agent never moves the first one’s line. Set or clear it on the agent’s page in the console, or with PUT / DELETE /v1/organizations/{org}/control/allowance/agents/{agent_id}; the organization’s allowance (PUT …/control/allowance) moves only the agents that follow it.

Each organization has a home currency (set by “Where is your business?” at sign-up, changed in Settings): the currency new budgets default to and the one the console shows other amounts ”≈” against, at a labelled reference rate. It affects nothing a decision depends on.

Sandbox budgets by currency

A sandbox starts with a fixed budget per currency and the per-purchase figure is also the hard ceiling of every sandbox decision in that currency:

CurrencyPer purchasePer dayPer month
USD (and USDC)1005002 000
EUR904501 800
GBP804001 600
KZT50 000250 0001 000 000
SAR3751 8757 500
AED3701 8507 400

The full table is GET /v1/currencies (each entry’s sandbox). The numbers are fixed by decision, not tracked to a rate, and reviewed once a year. A sandbox cannot pay in a currency outside the table (SANDBOX_CEILING_UNKNOWN); a currency the registry does not know at all is refused everywhere (CURRENCY_UNKNOWN).

Caps per seller (terms-v4)

A mandate may carry a table of ceilings per counterparty, in the mandate’s currency:

matchper purchaseper month
arbuz.kz3 00020 000
kaspi.kz5 000—
*—10 000

match is a tool name, the counterparty as the rail names it (Agentcard’s store id amazon, a Stripe destination’s account id, a fixed tool’s merchant), or * for any seller not listed. Names are compared case-insensitively, without scheme, www. or a trailing slash, and a cap applies only at a boundary: arbuz.kz covers arbuz.kz/orders and arbuz.kz:443, never arbuz.kzshop.com; a dot is not a boundary, so arbuz does not cover arbuz.kz. The longest explicit match wins; under * the monthly figure is counted per seller. A name the rail never reports caps nothing: pick sellers from the names the console has seen. Sellers the table does not cover fall under the mandate’s flat limits. A refusal is MANDATE_LIMIT_EXCEEDED with category PER_COUNTERPARTY. The table is part of the signed terms: it enters the version snapshot (entity_limits, as canonical <match>=<per_tx|none>;<monthly|none>[;<daily>] strings) and therefore the mandate_hash in every receipt; both offline verifiers and the browser verify page read it.

A daily window per seller. Each entry may also carry daily_limit, the figure a person actually watches: {"match": "arbuz.kz", "per_tx_limit": "3000", "daily_limit": "6000", "monthly_limit": "20000"}. The day is a UTC calendar day (in Astana it turns over at 05:00 or 06:00 local time); a daily figure above the monthly one is refused. The third canonical field is written only where a daily figure is set, so a table without one keeps the exact string, and hash, it was signed with.

Who names the counterparty matters. The decision, the token and the receipt carry payee and payee_source: rail when the request was signed by the executing rail (a sidecar’s operator key, a Regent-run connector, or the Regent gateway itself, which signs every decision request it forwards with its own key — key_custody: pep in the receipt) and the rail named the seller; agent when it is the agent’s own word, exactly like the amount in a direct SDK call. Through the gateway the label is rail whatever credential the agent holds, a bearer credential included. Caps per seller are only as strong as that label, and the console shows it next to every payment. A policy can key on the same facts (context.payee, context.payee_source, context.payee_listed), for example “ask a person for any seller the owner never listed”.

Standard rejection codes

CodeMeaning
MANDATE_LIMIT_EXCEEDEDAction would exceed per-tx, daily, or monthly limit
MANDATE_SUSPENDEDMandate suspended (typically because agent was revoked)
MANDATE_NOT_FOUNDNo active mandate for this agent in the purchase currency (currency names it); ask for one
MANDATE_EXISTSThe agent already holds an active mandate in this currency; change its limits instead
TOO_MANY_CURRENCIESThe agent already holds budgets in three currencies
AGENT_NOT_ACTIVEUnderlying agent is revoked or never reached active
CURRENCY_MISMATCHRequest currency doesn’t match mandate currency (second-line check in the payment service)
CURRENCY_UNKNOWNThe purchase named a currency outside Regent’s registry
SANDBOX_CEILING_EXCEEDED / SANDBOX_CEILING_UNKNOWNAbove the sandbox ceiling for the currency / a currency a sandbox cannot pay in

The full error format is documented in REST API → Errors.

Which day is “today”

The daily and monthly figures are counted in the organization’s clock: the IANA zone it was given at sign-up from its country (Kazakhstan → Asia/Almaty, Saudi Arabia → Asia/Riyadh, Portugal → Europe/Lisbon), or UTC for countries with several zones until the owner sets one (PUT /v1/organizations/{org}/timezone). Every mandate carries the zone it was signed under (timezone in the mandate), so a budget signed in Almaty rolls over at Almaty midnight and a change of the organization’s zone affects mandates signed afterwards. Until 20 October 2026 every window rolled over at UTC midnight.