Agent Observability Trace Replay
Replays Datadog LLM Observability traces against local code to rapidly debug, iterate on outputs, and verify diffs.
Agent Observability Trace Replay enables developers to take a specific Datadog LLM Observability trace with undesirable output and re-run it directly against their local codebase. By leveraging the Datadog LLM Observability MCP or pup CLI, this skill creates an isolated local execution harness, applies iterative code adjustments, fetches the newly generated trace, and provides concise output diffs between iterations without polluting production telemetry or requiring live browser interfaces.
Key Features
01Interactive refinement loop for continuous code iteration and verification
02Generates isolated local replay runners targeting <ml_app>-local environments
03Compares old versus new span outputs with concise visual diffs
04Handles fan-out and batch traces to isolate representative branches and minimize token spend
05Fetches production LLM traces via Datadog MCP or pup CLI
06164 GitHub stars
Use Cases
01Debugging problematic production LLM outputs by reproducing them against local code
02Verifying regression fixes locally before pushing agent updates to production
03Iteratively refining prompts, model parameters, or agent tools with immediate diff feedback