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. Live runs need the repository checkout: the benchmark backends are separate projects that this package does not contain.

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.0},
  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.0

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.0
File Size Uploaded Provenance Actions
agentprov-0.2.0.tar.gz 3.1 MB With provenance Details for agentprov-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 7.0 MB

Release files / agentprov-0.2.0.tar.gz

Download URL agentprov-0.2.0.tar.gz
Size 3.1 MB
Tags Source
SHA-256 checksum
How to use checksums
41b9cbebe49ecbb849febbaa2db503de298c03fd00aa31613f6a722cf91466c1
BLAKE2b-256 checksum
How to use checksums
91c5364673ca3cb35a3ca42b0392c914d1f746d265acefb27c34fedb473a23fa
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 5, 2026.

Transparency log

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

Download URL agentprov-0.2.0-py3-none-any.whl
Size 3.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c985dabb987a41b194594c3ca18c129f93ec12eb133b0f3a994503f5cea9614d
BLAKE2b-256 checksum
How to use checksums
943114723ae92d21f7c0e84247ea073c753ef9ad161f9315a6ec3b177b357ee6
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 5, 2026.

Transparency log

Security for agentprov 0.2.0

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.0.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 5, 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