Spend Limit Policies
Spend limit policies control the maximum amount that can be spent per transaction, day, week, or month.Configuration
Create a SPEND_LIMIT policy and add rules via the API:Rule Types
| Rule Type | Description | Operator | Value |
|---|---|---|---|
MAX_AMOUNT | Maximum per single transaction | LESS_THAN | Amount (number) |
DAILY_LIMIT | Maximum total spend per day | LESS_THAN | Amount (number) |
WEEKLY_LIMIT | Maximum total spend per week | LESS_THAN | Amount (number) |
MONTHLY_LIMIT | Maximum total spend per month | LESS_THAN | Amount (number) |
BUDGET_CAP | Budget with period | LESS_THAN | {"amount": N, "period": "MONTHLY"} |
How It Works
- Per-Transaction: Checked against the requested amount
- Daily/Weekly/Monthly: Checked against cumulative spend + requested amount
Conto uses fixed-precision monetary values for spend limits, balances, and transaction amounts to avoid floating-point rounding issues in financial calculations.
Example Evaluation
Wallet-Level Limits
In addition to policies, limits can be set on the agent-wallet link:Auto-creation defaults: When an external wallet is auto-created, the system applies these defaults: daily = 5,000, monthly = $20,000, no per-transaction limit. You can override these when linking a wallet to an agent. Setting
spendLimitPerTx to 0 blocks all payments at the wallet level before policies are evaluated.Tracking Spend
The system tracks spending automatically:- spentToday - Resets at midnight UTC
- spentThisWeek - Resets Monday midnight UTC
- spentThisMonth - Resets 1st of month midnight UTC
Best Practices
Start Conservative
Start Conservative
Begin with low limits and increase based on operational needs:
Layer Limits
Layer Limits
Use multiple limit types for defense in depth:
- Per-tx: Prevents single large payments
- Daily: Limits daily exposure
- Monthly: Controls overall budget
Different Limits per Agent
Different Limits per Agent
Create different policies for different agent risk levels:
- Low-risk agents: Higher limits
- New agents: Lower limits until proven
- Critical agents: Strict limits + approval