Enforce Mode — Active Runtime Control
Enforce mode moves from observation to action. Budget caps, tool call limits, and compliance rules become hard constraints that shape agent behavior in real time.1
Switch to enforce
2
Add a budget cap
Wrap any block of agent work with If the agent exceeds $0.50, cascadeflow issues a
cascadeflow.run() and set a budget:stop action. The agent halts cleanly — no runaway spend.3
Combine budget with tool call limits
4
Add compliance gating
Restrict which models can process sensitive data:
5
See what happened
The decision trace shows every enforcement action:In enforce mode,
record['applied'] is True — actions are executed, not just logged.