Skip to content
Platform documentation
Agent spending permissions
Guides

Agent spending permissions

Give an agent a bounded USDC budget without making prepaid access depend on it.

When do you need a mandate?

ActionFunded mandate required?
Use already-paid credits through paid_runNo. Active entitlement and enough credits are required.
Consume via the SDKNo. Authenticate and use an active entitlement.
Request a new payment through bagseven_fetchYes. Registered worker, mandate limits, and the required living grant are checked.

Create and fund a permission

  1. 1

    Open Agent spending

    Sign in to the dashboard and connect the owner wallet using Connect Wallet.

  2. 2

    Verify the connected wallet

    Choose Use connected wallet. If needed, sign the short-lived ownership challenge. This links wallet control to the signed-in account; it does not transfer funds.

  3. 3

    Sign fixed spending limits

    Choose the operator, per-window budget, lifetime cap, per-payment cap, per-provider percentage of the lifetime cap, window duration, and maximum delegation depth.

  4. 4

    Fund the deployed permission

    After creation, the new permission is selected. Approve a USDC transfer from the owner wallet. Creation alone leaves the vault unfunded.

Root agents and child agents

Agents are registered worker identities, not hosted AI models. A root worker is registered when the contract is created. An owner can sign delegation to register a child with a narrower allocation. Contract checks apply along its ancestor chain.

Connect the intended worker

Creating a root or child does not automatically switch the running MCP connection. BAGSEVEN_MCP_WORKER binds the MCP instance to one registered worker. OAuth credentials persist in PostgreSQL; requests use stateless transports. Changing the worker does not migrate a mandate or grant binding.

Withdraw and revoke

Withdraw unused USDC to the owner wallet. Revoke permanently stops future spending under the permission, while remaining owner funds can still be withdrawn. The connected wallet must match the permission owner; verifying another wallet does not transfer ownership.

Who pays for deployment gas?

Deployment uses the provider’s authorized dedicated gas account, funded with native AVAX. Platform-funded fallback is disabled. Funding, withdrawal, and revocation are approved in the owner’s wallet and need gas there. USDC cannot pay native gas.

Unavailable deployment

If no contract exists at a stored address on the configured chain, Bagseven shows deployment unavailable and disables spending. Do not fund an address until its network and deployment have been verified.

Bagseven documentationemail and wallet · Avalanche · Registry