Quick Start
Architecture
Configuration
Via ManagerConfig
Via Environment
PerToolBudget
Methods
set_tool_budget()
get_tool_budget()
truncate_tool_output()
Protected Tools
Protected tools are not pruned during optimization:Integration with Composer
The composer uses per-tool budgets during context composition:Tool Output Pipeline
CLI Usage
Best Practices
- Set lower limits for verbose tools - Web search, file reads
- Higher limits for code execution - Need full output
- Protect critical tools - Don’t prune important outputs
- Monitor tool output usage - Check ledger stats

