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
| Limit | Enforced by |
|---|---|
| Per call, per day (UTC), which assets, which round lengths, an end date | the AgentPolicy contract: RoundBook asks it before taking a call, and it reverts with AgentOverPerTrade, AgentOverPerDay, AgentWrongAsset, AgentWrongCadence or AgentExpired |
| Its total budget | Hedera: your USDC allowance to the Kakehiki vault, which the stepper raises by the agent's budget |
| What the House will take | the 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 needs | the agent's own rules, checked before every record |
| A guardian's per-action limit and budget, a DCA plan's sizes, an order's size | the 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
| Way | What happens |
|---|---|
| Revoke (Rules tab) | AgentPolicy.revoke ends its permission at once, on chain |
| Pause | it stops deciding; its records and limits stay |
| Delete | a 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.
How a decision runs
The agent decides, checks its limits, writes a hash-chained record to its own Hedera topic, waits for consensus, and only then acts. Anyone can check it from their browser.
News trader
Reads headlines and live prices, then calls the next round Up or Down with a stated chance, or holds and says why.