Skip to content
For agents

Guide

Let your agent pay for its own tools

By Brennan Zambo · Published

Short answer: An AI agent can pay for tools on its own when the tool accepts a machine payment like x402, where the server answers "payment required" and the agent pays from its own wallet. On Zambo, the agent buys a $0.99, 24-hour Day Pass in USDC on Base, within the wallet policy you set, and keeps working.

The problem: paywalls stop agents

Autonomous agents run while you're away. When a tool hits a limit, a normal checkout needs a person to type a card number. The job stops until you come back.

x402 is built on the web's "402 Payment Required" response. The server tells the agent the price, the agent pays, and then it retries the request. There's no form and no human step, but only inside the rules you gave the agent's wallet.

How Zambo's limits work

Normal Zambo work calls share one 20-call daily allowance across tools, resetting at UTC midnight. Setup, status, and access-management calls remain available so users can connect an AI, check access, or upgrade. Individual tools and providers may have lower limits. After the shared allowance, work calls return a payment challenge; a Day Pass is one way to continue.

Step by step: the agent pays its own way

  1. Connect. Point the agent at https://zambo.dev/mcp. No key.
  2. Keep one session. The agent uses the same _session_id for the whole job, so the pass and the receipts attach to that job.
  3. Check headroom (optional). zambo_limit shows how many free calls are left per tool and the current tier.
  4. Hit the limit. At the cap, the tool returns 402 with the price: $0.99 for 24 hours.
  5. Pay. The agent calls day_pass_activate and pays $0.99 in USDC on Base with x402, under its own wallet policy.
  6. Confirm. day_pass_status, which is always free, checks the pass using the same _session_id.
  7. Retry and finish. The agent reruns the call and completes the job. Every call still returns a verifiable receipt.
  8. Close the job. workflow_close gathers the job's receipts into one summary receipt you can review when you're back.

If a person is around: day_pass_checkout_link creates a 30-minute short link for a human-approved $0.99 Day Pass by card or PayPal, and day_pass_activate finishes the setup.

Keep it safe

What you get

A receipt shows the saved output hasn't changed since the call. It doesn't prove the output is correct.

Related

FAQ

Can an AI agent pay for a tool without me approving each purchase?

Yes, within the wallet policy you set. On Zambo, the agent buys a $0.99 Day Pass with x402 in USDC on Base.

What is x402?

A way for a server to answer "payment required" with a price, so a program can pay and retry without a checkout page.

What does the Day Pass cover?

24 hours of access beyond the shared 20-call daily gateway limit, tied to the agent's session. Individual tools and providers can still have lower limits.

How do I stop an agent from overspending?

Fund its wallet with a small amount and set limits in the wallet policy. Each Day Pass is a one-time $0.99.

Can a human buy the Day Pass instead?

Yes. day_pass_checkout_link gives a 30-minute link to pay by card or PayPal.

CTA: Paste zambo.dev/mcp into your AI. Your agent can buy its own Day Pass when it needs one.

Add Zambo to my AISee what Zambo can do

All guides · Docs · For agents · Pricing

Keep going with Zambo in your AI

Get receipts for your own AI work. Add one link, then ask in plain English.

Add Zambo to your AI

Related questions

Try it: add https://zambo.dev/mcp to your AI