# Agent Wallet Treasury x402

- **Event:** [Meta Global AI Developer Hackathon](https://cerebralvalley.ai/e/meta-ai-developer-hackathon)
- **When:** Oct 26, 12:00 PM – Nov 4, 9:00 PM (EST)
- **Where:** Online
- **Team:** [Nick Majumdar](https://cerebralvalley.ai/u/Nick54321)
- **GitHub:** https://github.com/nick54321/agent-treasury
- **Demo video:** https://youtu.be/G1_PELhmbhM
- **Gallery:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4330

Agents are getting wallets. The moment one reads a poisoned web page, email or API response, “the agent can pay” becomes “anyone who can write text can pay.”

What we built: Agent Treasury is an open-source MCP server between an agent and its money.

Mandates: per-agent caps, payee allowlist and approval threshold.
Server-quoted prices: the policy sees the price the vendor’s 402 response asks for, never a number the model typed.
Taint escalation: once an agent has read untrusted content, its limits tighten and unknown payees are refused.
Out-of-band approval: the agent has no approve tool. A human approves in a dashboard, the CLI, or a signed, expiring push link, and each request executes at most once.
Safe budgets: check, decide and reserve are atomic, so parallel requests can’t overspend.
Audit: a signed hash-chained log with external anchoring, plus reporting and CSV export.

## More from Meta Global AI Developer Hackathon

- [Oja Ledger](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4327)
- [Reality Check](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4328)
- [vLock AI Vision](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4329)
- [Melissa](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4331)
- [Army of Artists](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4332)
- [MontClip](https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4333)

---

Markdown version of https://cerebralvalley.ai/e/meta-ai-developer-hackathon/hackathon/gallery/4330. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
