Table of Contents

Scenarios

A scenario is a complete path from a pattern in the agentic log to a measured result. Every page follows the same shape:

IF this appears in the log → THEN this is the setup → RESULT this is what it yields

New to the format? Read How scenarios are written.

Model and budget

Scenario Signal Setup
Oversized model on routine turns Success > 0.95 and turns ≤ median Model-downgrade recommendation
Turn budget too low or too high > 20% fail at the budget, or usage ≪ budget Raise to p90 × 1.2, or decay to p95 × 1.3
Reasoning effort rightsizing Thinking cost ≥ 5% on easy sessions, or > 3 failures without it Lower or raise extended thinking

Context and cache

Scenario Signal Setup
Context re-read every turn Last-turn input > 3× first, or plateau ≥ 3 turns at ≥ 20k Cap context at the session median
Context cap tuning Input > 10× output on a read call 2,000-line-per-file read cap
Cache written but never read Cache-read < 20% of cache-create Byte-identical stable prefix
Repeated identical prompts Same tool sequence > 10× across sessions 30-day semantic cache

Routing and batching

Scenario Signal Setup
Route to a cheaper comparable provider Cheaper model within 10% benchmark Routing rule in your gateway (projected)
Batching independent calls ≥ 3 rapid, short, independent turns One batched call

Reliability

Scenario Signal Setup
Retry storm on a failing tool ≥ 3 failed turns, tool overlap ≥ 0.80 Retry-storm circuit breaker
Stale scheduled automation Scheduled session, all success, output/input < 0.10, > 30 days Reduce frequency or disable

Tools and MCP companions

Scenario Signal Setup
Unused tool pruning Tool used in < 5% of sessions Remove from the toolset
Missing tool backfill Repeated sequence, or > 10 read calls Add a search/workflow MCP tool
MCP companion health and freshness Companion stale while the agent was active Fix the heartbeat before acting

Data sources the scenarios depend on

Most scenarios need at least one connector or MCP companion to have something to compare against. The Detectors page lists every pattern by category.