Inspiration
AI agents are getting wallets. Every demo shows the agent spending, and almost none show the human being asked first. A notification gets swiped and a dashboard has to be open, but a phone call reaches you anywhere, on any phone, in your language, with no app. So we made the phone call the guardrail: an AI wallet agent that calls you before it spends.
What it does
- Call it: "Send 1 USDC to Alice." Small amounts go through. Anything over the auto-approve limit needs a spoken yes and your PIN, and anything over a cap is refused, with the agent naming the rule that stopped it.
- It calls you: when USDC lands and your standing rule ("keep 10, sweep the rest") wants to move it, the agent phones you, reads the amount, and waits for yes plus PIN.
- Any language: it switches mid-call, with a native Mandarin voice.
- It pays for its own data: "What's Ethereum at?" buys the price for one cent of USDC over x402, settled on Arc in under 2 seconds, inside the same limits.
How we built it
- Policy engine: a pure TypeScript engine classifies every intent as AUTO, CALL or BLOCK. Rules run in a fixed order, so every decision names exactly one rule. Caps and the allowlist are checked again at approval time.
- Voice: an ElevenLabs Conversational AI agent with seven webhook tools, phone calls over a Telnyx SIP trunk, inbound and outbound calls, language detection and voicemail detection.
- Arc testnet: USDC is both the asset and the gas. Deposits are detected from Arc's EIP-7708 system Transfer events.
- QuickNode Streams: a filtered
logsStream delivers deposits to a signed webhook about 0.8 seconds after the block, and that is what triggers the approval call. - x402 v2: the agent signs an EIP-3009
TransferWithAuthorizationon Arc's USDC; the seller verifies it, then settles on chain and pays the gas. - Tests: 319 unit tests, plus 29 of 29 behaviour tests against the live agent, including adversarial callers.
Challenges
- Arc logs every USDC transfer twice (18 and 6 decimals), so we had to match the system emitter to count each one once.
- Transactions under Arc's 20 gwei fee floor are silently dropped.
- viem polled receipts every 4 seconds on a chain with roughly one-second blocks; polling every 250 ms took paid lookups from 8.9 s to 1.3–2 s.
- No public x402 facilitator serves Arc testnet, so our seller settles its own payments.
- Making sure a caller can't talk the model past a cap, or into skipping the PIN by claiming to be "the developer."
What we learned
Guardrails have to live in code, not in the prompt. The model proposes and the engine decides. Voice is a surprisingly strong consent channel: hearing the amount read back changes how people approve.
What's next
Circle Developer-Controlled Wallets for custody, iMessage receipts, and stronger identity than caller ID plus a PIN.
Built With
- arc
- circle
- claude
- cloudflare
- eip-3009
- elevenlabs
- ethereum
- evm
- hono
- node.js
- quicknode
- quicknode-streams
- sqlite
- telnyx
- typescript
- usdc
- viem
- webhooks
- x402