Culpa: Open Source Deterministic Replay Engine for AI Agent Debugging

Culpa is an open source deterministic replay engine designed specifically for debugging AI agent sessions. The core problem it addresses is the nondeterministic nature of LLM agents—when they fail, you can't reproduce the exact failure by simply re-running the session.
How It Works
The tool records every LLM call along with the full execution context during an agent session. When you need to debug a failure, it replays the session using the recorded responses as stubs instead of making new API calls. This makes the replay fully deterministic and costs nothing since it doesn't hit the real APIs.
Key Features
- Proxy Mode: Works with tools like Claude Code and Cursor without requiring any code changes
- Python SDK: Available for developers building their own agents
- API Support: Compatible with Anthropic and OpenAI APIs
- Forking Capability: You can fork at any recorded decision point, inject a different response, and see what would have happened
Practical Benefits
Since the replay uses recorded responses instead of making actual API calls, debugging sessions incur zero API costs. The deterministic nature of replays makes it possible to reliably reproduce and analyze failures that would otherwise be impossible to recreate due to the inherent randomness in LLM responses.
The project is actively seeking feedback, particularly from developers building agent workflows. The creator notes they're a CS freshman and looking to improve the tool.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Adam: An Embeddable Cross-Platform AI Agent Library in C
Adam is a C library providing a complete agent loop with tool calling, memory, voice, and both cloud/local LLM support, designed to be embedded into any application.

Audacity MCP Server Gives Claude AI Full Audio Editing Control
A developer built an MCP server that connects Claude AI to Audacity via mod-script-pipe, providing 99 tools for natural language audio editing commands. The open-source tool works with Claude Desktop, Claude Code, or Cursor.
Agentalmanac: A Catalog of 23 MCP Servers with Paste-Ready JSON Configs
Reddit user catalogues 23 MCP servers with paste-ready configs for Claude Desktop, Cursor, and Continue. Routes around archived servers to maintained alternatives. Hosted demo runs on Cloudflare Workers.
Terry Tao Ports 24 Java Applets to JavaScript with LLM Agent — Finds Bugs in Original Code
Terence Tao used an LLM coding agent to port his 1999 Java applets to JavaScript in hours. The agent found two bugs in the original code and introduced only one minor drag-handling issue.