OrcaReplay is a CLI that records coding agents, replays runs without calling models, and forks from checkpoints to compare models.
Overview
OrcaReplay helps debug autonomous coding agents by capturing full runs and letting you replay them byte-for-byte with no network or token spend. You can fork a recorded session from any checkpoint onto another model to see whether a different model would have succeeded.
It installs as an npm package that exposes the orca command on your PATH. Setup typically relies on a local proxy and two environment variables so agents need no SDK changes; optional TLS intercept can record agents that do not honor base URL overrides.
Replay blocks outbound model traffic by default while still executing recorded tool calls, surfacing shell exit codes, file writes, and timing the model API alone cannot show. Commands include replay, compare across models with a verify step, timeline UI export, graph views of causality, and prompt capture per model.
The tool pairs naturally with multi-provider gateways for comparisons but works with any OpenAI-compatible endpoint. Demo flows include a bundled buggy project that replays a fixed trace without spending tokens.
Key features
- Byte-for-byte offline replay
- Fork runs from derived checkpoints
- Multi-model compare with grading
- Local proxy via two env vars
- Timeline and HTML export
- Tool call and filesystem tracing
- Optional TLS intercept capture
- System prompt capture command
Use cases
- Debugging failed agent sessions
- Comparing models on identical state
- Sharing reproducible agent traces
- Offline demos without API keys