Record-replay debugger for AI agent runs
Project description
rewind
Record-replay debugger for AI agent runs.
An agent only touches the outside world through a narrow boundary: model calls in, tool calls out. rewind captures everything crossing that boundary, then replays it exactly — or branches from any step to explore alternate trajectories.
Installation
pip install rewind-llm
Quickstart
CLI proxy
# Record a session
rewind record -- claude "fix the bug"
# Replay it
rewind replay traces/anthropic_20260101_120000.jsonl -- claude "fix the bug"
CLI commands
rewind ls # List traces
rewind show <trace.jsonl> # Pretty-print
rewind diff <a.jsonl> <b.jsonl> [--html out.html] # Diff traces
rewind branch <trace> --at N --edit|--inject|--live # Branch
rewind record -- <cmd> # Record via proxy
rewind replay <trace> -- <cmd> # Replay via proxy
Development
pip install -e ".[dev]"
python -m pytest tests/ -v
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rewind_llm-0.4.0.tar.gz.
File metadata
- Download URL: rewind_llm-0.4.0.tar.gz
- Upload date:
- Size: 38.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2272b45c8694722326f72177a4c6daedd49f0252cc556067300302b15877cb5b
|
|
| MD5 |
ad42ce5208ee344f54004ba454d20671
|
|
| BLAKE2b-256 |
8b9774dde0f1c85bb0ca56021fdd17462387ee956c07e0720e2188df3337f852
|
Provenance
The following attestation bundles were made for rewind_llm-0.4.0.tar.gz:
Publisher:
ci.yml on Praashh/rewind
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rewind_llm-0.4.0.tar.gz -
Subject digest:
2272b45c8694722326f72177a4c6daedd49f0252cc556067300302b15877cb5b - Sigstore transparency entry: 2129859383
- Sigstore integration time:
-
Permalink:
Praashh/rewind@eb8b5375fbb67c5e197a370a38b48d3a8f15b443 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/Praashh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@eb8b5375fbb67c5e197a370a38b48d3a8f15b443 -
Trigger Event:
push
-
Statement type:
File details
Details for the file rewind_llm-0.4.0-py3-none-any.whl.
File metadata
- Download URL: rewind_llm-0.4.0-py3-none-any.whl
- Upload date:
- Size: 32.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db81a8dc8e598811f6c419d35d36edb959c721eb56f38d1df982114e669e1daf
|
|
| MD5 |
1db1d99ff40a333b39391e5500ab3519
|
|
| BLAKE2b-256 |
2ab56213d5c5eb629d19632f38d48073899dc3b29ba522dd964d13e8e7525d6f
|
Provenance
The following attestation bundles were made for rewind_llm-0.4.0-py3-none-any.whl:
Publisher:
ci.yml on Praashh/rewind
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rewind_llm-0.4.0-py3-none-any.whl -
Subject digest:
db81a8dc8e598811f6c419d35d36edb959c721eb56f38d1df982114e669e1daf - Sigstore transparency entry: 2129859390
- Sigstore integration time:
-
Permalink:
Praashh/rewind@eb8b5375fbb67c5e197a370a38b48d3a8f15b443 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/Praashh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@eb8b5375fbb67c5e197a370a38b48d3a8f15b443 -
Trigger Event:
push
-
Statement type: