Let your agent pay for APIs, services, and tasks autonomously — within budgets and policies you define. Open-source, works with fiat and crypto rails.
9 framework integrations · Python & TypeScript SDKs · MCP server · x402 live on Base
Your agent buys API credits, premium model access, or per-call services without you in the loop — but only within rules you set.
Spin up resources, subscribe to tools, top up data plans — each purchase checked against budget and category limits in real time.
Same policy engine for fiat and crypto. USDC on Base via x402 works today, with one unified budget across rails.
One policy engine sits between your agent and any payment rail — checks rules, decides, logs.
Budgets, category limits, schedules, per-request caps. Plain English or JSON — both work.
Before spending, the agent asks for approval with the amount, category, and description.
8 instant checks: budget, category, schedule, history. Auto-approve routine, escalate unusual.
Approved purchases proceed on the chosen rail. Every action logged with full audit trail.
Write rules like "max $100/day on cloud APIs, no weekend spending". Claude converts them to enforceable JSON.
Per-request, daily, weekly, monthly limits and overall budget — all checked in real time against actual spend.
Custom per-account categories. Different limits per category, with AI alias matching for free-form descriptions.
Allow spending only during business hours, block weekends, or define custom time windows per category.
Routine purchases within policy auto-approve. High-value or unusual ones wait for manual review.
See every request as it happens. Approve, reject, or review with full context and policy results.
Fiat (Stripe-style integrations) and x402 USDC settlements share the same policy and unified budget.
Run on your own infra, full source access. Or use the hosted SaaS — same engine, same APIs.
Pick what fits your stack — SDKs, MCP, REST, or any of 9 framework guides.
pip install letagentpay
client = LetAgentPay(token="agt_...")
result = client.request_purchase(
amount=49.99,
category="cloud",
)
# result.status: "auto_approved",
# "pending", or "rejected"Works with Claude Desktop, Cursor, and any MCP-compatible AI tool. One config line — your agent gets spending tools automatically.
Bearer token auth, simple HTTP endpoints. Works with any language. Full OpenAPI spec available.
Ship agents that pay for things — and ship them with guardrails users actually trust.
Let agents handle procurement, cloud, and SaaS with budgets and category limits per agent.
Already gave your agent a wallet? Add the policy layer that decides when it opens.
Free during early access. Setup takes under 5 minutes.