Skip to main content

driftshield

Find where an AI agent first went wrong.

DriftShield reconstructs a failed agent run as a decision graph, shows where reasoning first drifted and matches the failure against known community signatures. It reads Claude Code, Codex CLI, Claude Desktop, Codex Desktop, OpenClaw, CrewAI and LangChain transcripts.

pip install driftshield-sdk
driftshield analyze session.jsonl

The distribution is called driftshield-sdk on PyPI because the name driftshield was already too close to an unrelated project. The import package and the command are still driftshield.

The library surface is two calls:

from driftshield import analyse_run, submit

run = analyse_run(open("session.jsonl", "rb").read(), source="session.jsonl")
print(run.qualification_state, run.findings)

receipt = submit(run)  # community lane: redacted, no key needed

analyse_run works offline and touches nothing outside the process. submit is the only call that sends anything off the machine, and it only ever sends run.redacted_transcript.

Documentation, the self hosted web UI and the full CLI reference live in the repository: https://github.com/driftshield/driftshield-sdk

Licensed under AGPL-3.0-or-later.

Metadata

Release files for driftshield-sdk 0.3.3

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

Source distribution (sdist)

Source distribution for driftshield-sdk 0.3.3
File Size Uploaded Provenance Actions
driftshield_sdk-0.3.3.tar.gz 404.0 kB With provenance Details for driftshield_sdk-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for driftshield-sdk 0.3.3
File Interpreter ABI Platform Actions
driftshield_sdk-0.3.3-py3-none-any.whl Python 3 none any Details for driftshield_sdk-0.3.3-py3-none-any.whl

Total release size: 670.1 kB

Release files / driftshield_sdk-0.3.3.tar.gz

Download URL driftshield_sdk-0.3.3.tar.gz
Size 404.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3e83d363f87f8d5c8d17af7930dc4acb0a015d5fc5ae911f06a3646532063701
BLAKE2b-256 checksum
How to use checksums
a594e54646e5f464c158d568b295cd79b41d7900d02e1debb7900e414f3e73da
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 15, 2026.

Transparency log

Release files / driftshield_sdk-0.3.3-py3-none-any.whl

Download URL driftshield_sdk-0.3.3-py3-none-any.whl
Size 266.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd2bf55cc6f109e61fab4d17475d0b11582b74f56626cd07696b4e52403519a9
BLAKE2b-256 checksum
How to use checksums
503a0e47e09a9d0d5b2b4d4a7e3740b73cc0b4c7079a0d25b4068f77714ec620
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 15, 2026.

Transparency log

Security for driftshield-sdk 0.3.3

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 driftshield_sdk-0.3.3.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 15, 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