Skip to main content

Record, replay, and diff agent runs (LLMs + tools) for reproducibility and regression testing.

Project description

AgentReplay (v0.1)

A small OSS library to record, replay, and diff agent runs (LLM + tools).

What "replay" means in v0.1

  • Replays a run by mocking tool outputs from the recorded trace.
  • Useful to reproduce failures, debug step-by-step, and detect regressions via diffs.

Install

## Quickstart (Windows PowerShell)
```powershell
python -m venv .venv
.venv\Scripts\Activate.ps1
pip install -e ".[dev]"
python examples\plain_python_agent.py

agentreplay runs list --db agentreplay.db
agentreplay export <RUN_ID> -o repro.areplay --db agentreplay.db
agentreplay import repro.areplay --db agentreplay.db
agentreplay replay <RUN_ID> --strict --db agentreplay.db

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

agentreplayx-0.1.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

agentreplayx-0.1.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file agentreplayx-0.1.0.tar.gz.

File metadata

  • Download URL: agentreplayx-0.1.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agentreplayx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 02a3108f8d13d2a93c034b5e2ccfe76c8f02d05059f0c390e0f92a60b077e7a4
MD5 be4635e7492f2f3d0ff1eeec02c24199
BLAKE2b-256 9c3b7e1f60237d975b7e6f5efd7033f94d9f08de43de51775bf326d84ce0cdce

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentreplayx-0.1.0.tar.gz:

Publisher: release.yml on aasim-syed/Repro

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

File details

Details for the file agentreplayx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: agentreplayx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for agentreplayx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 38647ea25890b8f78c2441059e79aba4c8cf4c18aa1e9749b05de3f60698f5be
MD5 07929a1ab8e3c47b143fb40b67f03626
BLAKE2b-256 a00b19e2d9d1f2fd7d8b24e5af744cbe59c137d62522e525b3db30f7fc7a73b8

See more details on using hashes here.

Provenance

The following attestation bundles were made for agentreplayx-0.1.0-py3-none-any.whl:

Publisher: release.yml on aasim-syed/Repro

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