
Agents spend. Levee decides. Authorization for AI agent payments. Sandbox soon
Joined November 2026
- Tweets4
- Following10
- Followers2
- Likes26
Since Nov 24, Wells Fargo's terms say anything an AI agent does on your account is "deemed initiated and authorized directly by you."
Think about what that means the first time an agent buys the wrong thing. The argument stops being about the model and turns into one about evidence. What did you actually allow, and can you prove it? If the proof is a log kept by the company whose system approved the charge, that's a witness testifying about itself.
So for Levee I wanted the record of every approve, decline and challenge to be something you can check offline, years later, without trusting us.
Every decision is an entry with a sequence number, a type, a timestamp, links to the mandate and the card, a hash of the payload, and the hash of the entry before it. Hash all of that and the next entry points at it. Change one old decision and every hash after it breaks.
The fiddliest bit turned out to be getting Node and Rust to hash the same JSON to the same bytes. Key order, whitespace and floats all come out differently. So everything goes through RFC 8785 (JCS), money is integer minor units, floats are banned outright, and times are RFC 3339 strings with milliseconds. Then SHA-256 over those bytes.
A chain alone doesn't stop the operator (us) from rebuilding the whole thing from scratch. So each entry hash is signed with Ed25519, and checkpoints sign a Merkle root over a range of entries (RFC 6962, the same tree Certificate Transparency uses). Anchoring those checkpoints somewhere outside Levee is the next step, and it isn't built yet.
Payloads live outside the chain, which keeps only their hashes. If someone asks to be deleted, you destroy the payload's key and the chain still verifies. Privacy and auditability stop fighting each other.
The verifier is a small CLI. Give it an evidence pack and it loads the compiled ledger WASM, touches no database and no network, and exits 0 if everything checks out. The format is frozen as v1, with a test vector every implementation has to match byte for byte.
My guess is that "show me the signed record" becomes a normal question in agent payments pretty soon.
A question I keep asking founders who run agents with a company card:
If your agent spent $3,800 on GPU credits over the weekend, and finance asked on Monday who approved it, what would you show them?
Most answers so far are some version of "the agent had access." A few say "it's in our logs."
Access isn't approval though. And the logs were written by the same system that made the purchase, so they prove what happened, not that it was allowed.
With employees this is solved and nobody thinks about it. There's an expense policy, someone signs off, the receipt goes in a folder. When an auditor asks, you pull the folder.
Agents skip all of that. They get a key and a card and we hope.
At @levee_dev we start from the folder. Before the agent spends anything, a person signs off on what it can buy, from where, how much and until when, with a passkey on their phone. Each payment gets checked against that sign-off before the money moves. Every yes and every no goes into a record you can check yourself, offline, without having to trust us.
So the Monday answer becomes: this is what I approved, this is the payment, they match, and the record hasn't been touched.
I think this is where agent payments get stuck inside real companies. Not at "can the agent pay" but at "can we prove it was allowed to."
Curious how teams are handling this today. Are you approving agent spend at all, or just capping the card and hoping?
