Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

reeprov-client

Official Python client SDK for Reeprov — local-first debugging and reproducibility infrastructure for AI agents.

PyPI version License


Installation

pip install reeprov-client

Requires Python >=3.10. Zero third-party dependencies required (built strictly using standard library urllib).


Quick Start

import os
from reeprov_client import ReeprovClient

# Initialize client
reeprov = ReeprovClient(
    url=os.environ.get("REEPROV_URL", "http://127.0.0.1:3000"),
    ingest_key=os.environ.get("REEPROV_INGEST_KEY", "ree_live_..."),
    project_id="customer-support",
    workflow_id="triage-v1",
)

# 1. Start execution run
run_id = reeprov.start_run(summary="Triage customer inquiry #5812")

# 2. Record model calls & token usage
reeprov.model_call_completed(
    run_id=run_id,
    model="claude-sonnet-4-6",
    provider="anthropic",
    prompt="Classify urgency: System outage reported.",
    response={"category": "P0_OUTAGE", "escalate": True},
    input_tokens=150,
    output_tokens=32,
    cost_usd=0.0008,
)

# 3. Record tool invocations
reeprov.tool_call_completed(
    run_id=run_id,
    tool_name="pagerduty.trigger_incident",
    arguments={"severity": "critical", "service": "payments"},
    output={"incident_id": "INC-9901"},
    permission_class="external_side_effect",
)

# 4. Complete the run
reeprov.complete_run(run_id=run_id, summary="Urgent outage escalated successfully.")

Environment Variables

The client can automatically configure itself from standard environment variables (with legacy REEPROV_* fallbacks during migration):

Variable Description
REEPROV_URL Base URL of the Reeprov instance (e.g. http://127.0.0.1:3000)
REEPROV_INGEST_KEY Project-scoped ingest key (ree_live_...)
REEPROV_PROJECT_ID Default project identifier
REEPROV_WORKFLOW_ID Default workflow identifier
REEPROV_FAIL_OPEN Set to "false" to raise exceptions on telemetry errors (default: "true")
REEPROV_ENABLED Set to "false" to disable telemetry entirely

Reliability & Failure Isolation

  • Zero Third-Party Dependencies: Pure Python standard library implementation (urllib.request).
  • Fail-Open Posture: By default, telemetry delivery failures print non-fatal warnings to stderr without crashing the host agent.
  • Fast-Fail on Auth: 401/403 responses fail immediately without wasteful retries.
  • Bounded Exponential Backoff: Transient 5xx server errors retry up to 2 times.

License

Apache-2.0

Metadata

Release files for reeprov-client 0.1.0b1

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

Source distribution (sdist)

Source distribution for reeprov-client 0.1.0b1
File Size Uploaded Provenance Actions
reeprov_client-0.1.0b1.tar.gz 13.6 kB With provenance Details for reeprov_client-0.1.0b1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for reeprov-client 0.1.0b1
File Interpreter ABI Platform Actions
reeprov_client-0.1.0b1-py3-none-any.whl Python 3 none any Details for reeprov_client-0.1.0b1-py3-none-any.whl

Total release size: 29.0 kB

Release files / reeprov_client-0.1.0b1.tar.gz

Download URL reeprov_client-0.1.0b1.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b6c54503fb0565646ab8c3f3e1e83457b4544e9f642a891dcaf8efd89fc04341
BLAKE2b-256 checksum
How to use checksums
db8a17c692d2183fdcf7f3559266b501c8c007b5d25a664382353a36a055f08f
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 16, 2026.

Transparency log

Release files / reeprov_client-0.1.0b1-py3-none-any.whl

Download URL reeprov_client-0.1.0b1-py3-none-any.whl
Size 15.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ce573b0d9de7674cf49e3fdcd4b98b53b0d56dbd535c9f818582df01f401be3
BLAKE2b-256 checksum
How to use checksums
883a24a9fe9aa89e3937758a49f7176fcf1443678f731ef6660078d98c8a67e1
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 16, 2026.

Transparency log

Security for reeprov-client 0.1.0b1

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 reeprov_client-0.1.0b1.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 16, 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.

Release history Release notifications | RSS feed

This release
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