pip install retracesoftware.proxy
no code changes, minimal overhead.
PREVIEW RELEASE: Python 3.11 only | Apache 2.0
Backed by Preston-Werner Ventures
One line install
Pip-install.
Production safe
Python level capture
Minimal Overhead
Optimised C. See benchmarks.
Deterministic Replay
Exact reproduction
VSCode Integration
Time-travel debugging
Debug Anything
Every thread, every call
--upgrade pip
python -m pip install
--upgrade retracesoftware.proxy requestspython -m retracesoftware.autoenable
# Installs Retrace and configures your Python 3.11 environment.
RETRACE_RECORDING_PATH=record
ing \
python your_app.py
# Records your application execution to ./recording/
Replace your_app.py with your Python script.
cd recording/run
python -m retracesoftware --recording
# VS Code debugging
code recording/replay.code-workspace
# Press F5 to start debugging
# Replays the recording deterministically.
Debug with breakpoints in VS Code or run via CLI.
During the recording phase, Retrace captures all I/O interactions and the program’s structure, storing everything needed to enable deterministic replay.
Using a custom proxy system, Retrace ensures that the program can be re-executed with the recorded I/O, faithfully reproducing its original behavior.
running normally
Retrace captures it
Replay in VSCode
Perfect for:
- Reproduce elusive prod-only bugs locally, even if logs are missing.
- Understanding complex code flows
- Stabilise flaky tests by replaying exact CI runs.
- Post-incident debugging
- Race conditions and timing issues
Follow the journey
We’re building deterministic record-replay for Python. Get launch updates, demos, and lessons learned as we go.