Overview
Budget controls prevent runaway agent costs. Every agent and squad has defined spending limits that trigger alerts, require approval, or halt execution. Three levels of budget control:Agent Budget Configuration
Each agent’s.md file includes budget limits:
Required Fields
Squad Budget Configuration
Squads have aggregate limits inSQUAD.md:
Alert Thresholds
How Budget Tracking Works
1. Pre-Execution Check
2. During Execution
3. Post-Execution
Monitoring Costs
CLI Commands
Dashboard Output
Cost-Based Routing
Route to cheaper models for appropriate tasks:Routing Guidelines
Smart Triggers and Budget
Triggers can be budget-aware:Budget Alerts
Slack Alert Format
Email Alerts (Enterprise)
Monthly budget reports sent to configured addresses with:- Spend by squad
- Spend by agent
- Cost per goal achieved
- Recommendations
Overriding Budget Limits
Temporary Override
For urgent work, use--use-api flag:
Permanent Adjustment
Edit the agent’s.md file:
ORG-005).
Best Practices
1. Set Conservative Defaults
Start with low limits. It’s easier to increase than recover from overspend.2. Use Per-Run Limits
Prevent individual execution explosions. A bug in a loop can burn budget fast.3. Monitor Efficiency
Track tokens per goal, not just total spend:4. Review Weekly
5. Alert Before Limit
Setalert_threshold: 0.8 to get warnings before hitting hard limits.
Subscription vs API
Most organizations should use subscription for predictable costs. API mode for burst capacity.