Touchstone Reagent · Reactive Network
Exit on conduct, not on price.
A depositor's standing orders on a vault curator's conduct, enforced on two chains by a reactive contract that keeps watching while your agent sleeps.
Live · one recorded run
One run, second by second
The agent allocates, then goes offline. The curator breaches on Unichain Sepolia. Reactive pauses it on Ethereum Sepolia, the agent's next allocation is refused, the standing plan is held, and the patient exit lands after the drip. Drag the playhead or use the arrow keys.
Single-actor demo: we ran the curator, the depositor and the reactive contract; the breach was induced by moving the mock reference pool out of the curator's range.
Live · conduct loops
loops, each one on chain
Each dot is one curator Action carried end to end: the origin block on one chain, the reaction on Lasna, the Applied on the destination Hub. Time is destination block time minus origin block time, read from the chains. Hover or tap a dot for its three transactions.
Ethereum Sepolia makes a block about every 12 s, so a callback there waits for the next block: anywhere up to 12 s after a Unichain Sepolia origin, and at least one block (12 s) after an Ethereum Sepolia origin. Times are whole seconds; dots that share a second are spread around it. One dated batch: .
All loops as a table
Design · what runs where
Observe, remember, evaluate, react
Each chain checks what it can see, inside every allocation, with no wait. The reactive contract on Lasna holds what no single chain can see and pushes it to both. Tap a box to see its role and address.
AI reasons, code enforces and Reactive reacts, so the agent can sleep while the reaction logic stays active.
Illustration · runs in your browser, not on chain
Try the rules
Set a depositor's rules, then write the curator's history on two chains. Four allocations try to go in. The verdicts follow the Covenant's guard at the level of the rule table.
The owner's rules
Curator X's history
Tap a cell to cycle: Action → breach → vault EXITED → bond burn → empty.Four allocations try to go in
The agent tries to change the rules
A pure function, verdict(rules, history), mirrors the rule table: no gas, no scheduler, budgets as one number. The real guard is src/Covenant.sol.
Evidence · tests, attacks, mutants
How it is tested
Integration tests run on a real Touchstone deployment from its own factory, and we replay the Reactive side from exact LogRecords. Every attack test has a control that must win once the defence is removed, so a passing attack test shows that the defence is what stops it.
Curated mutants: each one names the test that must kill it
Attack cells: the attack loses, the control wins
Live runs on testnet
Invariants, fuzzed at 64 runs × 64 calls each suite run
Verify · addresses and links
Check it yourself
Every contract below is deployed and every transaction on this page is public. The Hub and the Covenant factory sit at one address on both origin chains.
git clone --recursive && cd touchstone-reagent && forge testThen read VERIFY.md and the raw evidence in audits/loops.json.