Skip to main content

Debugger Demo

File: examples/coding_agent_debugger_demo.py

Synthetic debugger and UI demo. Records command executions, file reads/writes, patches, and failure states without needing a live model — useful for testing divergence detection and trace visualization.

Run

uv run examples/coding_agent_debugger_demo.py --scenario correct_edit

Scenarios

ScenarioDescription
correct_editA successful agent run with the expected file edits
wrong_fileThe agent modifies the wrong file and fails to recover
retry_without_adaptationThe agent retries the same failing action without changing strategy
same_tools_different_artifactThe tool sequence stays the same, but the final artifact changes

When to Use

Use this when you want a dense trace to inspect the dashboard, timeline, and artifact views — without needing a live LLM connection.

💬 Comments