005AgentsPreview
Give a bot a budget it can't break.
Mandate
- 1Set the rulesHow much an AI agent may trade from your money, how fast, and at what price. This page.
- 2Check each tradeBefore the agent trades, the Guard runs the trade against these rules on the chain.Open →
- 3Cheating costs itA broken rule is refused, and the agent's bond is paid to you. Try it in Break it.Open →
Start from a ready set, then change any number.
The most one trade may spend.
The most it may spend in a day.
How much worse than the quote a fill may be. Demo rule: 1%.
The agent's own deposit. You are paid from it when it breaks a rule.
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
}Trades a day
2
Bond covers
12.5 days
Worst day
40 USDG
Worst 22 days
880 USDG
- ✓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
- Strike 1Refused, bond slashed+50
- Strike 2Refused, bond slashed+45
- Strike 3Frozen, rest of the bond to you+405
The agent wants to spend (USDG)
Already spent today
Price from the mark
Minutes since its last trade
Agent → buy with 250 USDG
- ✓Asset on the listUSDG is listed
- ✓Size250 against a cap of 1,000
- ✓Daily budget250 of 2,000 today
- ✓Price from mark0.5% against 1%
- ✓Windowa weekday
- ✓Cooldown60 min since the last trade, 10 needed
- ✓Pool approved by the ownerapproved
Every rule passes: the trade is made.
Run this trade against the real contract in the Guard →| Agent | Mandate | Bond | Strikes | Volume | State |
|---|---|---|---|---|---|
| No Depthory mandate factory or demonstration mandate has been configured. | |||||
Historical activity from another project is not included. Build a draft strategy or run a simulation while deployment is pending.