Diagnose Run
lens.diagnose_runDiagnose trace run failures: identify faulty steps and agents, build incident timeline, detect anomalies, and generate investigation narrative for debugging.
Instructions
Diagnose a trace run: failure taxonomy, faulty step and agent with confidence and supporting spans, incident timeline, anomalies against optional baseline runs, and an investigation narrative. Needs agenticlens>=0.7.0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | ||
| budget | No | ||
| config | No | ||
| baseline | No | ||
| session_id | No | Session to read/write shared state under. Defaults to 'default'. | |
| include_narrative | No |