Routing inside an agent loop
Using AgentGuard for cost-bounded runs
PRYSM’s AgentGuard stops agent runs before they exceed a cost ceiling:max_cost_usd, the agent stops cleanly and returns what it has so far.
BRAIN.md: declare routing rules for your repo
Create aBRAIN.md at your repo root to set routing rules that apply automatically: