Skip to main content Switch to mobile version dprovenancekit 0.11.0 Regression testing for AI agents — fail the PR when your agent skips a step, even when the answer still looks right.
pip install dprovenancekit==0.11.0 Copy PIP instructions
Catch AI agent workflow regressions in CI
DProvenanceKit records the execution steps your application instruments, compares candidate runs with a known-good baseline, and can fail CI when a required step disappears or changes. It is a local-first, Apache-2.0 SDK that adds a regression gate alongside your existing tracing and observability tools.
The published 0.10.0 release includes an opt-in reasoning repository v1: immutable workflow/run commits, branches, baseline promotion, read-only history browsing, and verified offline bundles. Run dpk repo demo --output-dir history-demo after installing 0.10.0. See the local reasoning history guide. This functionality requires 0.10.0 or later; it is absent from the older 0.9.2 wheel.
Install the published Python package and run the self-contained demo:
python -m pip install dprovenancekit dpk demo The demo uses sample traces—no model, API key, or network service is required. It deliberately removes a verification step, then demonstrates DPK detecting that regression. The demo exits successfully when it confirms the expected failure.
Want to see the gate on a pull request? Explore the dpk-gate-demo repository and its CI run.
How DPK fits your existing stack
Keep the tools you already use:
LangSmith and Langfuse help inspect and evaluate application traces.
OpenTelemetry provides vendor-neutral telemetry collection and transport.
DProvenanceKit records the instrumented workflow structure, compares it with a baseline, and applies a CI policy to decide whether a change should block release.
The distinction is the question each tool answers:
Python integrations include LangChain/LangGraph, OpenAI Agents, LlamaIndex, CrewAI, and OpenTelemetry ingestion. Starting with 0.11.0 you can also start from traces you already have with dpk init --from-otel or --from-langsmith, and send gate verdicts back to OpenTelemetry, LangSmith, Langfuse, Arize Phoenix or Datadog with dprovenancekit.exporters. These are not in the published 0.10.0 package; until 0.11.0 is on PyPI, install from main to try them (pip install "git+https://github.com/Therealdk8890/DProvenanceKitPython.git"). DPK complements these systems; it does not replace production monitoring or evaluation.
Example: protect a legal-document workflow
Imagine a team uses an AI assistant to prepare a first draft of a legal brief. The application instruments three checks before export:
Confirm that each cited case can be found in the selected legal source.
Check that cited statutes are current for the relevant jurisdiction.
Compare quoted passages with the source text.
The team records a known-good run and makes the required checks part of its regression policy. Later, a prompt, model, or application change accidentally removes the statute-currentness check. DPK can identify the missing instrumented step and fail the CI gate before that change ships.
The resulting record helps the team review which checks were captured and how the candidate path differed from its baseline. It does not independently validate the legal sources or establish that the brief is legally correct.
Python and Swift capabilities
The SDKs share a product and trace model, but their language-specific capabilities differ. Python has a broader set of framework integrations; Swift provides Apple-platform signing and proof-pack capabilities.
Python's optional cryptographic extra is installed separately:
DPK evaluates the execution data your application chooses to instrument and the regression policies you configure.
A recorded or matching path does not prove that model reasoning was sound or that a claim, citation, or decision is true.
A missing event means it was not present in the recorded instrumented path; it does not prove that an uninstrumented action never occurred.
Cryptographic attestation verifies the integrity of the artifact against its signature. It does not, by itself, establish signer identity, trusted time, or regulatory acceptance.
DPK is not a certification, compliance determination, or substitute for domain review.
These boundaries are intentional. See the attestation threat model and limitations.
Python installation and API documentation
Regression-gate GitHub Action
Observability exporters and trace bootstrap — gate verdicts in OTel, LangSmith, Langfuse, Phoenix and Datadog (0.11.0+)
Self-hosted trace workbench guide — installation for the published multi-database viewer
0.10.0 release checklist — scope, validation and publication gates
0.11.0 release checklist — prepared candidate; not yet published
Product and release documentation
DProvenanceKit alongside LangSmith
Release status and license
The latest published Python and Swift SDK releases are 0.10.0: Python GitHub Release, PyPI and Swift GitHub Release. This release includes the multi-database workbench and opt-in reasoning history; Structural Alignment v1/configuration authorization remain experimental. The earlier unpublished 0.9.3 preparation is superseded. See the publication record and workbench guide.
Source on main is prepared as 0.11.0 (trace bootstrap with dpk init --from-otel / --from-langsmith, dprovenancekit.exporters, dpk gate --otlp-out). 0.11.0 is not published yet; see the 0.11.0 release checklist.
DProvenanceKit is released under the Apache License 2.0.
Report an issue or request an integration
Author: Daniel Paul Kissel
Both files in this release have provenance metadata.
Apache-2.0 View SPDX License List
dev langchain openai-agents openai llama-index crewai google-genai fastapi jupyter mcp otel langsmith langfuse phoenix datadog crypto all
observability ai agents tracing provenance regression
Intended Audience Developers
Operating System OS Independent
Programming Language Python :: 3
Topic Scientific/Engineering :: Artificial Intelligence
Software Development :: Debuggers
Software Development :: Quality Assurance
Release files for dprovenancekit 0.11.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 626.2 kB
Release files / dprovenancekit-0.11.0.tar.gz
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 verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.
Security for dprovenancekit 0.11.0
Both files in this release have been uploaded with provenance metadata.
With provenance dprovenancekit-0.11.0.tar.gz Nov 25, 2026
Attestation for dprovenancekit-0.11.0.tar.gz
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
Nov 25, 2026 2 release files Full provenance
Nov 16, 2026 2 release files Full provenance
Nov 9, 2026 2 release files Full provenance
Sep 18, 2026 2 release files Full provenance
Jul 16, 2026 2 release files Full provenance
Jul 3, 2026 2 release files Full provenance
Jul 2, 2026 2 release files Full provenance
Jul 1, 2026 2 release files No provenance
Jun 29, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




