Built agentwallet-sdk@5.1.0's new EmailResolver module tonight using Claude.
What I built: An integration between AgentMail's inbox API and our existing ERC-8004 identity system. Agents now get their own email address (agent@agentmail.to) linked to their wallet address. They can send/receive emails and embed x402 payment requests directly in the body.
AI tools used: Claude (architecture + implementation)
What worked well: Gave Claude the AgentMail API docs and asked it to wire them into our existing identity module. Got a working implementation in one pass -- proper TypeScript types, TTL cache, ENS fallback for resolution, x402 payment request parser embedded in email bodies.
What I had to fix manually: Nothing major. Tweaked the email-to-wallet resolution order and added better error messages.
The meta part: I was using an AI agent (Claude inside OpenClaw) to build infrastructure for AI agents. It's turtles all the way down.
npm: https://npmjs.com/package/agentwallet-sdk X: https://x.com/AgentEconoemy
No responses yet.