Skip to main content

Local-first assurance and observability for AI agents

Project description

PathProof

PyPI version Python versions License Tests

Evidence-driven execution-path assurance for AI agents.

PathProof verifies the execution path of AI agents — not filesystem paths.

PathProof is a local-first Python library for monitoring agent runs, enforcing runtime policies, detecting unsafe execution paths, and producing evidence that explains how an output was reached.

Current status

  • Current release candidate: 0.2.0rc2
  • Public release candidate; suitable for evaluation, prototyping, and controlled internal testing
  • Not yet recommended as the sole control layer for production-critical or regulated systems

Why PathProof

An AI agent may produce a plausible result while taking an unsafe path to get there. PathProof checks the operational path: tool calls, prerequisites, approvals, policy limits, recovery after failures, and the causal chain behind the final output.

Core capabilities

  • Run and event recording
  • Tool-call monitoring
  • Policy enforcement, call limits, prerequisites, and approval gates
  • Failure classification and explainable trust scoring
  • Text and JSON reports
  • Memory, JSON, and SQLite storage
  • Evidence fingerprints and evidence bundles
  • Run comparison and regression checks
  • Causal evidence graphs and unsafe-path detection

Installation

pip install pathproof-ai

For this release candidate:

pip install pathproof-ai==0.2.0rc2

Quick start

from pathproof import AgentMonitor

monitor = AgentMonitor("support-agent")
run = monitor.run("Answer a customer request")
run.record_output({"answer": "Request completed"})
run.close()
report = run.evaluate()
print(report.status, report.trust_score)

Expected output:

passed 100

What PathProof proves

PathProof can provide technical evidence that declared runtime policies were checked, recorded steps followed a traceable sequence, observed tool calls and outputs were captured, known failure conditions were detected, and the final output followed a recorded causal path.

What PathProof does not prove

PathProof does not by itself prove factual correctness, ethical correctness, legal compliance, absence of hidden bias, real-world safety, legal admissibility of evidence, or cryptographic authenticity unless an external signing layer is added.

PathProof should be used as one assurance layer within a broader governance and safety system.

Local-first design

PathProof does not require an external service by default. Run data can remain on the user's machine or inside the organization's own environment.

Testing

The test suite runs automatically on Python 3.10, 3.11, 3.12, and 3.13.

python -m pytest -q

Project links

License

Apache License 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pathproof_ai-0.2.0rc2.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pathproof_ai-0.2.0rc2-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file pathproof_ai-0.2.0rc2.tar.gz.

File metadata

  • Download URL: pathproof_ai-0.2.0rc2.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for pathproof_ai-0.2.0rc2.tar.gz
Algorithm Hash digest
SHA256 53639b0546807641f58e23f6cbda5a5dffc55e5b9b6b12ef0c6b331d37d7fe71
MD5 ab4263bcda066c8049524c033260118e
BLAKE2b-256 82eb4bbeab469cbac3968bbc903a8a60a81889eea4ad9abe595dd42f3679d096

See more details on using hashes here.

File details

Details for the file pathproof_ai-0.2.0rc2-py3-none-any.whl.

File metadata

File hashes

Hashes for pathproof_ai-0.2.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 0f7107a810f3bb5c0df704388444c014f9280d35d92dc73bd32d345c7dc69083
MD5 2be0e4ed6be02bd1c68c8adb3f8d167b
BLAKE2b-256 4f0eede184343b5d7f89c6e127bc97e88539ee36768651a3cfcbc960d7f91541

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page