Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.circle.com/llms.txt

Use this file to discover all available pages before exploring further.

Spending policies let you cap your agent wallet’s USDC transfers over a rolling time window, or restrict the wallet to specific recipient or contract addresses. Policies apply to mainnet agent wallets only.

Prerequisites

Before you begin, ensure you have:
Spending policies require a mainnet agent wallet. Testnet is not supported. Setting a policy triggers a second email OTP to confirm the change. The OTP is used once and not stored.

Steps

Choose the policy type that matches your goal.
1

Set the limits

Run circle wallet limit set with per-transaction, daily, weekly, and monthly caps:
circle wallet limit set \
  --address 0xYourWalletAddress \
  --chain BASE \
  --policy-type stablecoin \
  --per-tx 100 \
  --daily 500 \
  --weekly 2000 \
  --monthly 5000
Circle sends an email OTP to your agent session email to confirm the policy change. Limits must satisfy: per-transaction ≤ daily ≤ weekly ≤ monthly.
2

Verify the policy

Confirm the limits are in effect:
circle wallet limit --address 0xYourWalletAddress --chain BASE
See the CLI Command Reference for full syntax and options.