TraceForge drops deterministic replay for AI agents
TraceForge is an open-source CLI and library providing byte-exact record and replay debugging for LLM coding agents via transport-boundary fetch interception. It stores sessions and custom I/O in content-addressed SQLite journals, enabling developers to reproduce multi-step agent failures and fork alternative execution paths offline at zero token cost.
Debugging multi-step agent crashes has long been an expensive nightmare of non-deterministic re-runs and wasted tokens. TraceForge brings the time-travel debugging guarantees of systems like rr to AI engineering without heavyweight proxy setups.
- –Intercepts requests directly at the SDK fetch boundary, avoiding cumbersome proxy servers, certificate trust stores, or monkey-patching
- –SQLite WAL journaling captures exact SSE streaming chunks and pairs concurrent requests by recorded arrival order
- –Counterfactual forking allows developers to rewrite an agent's response at step N and inspect downstream divergence offline
- –Content-addressed SHA-256 storage redacts API credentials while stripping volatile headers to guarantee replay cache hits
- –Current support centers on the Anthropic SDK with manual session.io wrapping, meaning broader multi-framework support remains the next hurdle
DISCOVERED
37m ago
2026-11-24
PUBLISHED
2h ago
2026-11-24
RELEVANCE
AUTHOR
Vijaypnin