For the complete documentation index, see llms.txt. This page is also available as Markdown.

Agent Balance

Every agent gets a funded dollar balance you top up. You set the spend controls; the agent pays vendors per call, up to the limits you set.

That's the whole model: funded balance → spend controls → pay-per-call.


What you get

  • A funded balance. Top it up with a card, Apple Pay, Google Pay, or bank transfer. The agent spends from that balance.

  • Spend limits. Set a per-session ceiling with set_spend_limit; clear it with clear_spend_limit. A call that would exceed the cap is refused, not charged.

  • Allowed destinations. Restrict the wallet to a specific list of vendor endpoints.

Read state

await agentkit.run("get_wallet_balance", {});
await agentkit.run("get_spend_limit", {});

Maps to MCP tools: get_wallet_balance, get_spend_limit.

Manage spend caps

await agentkit.run("set_spend_limit", { limitRaw: "100000000" }); // $100 session cap
await agentkit.run("clear_spend_limit", {});

Last updated