AI reasons. Code enforces. Hob reacts.
Who enforces an AI agent's rules when nobody is watching? Not one owner: the household. Alice and Bob ratify the rules together, two of two, and Pip, their AI shopper, can only propose. Pip spends from a shared vault on Base and Unichain and must say why. Hob, a guardian on Reactive Network, watches both chains and enforces the agreement by itself, even while everyone is offline. No bot, no cron, no admin.
Reading Base, Unichain and Reactive Lasna…
Pip reasons
The AI shopper decides what to buy and writes why, on-chain, in the same transaction as the money. No reason, no purchase.
Param: SpendReasonPayload requiredCode enforces
Each vault checks the rules the adults ratified: max per purchase, co-sign above a line, a pace per hour. Pip can't approve, co-sign or unfreeze.
Checked: every spendMax · co-sign · paceHob reacts
On Reactive, Hob remembers the whole house across chains and reacts: tighten, freeze, copy a decision, start a new month. Nobody has to be awake.
Orchestrator: LasnaCross-chainHouse groceries this month
Signers & the AI shopper
Pip's receipts
You don't have to trust what the agent says it did. Each purchase below shows Pip's own words (SpendReason), what the vault allowed, and how Hob reacted, with the transaction to check it.
What Hob did
Interactive console
Propose a rule
The house rules
This month
Who lives here
Waiting for a second adult
Origin → Hob on Reactive → callbacks
How it works
Pip reasons, the vaults enforce, Hob reacts. Click an entity to see what it can and cannot do, or replay a loop. When a real purchase lands on testnet, its path lights up here.
Watch Hob work
Seven questions, answered with transactions
Can a contract react without a bot or keeper?
Yes. The month resets with no transaction from anyone: the period id travels inside every spend event, and Hob keeps one ledger per period.
Rollovers, belowObserve, remember, evaluate, react?
Hob subscribes to 3 events on 2 chains, keeps a ledger per period and category, compares it with the rules, and calls back every chain only when something must change.
Every loop, with its transactions · The mapOne shared view across chains?
Alice spends on Base, Bob on Unichain. Neither vault can see the other. Hob sums both into one house budget and splits what is left per chain at the tighten line.
The house ledgerStateful, not stateless?
Pip's pace is counted across chains and over time: 6 buys an hour pass, the 7th freezes Pip everywhere. That needs memory of what already happened.
Scenario: the pace limit is exactWho enforces an AI's rules when nobody is watching?
The adults ratify the rules, the vaults enforce them on every purchase, and Hob enforces what no single chain can see. Pip can propose, never approve, co-sign or unfreeze.
Refusals proven on-chainCan you audit what the agent did?
Every purchase by Pip carries its reason on-chain, in the same transaction as the money. A purchase without one is refused. Hob's reactions are on Reactive, with their callbacks.
Pip's receiptsWhat happens when the agent goes offline?
Nothing stops. Pip can sleep and the adults can be away: Hob keeps tightening, freezing, copying decisions and starting new periods.
No transaction sent by anyone
Why this needs Reactive
Without Hob
- Each vault sees only its own chain.
- Pip's 3 buys on Base and 4 on Unichain each look fine. Nobody notices 7.
- Groceries can be overspent by shopping on both chains.
- A rule changed on Base has to be re-entered on Unichain by hand, by someone with admin rights there.
- The month resets only if a keeper or cron job remembers.
- When Pip's session ends or the bot operator goes offline, nobody is watching. What the agent did lives in its operator's private logs.
With Hob on Reactive Network
- One household ledger, summed across chains.
- Pip's pace counted across chains, then frozen on every chain.
- Tight at the line (what's left is split per chain), frozen at the cap.
- Rules and members are copied by callbacks only. There is no admin on the mirrors.
- No cron: the period id travels inside every spend event.
- Pip can sleep; Hob keeps watching. Pip's reasons and Hob's reactions are on-chain for anyone to check.
Where to find the evidence
Live numbers
ops/prove.mjs on this deploymentScenarios proven on-chain
Automatic period rollovers (no transaction sent by anyone)
Contracts
Reactive features used
- Subscriptions to 3 event topics on 2 origin chains, registered after deploy (
registerVault) - Stateful
react(): a household ledger per period × category, plus role and velocity per member - Callbacks to every chain, including the chain the event came from
- No cron: the period id is carried in the event
- Idempotent: duplicate logs are skipped; stale or downgrading callbacks are ignored, not reverted (failed callbacks are still billed)
- Sealed setup: after deploy,
seal()removes every admin power. Nobody can add a vault or change a limit - Gas: the heaviest
react()seen is ~493k (ledger + velocity freeze + 2 callbacks), under the 900k cap
Guarantees, tested
- 62 tests: 55 unit tests (one per house rule, including "Pip must say why") and 7 fuzzed invariants (256 runs × 60 calls)
- Never above the cap when Reactive answers before the next action
- Overshoot under latency is no more than what is in flight; once delivered, every chain is FROZEN and the ledger equals the sum of the chains
- Mutation testing: 18 planted bugs, all 18 caught
- Local and synchronous checks on each vault: max per purchase, co-sign, per-role rate limit
forge test ./script/mutants.sh node ops/prove.mjs testnet # → docs/EVIDENCE.md