Your agent needs a CFO,
not just a wallet
AgentKit gives agents wallets. x402 gives them payment rails. Nobody gives them operational finance — treasury vaults, yield automation, budget enforcement, owner extraction. ATP fills that gap.
┌─────────────────────────────────────────────────┐ │ AI Agent Business Logic │ │ (Claude, GPT, custom agents) │ ├─────────────────────────────────────────────────┤ │ ATP — "The Agent CFO" │ │ ┌──────────┬──────────┬──────────────────────┐ │ │ │ Treasury │ Payment │ Yield Engine │ │ │ │ Vault │ Controller│ (CrypWalk / Base) │ │ │ ├──────────┼──────────┼──────────────────────┤ │ │ │Extraction│Compliance│ Analytics Dashboard │ │ │ │ Stream │ Module │ (P&L, ROI, yield) │ │ │ └──────────┴──────────┴──────────────────────┘ │ ├─────────────────────────────────────────────────┤ │ TypeScript SDK │ REST API │ MCP Server │ ├─────────────────────────────────────────────────┤ │ Wallet Primitives (not ours) │ │ Coinbase AgentKit │ x402 │ CCTP │ Wallets │ ├─────────────────────────────────────────────────┤ │ Base L2 (Coinbase) + USDC │ └─────────────────────────────────────────────────┘
Six components. One agent CFO.
Policy-governed capital pools with sub-accounts for ops, experiments, and reserves. Agents request from vaults they don't fully control.
Idle USDC sweeps to Compound V3, Aave V3, Morpho on Base automatically. 15% performance fee, zero upfront cost.
x402 micropayment management with per-category budgets — LLM calls, compute, data. Auto-approve below threshold, queue above.
Owner pulls surplus above policy thresholds. Cooldown enforced. Every extraction logged for tax reporting.
KYC/AML counterparty registry, jurisdiction awareness, transaction monitoring, immutable audit export.
P&L per agent, ROI by spend category, yield performance, cash flow projections, extraction history.
What the SDK looks like
One import. Your agent has a CFO.
import { createTreasury } from '@wildrunai/atp-sdk'
const treasury = await createTreasury({
chain: 'base',
owner: '0xYourWalletAddress',
agent: '0xAgentSigningAddress',
policies: {
dailyLimit: 100, // USDC — agent cannot spend more per day
autoApproveBelow: 10, // auto-approve small payments
yieldStrategy: 'balanced', // idle funds → CrypWalk DeFi
minReserve: 200, // never deplete below this
},
})
// Agent pays for LLM call via x402
await treasury.pay({ to: 'api.anthropic.com', amount: 0.003, purpose: 'llm-query' })
// Idle funds → Compound V3 / Aave V3 / Morpho (via CrypWalk)
await treasury.sweep()
// Owner extracts surplus — only above reserve thresholds
const surplus = await treasury.extraction.available()
await treasury.extraction.extract({ to: '0xYourWallet', amount: surplus * 0.5 })
// P&L
const pnl = await treasury.analytics.pnl({ period: '30d' })Pricing
- ✓ Unlimited vaults (self-hosted)
- ✓ TypeScript SDK
- ✓ Smart contracts (Base)
- ✓ Community support
- ✓ 3 managed vaults
- ✓ REST API + MCP server
- ✓ Basic P&L analytics
- ✓ Audit log
- ✓ Email support
- ✓ 20 managed vaults
- ✓ Advanced analytics
- ✓ Full compliance module
- ✓ CSV/JSON audit export
- ✓ Priority support
- ✓ Unlimited vaults
- ✓ Fleet-level analytics
- ✓ Custom compliance rules
- ✓ Cross-chain (CCTP)
- ✓ SLA + dedicated support
Start with the guide
The complete architecture for an autonomous agent that manages its own money — treasury design, yield automation, compliance, and owner extraction. Includes code, diagrams, and decision frameworks.
Get the Guide — $199