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.4

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.4
File Size Uploaded Provenance Actions
pytracer_replay-0.1.4.tar.gz 37.4 kB With provenance Details for pytracer_replay-0.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 65.1 kB

Release files / pytracer_replay-0.1.4.tar.gz

Download URL pytracer_replay-0.1.4.tar.gz
Size 37.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2a672bea0d5c3424dbe80322691206c472e7540aaa526b78871503b3edfbb51c
BLAKE2b-256 checksum
How to use checksums
7aa915d36cf990f1de3a78f3fc62e5e8fe8dd7527921ca68258bab64d52b86c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 26, 2026.

Transparency log

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

Download URL pytracer_replay-0.1.4-py3-none-any.whl
Size 27.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df1fcab122233eb38cab97b3fa5417450117d8407a8474d9c395151306f06d37
BLAKE2b-256 checksum
How to use checksums
c668bf4d86884333ec57f2727e75949aedc4589d769fbaeaf211831cf6598949
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 26, 2026.

Transparency log

Security for pytracer-replay 0.1.4

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pytracer_replay-0.1.4.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 26, 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