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

Agent-Xray: Open-source tool for debugging AI agent failures from trace logs
Agent-Xray is an MIT-licensed open-source tool that analyzes AI agent trace logs to classify failures into categories like spin, tool_bug, and early_abort, and includes an enforcement mode to test fixes against adversarial challenges.

cc+ Desktop App for Claude Code: Multi-Session Management and Fleet Orchestration
cc+ is an open-source desktop application for Claude Code built on the Claude Agent SDK, available for macOS and Linux. It provides multi-session tabs, live activity tree visualization, security scoring, workflow enforcement, and fleet orchestration capabilities.

Tacit: An LLM-First Programming Language Built with Claude Code and Opus 4.7
Tacit is an experimental LLM-first programming language designed and implemented using Claude Code and Opus 4.7. It strips away human conveniences to minimize token usage and ships with a primer that teaches mid-tier+ LLMs (Sonnet and above) how to write Tacit code.

Open-source MCP server enables AI agents to handle L402 payments via Lightning Network
A Python MCP plugin built with FastMCP intercepts HTTP 402 Payment Required responses, pays Lightning Network invoices, and retrieves data for AI agents. The repository includes a local dummy-agent for testing without spending real funds.