Agents

Limits and custody

What an agent can never do, who enforces each limit, and the two ways you take its permission back.

Who enforces what

LimitEnforced by
Per call, per day (UTC), which assets, which round lengths, an end datethe AgentPolicy contract: RoundBook asks it before taking a call, and it reverts with AgentOverPerTrade, AgentOverPerDay, AgentWrongAsset, AgentWrongCadence or AgentExpired
Its total budgetHedera: your USDC allowance to the Kakehiki vault, which the stepper raises by the agent's budget
What the House will takethe House vault's caps (2% of capital per call, 4% per side, 10% open)
Ask me first above an amount, stop after losses in a row, the edge it needsthe agent's own rules, checked before every record
A guardian's per-action limit and budget, a DCA plan's sizes, an order's sizethe job's own contract (MorphoGuardian, DcaScheduler, OrderVault), signed by you

A News trader runs these checks in order before every call: the round is open, one call per round, the smallest stake, per call and today's budget (AgentPolicy), your allowance (Hedera), your USDC balance (Hedera), the House's per-call cap, the House taking new risk, HBAR for its fees, losses in a row, and its edge over the price.

Its keys

  • Each agent has its own Hedera account. Its account key is a key list with a threshold of 1: its key or yours, so you can always move what's in it yourself.
  • Its ECDSA key is sealed at rest (XChaCha20-Poly1305) and only Kakehiki's worker can open it. The web app holds no signing key: your limits, budget and revokes are signed in your own wallet.

Taking it back

WayWhat happens
Revoke (Rules tab)AgentPolicy.revoke ends its permission at once, on chain
Pauseit stops deciding; its records and limits stay
Deletea last delete record goes to its topic, open calls still pay you, and its account is deleted with the rest of its HBAR sent to you. Its topic and every record stay on Hedera.

A watcher also pauses any agent whose permission on chain has gone, however it went.

On this page