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

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.2
File Size Uploaded Provenance
pytracer_replay-0.1.2.tar.gz 26.2 kB With provenance Details

Built distribution (wheel)

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

Total release size: 47.7 kB

Release files / pytracer_replay-0.1.2.tar.gz

Download URL pytracer_replay-0.1.2.tar.gz
Size 26.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9313cd8164aae36bb9bab5b35c87f50843839ee287e0bdf57c2afcac5c4405a3
BLAKE2b-256 checksum
How to use checksums
0384515df11efbbd651a2eb97fd65caa4ff35b8d19b890f1b328733c318a3797
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 21, 2026.

Transparency log

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

Download URL pytracer_replay-0.1.2-py3-none-any.whl
Size 21.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93d1b9af4b92ce9512abddabccb140a40e5a1db619d3ac8767b89b595558d713
BLAKE2b-256 checksum
How to use checksums
5b7b1436bf137ae12bbc7c01535c75888e4159b82a30554d255485dae267890f
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 21, 2026.

Transparency log

Security for pytracer-replay 0.1.2

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.2.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 21, 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