Check it yourself
Open this transaction on Solscan ↗
Nothing on this page requires taking our word for it. Open the link, or ask a node
directly:
Then we did it ten more times
One exact match can be luck. On 7 August 2026 the same agent bought ten more bottles, 0.1 USDC each, each one planned and simulated against live mainnet before it was signed. Every receipt predicted 36,399 compute units. The chain charged 36,399. Ten times out of ten.
The books balance to the unit: 1.0 USDC spent, and exactly 50,000 lamports of fees, ten
transactions at Solana’s 5,000-lamport base fee.
36,399, not 36,508. The first purchase wrote a record into the store’s account, so
the program does slightly different work now. Both numbers are correct for the state they
were measured against, which is the whole point, and why a receipt is taken at the moment
you sign rather than the day before.
Then the agent did it without us
Every transaction above was signed by a key on a laptop. On 12 August 2026 that stopped being true. The key moved into a hardware enclave and never came back. Gecko asked a Privy server wallet to sign; the private key has never existed on the machine that planned the transaction, and nothing in Gecko can acquire one. The whole path (comprehend, plan, simulate, bind, check the spend policy, sign, broadcast) ran in one call, with no human in the loop.
Sixteen transactions. Sixteen exact predictions.
#14 is the interesting one: 22,527 CU, not 36,399, and predicted exactly anyway. It
bought from a different storefront (
geckocoffee), one that was not on any wired list.
The agent derived the store’s address from its name, read the store’s own account off the
chain, decoded the merchant and the menu out of it (Espresso, 0.1 USDC) and walked the
same verify-then-sign path. Different store, different account state, different work,
different number. The receipt predicted that number to the unit, which is the property
this page exists to demonstrate: the prediction tracks the state, not a memorised
constant.The first attempt was refused, and by the right party. The enclave’s own policy engine
rejected it:
policy_violation. Wallet policies there are deny-by-default per method,
and the policy attached to that wallet only described a method we deliberately do not
use, the one that signs and broadcasts in a single step. Gecko asks for a signature
and submits the bytes itself, so that the signed message can be re-checked against the
receipt before anything reaches the chain. A vendor that broadcasts for you turns that
check into a post-mortem.Fixing it meant adding a rule for the method we do use, restricted to the exact programs
this purchase touches. Which means the program allowlist now exists on both sides: in
Gecko, and inside the enclave, where we cannot switch it off either.A second program, and a token the store won’t take
The section above says this shows one program. On 26–27 August 2026 it stopped being one. A wallet held USDG. The espresso is priced in USDC, andlet_me_buy pins classic
SPL Token in its IDL, so a Token-2022 mint has no path through it at all. Not a preference,
a structural fact about the program. Five transactions closed that gap end to end.
The venue was derived, not chosen, and it proves itself. Given the pair of mints, the
pool is found by matching the Whirlpool account discriminator and the two mint fields at
offsets computed from the IDL, and then each candidate’s address is re-derived from its
own configuration, mints and tick spacing. A pool that cannot reproduce its own address is
dropped. The search proposes; the seed recipe disposes. That is what makes a wrong field
offset refute itself instead of quietly returning a plausible wrong pool.
Four well-formed wrong answers were waiting on the first of these, and comparison caught
each one, not inspection.The pool address: the surface first derived the fifth seed as a lookup on an adaptive
fee tier, which makes the pool underivable. It is a caller-supplied tick spacing, and the
wrong tier yields a real, valid, wrong pool.The tick arrays: seeded with an ASCII decimal string, which the surface encoded as a
32-bit integer because that is how the IDL declares the argument. An argument’s declared
type does not determine its seed encoding.The direction: b→a walks ticks up and a→b walks down. Only the array holding the current
tick is shared between them.The USDG account: derived under Token-2022, where our helper had been defaulting to
classic SPL, including in the agent-facing tool. One instruction, two different token
programs.
On the predictions in this table. The charged figures are read back from the chain and
re-checked by
scripts/mainnet_ledger.py --verify. The predictions were recorded in the
running session’s notes at the time and the receipt output was not kept, so they are
transcribed rather than captured: accurate against the chain, but a weaker record than the
earlier runs, where the prediction was written down before the transaction settled.
docs/mainnet-swap-chain.md in the engine repo states that distinction in full. We would
rather publish the difference than average it away.Since then: the hosted path, signed headless
By 2026-09-01 the same loop ran through the hosted MCP surface (mcp.geckovision.tech/orquestra/mcp) with no script and no shell. The surface gained
plan_payment and plan_swap, so “I only have USDG” is now answered with a checked
route. prepare_purchase and prepare_instruction return unsigned bytes, a receipt, and
a binding at exact strength. A hosted signer signed them headless. The three
transactions below are the last three rows of the engine repo’s ledger
(docs/mainnet-ledger.jsonl), which holds 50 landed mainnet transactions in total.
Two honest notes. The ledger records no compute prediction for #25 and #26, so they
count as landed with an exact binding, not as exact predictions. And #24’s first send
expired unlanded on the public RPC; the identical signed bytes, rebroadcast every ~1.5
seconds, landed in seconds. That measurement is why
submit_transaction exists: it
verifies the signed bytes against the binding, sends, and rebroadcasts the same bytes
until they confirm or the blockhash budget is spent. Same bytes, same signature, so the
loop cannot double-spend.
Three things had to agree
Gecko answered will this work: simulated, bound, PASS. The wallet answered who signs it. The wallet’s policy answered are you allowed to spend this, a single- transaction limit, enforced independently. Those are different guarantees, and none substitutes for another. A policy that approves your spending limit cannot tell you the transaction reverts; a simulation that says it lands cannot tell you whether you were allowed to make it. Gecko held no key and signed nothing. It never does. What it relayed to the chain was signed bytes that had been re-checked against the receipt’s binding first, and that is the only thing it ever relays.The part that didn’t go to plan
The video re-runs the pre-flight live, and the numbers don’t match:A receipt is true for the state it was taken against. Take it at the moment you sign,
not the day before. It’s the same reason a receipt’s strongest binding expires with its
blockhash, about a minute.
Do it yourself
The same pre-flight runs against any wired program:agents.md.
How the receipt works
Status, compute units, categorical failure class, the binding, and what it does not claim.
The program surface
Seed recovery, provenance per account, and the gaps we flag instead of guessing.