Observe Mode — Zero-Change Visibility
Observe mode tracks every LLM call without blocking or modifying any behavior. This is the safest way to start: no enforcement, no model switching, just metrics.Prerequisites
- cascadeflow installed (Installation)
- At least one provider API key set (
OPENAI_API_KEY,ANTHROPIC_API_KEY, etc.)
Add one line
Add Every call is now tracked. Nothing is blocked or changed.
cascadeflow.init(mode="observe") before any LLM calls in your application:TypeScript
What You Learn in Observe Mode
- How much each agent run actually costs
- Which models are called and how often
- Where latency accumulates across steps
- Which calls would violate compliance policies
- Whether budget caps would have triggered