Skip to main content

agentprov

AgentPROV turns agent executions into a source-preserving, evidence-qualified canonical record, and derives W3C PROV from that record. The executions can be captured live or released by other research projects. Every derived PROV statement names its evidence class, the rule that produced it, and the field of the record that justifies it. Corpora are hash-chained from the original raw bytes to the final graph. You can verify and recompute them without re-running any model.

This package is the agentprov command-line program and library. It installs the capture library (agentprov-capture) with it; the draft-only Zenodo uploader (agentprov-zenodo) comes with the zenodo extra.

Install

Python 3.14.8 or later:

pip install agentprov              # or: uv tool install agentprov
pip install "agentprov[zenodo]"    # with the draft-only Zenodo uploader
agentprov info                     # versions, the source registry, extras, host isolation grade
agentprov --help

The desktop app is a separate download for macOS, Windows and Linux, on the releases page; it carries its own copy of this program. Live runs need the repository checkout: the benchmark backends are separate projects that this package does not contain.

To update this package from the release's own signed wheels, with no dependency resolution and nothing fetched from PyPI: agentprov update download --package --allow-network, then agentprov update install --package --confirm. agentprov update install alone prints the ordinary upgrade command.

What it does

  • Import released agent logs (48 sources in 13 formats, single-agent tool-calling traces) and live captures into one canonical execution record (aer/0.2), through isolated, resource-limited workers.
  • Derive semantic annotations (sem/0.1) and W3C PROV-JSON in three bundles: core (observed and derived statements), inference and assessment (agentprov-prov/0.1).
  • Validate each stage, verify a corpus's hash chain against its root digest, and recompute the derivation byte for byte without calling a model.
  • Package a corpus with its datasheet and checksums for an offline deposit; package never uploads. The separate uploader creates unpublished Zenodo drafts only, and publishing is always done by hand on Zenodo.

The user guide walks through each step on a small demo corpus, and its command reference lists every command's --help.

Citation

@software{jones_agentprov_2026,
  author  = {Jones, Nicholas},
  title   = {AgentPROV: execution provenance for LLM-agent security research},
  version = {0.2.1},
  year    = {2026},
  license = {MIT},
  url     = {https://github.com/nickjones39/AgentPROV}
}

Licence

MIT, © 2026 Nicholas Jones. Third-party code and data licences are listed in THIRD_PARTY_NOTICES.md.

Metadata

Release files for agentprov 0.2.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 agentprov 0.2.1
File Size Uploaded Provenance Actions
agentprov-0.2.1.tar.gz 3.2 MB With provenance Details for agentprov-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agentprov 0.2.1
File Interpreter ABI Platform Actions
agentprov-0.2.1-py3-none-any.whl Python 3 none any Details for agentprov-0.2.1-py3-none-any.whl

Total release size: 7.1 MB

Release files / agentprov-0.2.1.tar.gz

Download URL agentprov-0.2.1.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
4bb9aebfb8ce51591b4595ae9b36fb34e009317a6b9c73849ed4b064fbaff321
BLAKE2b-256 checksum
How to use checksums
c0b82242a1a5f741375d5e4c10d7aa6671ee2c6f70e7a3df5eca63818b3fb95c
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 Nov 6, 2026.

Transparency log

Release files / agentprov-0.2.1-py3-none-any.whl

Download URL agentprov-0.2.1-py3-none-any.whl
Size 3.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
172ea3714078160eb978886fd69d404ab66f337c061fe1df68120d3ac627ff7e
BLAKE2b-256 checksum
How to use checksums
0d431622c596b5cd712c168602b87f6e99b2b83cd6fde9bc51d4a78ec6352008
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 Nov 6, 2026.

Transparency log

Security for agentprov 0.2.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

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

Select from 2 files

Attestation for agentprov-0.2.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 Nov 6, 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