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

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.3
File Size Uploaded Provenance
pytracer_replay-0.1.3.tar.gz 32.8 kB With provenance Details

Built distribution (wheel)

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

Total release size: 58.2 kB

Release files / pytracer_replay-0.1.3.tar.gz

Download URL pytracer_replay-0.1.3.tar.gz
Size 32.8 kB
Tags Source
SHA-256 checksum
How to use checksums
444aac6ae468775c0a20e964c2d4dfa3f2dc655edfda5916f03e4de6c771b779
BLAKE2b-256 checksum
How to use checksums
1f23ad1b3be3441d63c503526f192f89d5532d6609eb0baf16a19e6a59060870
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 24, 2026.

Transparency log

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

Download URL pytracer_replay-0.1.3-py3-none-any.whl
Size 25.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18ee066b90981e81a61d167e7a2b630e00a67867f90527b4d09004a066567a33
BLAKE2b-256 checksum
How to use checksums
5eed82d27297a126b3c6e31deba0048994c1802f1315d09603318880dd705703
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 24, 2026.

Transparency log

Security for pytracer-replay 0.1.3

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.3.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 24, 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