/context budget to see segment allocation.
How It Works
Quick Start
1
Run an agent, then inspect budget
2
Increase output reserve for long replies
CLI Flags
Interactive Commands
/context budget output:
config.yaml
PRAISONAI_CONTEXT_OUTPUT_RESERVE.
Best Practices
Raise output reserve before raising compaction threshold
Raise output reserve before raising compaction threshold
If replies are cut off, increase
--context-output-reserve first — compaction may not be the issue.Check /context stats after heavy tool use
Check /context stats after heavy tool use
Tool outputs consume the largest share; stats show which segment is filling fastest.
Pair with token estimation mode
Pair with token estimation mode
Use Token Estimation CLI accurate mode when validating budget numbers.
Related
Token Estimation CLI
Configure estimation accuracy
Context Compaction
Automatic overflow protection

