Skip to main content

pytracer-replay

Layer 4 of pyTracer: reconstructs a past agent run deterministically, injects recorded tool/model responses instead of live calls, runs assertions, diffs two runs, and classifies a cross-branch reproduction as fixed / still failing / diverged.

from pytracer_replay import MockSet, ReplayEngine, ReplayMode, classify
import pytracer_sdk as pytracer

# 1. Build a mock set from a captured trace (its recorded tool/model outputs).
mocks = MockSet.from_trace(recorded_spans)

# 2. Replay the agent deterministically — tools and model are mocked.
engine = ReplayEngine(mode=ReplayMode.FULL)
result = engine.replay(lambda: agent_entrypoint(task), mocks)

# 3. Assert, diff, fingerprint, or classify against another branch's run.

Modes: FULL (recorded model + tools), PARTIAL (recorded tools, live model), LIVE (both live, for drift detection).

Metadata

Release files for pytracer-replay 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytracer-replay 0.1.1
File Size Uploaded Provenance
pytracer_replay-0.1.1.tar.gz 19.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pytracer-replay 0.1.1
File Interpreter ABI Platform
pytracer_replay-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 36.0 kB

Release files / pytracer_replay-0.1.1.tar.gz

Download URL pytracer_replay-0.1.1.tar.gz
Size 19.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4834a2b3f8ae9cca0a9ccf45c14c7bafa2f15a39acac21823ee87a3859af7308
BLAKE2b-256 checksum
How to use checksums
4fa75dbcf269f463a369a89c29ee8203de9b4194ac6e54daa4852de8215872aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Release files / pytracer_replay-0.1.1-py3-none-any.whl

Download URL pytracer_replay-0.1.1-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad3406167cd3c80617b2e93acdbc9f3089590b594ab7dce9200cbf31b3fb1ec8
BLAKE2b-256 checksum
How to use checksums
47018f6dceec907276cf95376ae3196da46d78069527be0aea508cdbee12d0e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

Security for pytracer-replay 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pytracer_replay-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page