Skip to main content

Record-replay debugger for AI agent runs

Project description

rewind

PyPI Python License: MIT

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rewind_llm-0.4.0.tar.gz (38.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rewind_llm-0.4.0-py3-none-any.whl (32.9 kB view details)

Uploaded Python 3

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

Hashes for rewind_llm-0.4.0.tar.gz
Algorithm Hash digest
SHA256 2272b45c8694722326f72177a4c6daedd49f0252cc556067300302b15877cb5b
MD5 ad42ce5208ee344f54004ba454d20671
BLAKE2b-256 8b9774dde0f1c85bb0ca56021fdd17462387ee956c07e0720e2188df3337f852

See more details on using hashes here.

Provenance

The following attestation bundles were made for rewind_llm-0.4.0.tar.gz:

Publisher: ci.yml on Praashh/rewind

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for rewind_llm-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 db81a8dc8e598811f6c419d35d36edb959c721eb56f38d1df982114e669e1daf
MD5 1db1d99ff40a333b39391e5500ab3519
BLAKE2b-256 2ab56213d5c5eb629d19632f38d48073899dc3b29ba522dd964d13e8e7525d6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for rewind_llm-0.4.0-py3-none-any.whl:

Publisher: ci.yml on Praashh/rewind

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page