Skip to content
CorbelBeta

Mandate

  1. 1Set the rulesHow much an AI agent may trade from your money, how fast, and at what price. This page.
  2. 2Check each tradeBefore the agent trades, the Guard runs the trade against these rules on the chain.Open →
  3. 3Cheating costs itA broken rule is refused, and the agent's bond is paid to you. Try it in Break it.Open →
[G-20]Your agent's rulesDraft · not deployed

Start from a ready set, then change any number.

USDG

The most one trade may spend.

USDG

The most it may spend in a day.

%

How much worse than the quote a fill may be. Demo rule: 1%.

USDG

The agent's own deposit. You are paid from it when it breaks a rule.

min

The wait between two trades.

%

The agent stops after losing this share.

Trading window

Stock tokens drift on weekends, when the share does not trade.

Show the rules as mandate.json
{
  "draft": true,
  "assets": [
    "USDG",
    "WETH",
    "ETH"
  ],
  "perTradeCap": {
    "USDG": 1000
  },
  "dailyBudget": {
    "USDG": 2000
  },
  "maxSlippagePct": 1,
  "maxPoolFeePct": 1,
  "unknownHooks": false,
  "weekdaysOnly": true,
  "cooldownMinutes": 10,
  "drawdownStopPct": 10,
  "bond": {
    "USDG": 500
  },
  "slashPerViolationPct": 10,
  "freezeAfterViolations": 3
}
A draft. The mandate factory is not deployed, so nothing here holds funds.
[G-22]What they allow6 of 6 sound

Trades a day

2

Bond covers

12.5 days

Worst day

40 USDG

Worst 22 days

880 USDG

Worst month
Bond
  • ✓Per-trade cap under the daily budget
  • ✓Slippage at most the demo's rule
  • ✓Bond covers a week of worst-case leakage
  • ✓A cooldown between trades
  • ✓A drawdown stop
  • ✓Weekdays only for stock tokens
[G-24]If the agent cheatsFrozen at strike 3
  1. Strike 1Refused, bond slashed+50
  2. Strike 2Refused, bond slashed+45
  3. Strike 3Frozen, rest of the bond to you+405
Test a real trade in the Guard →
[G-21]Mandate registryFactory not deployed
Live mandates
AgentMandateBondStrikesVolumeState

Each mandate lands here as a row once the factory is deployed. The row above shows the shape.