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/tborys/driftshield

Licensed under AGPL-3.0-or-later.

Metadata

Release files for driftshield-sdk 0.2.2

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.2.2
File Size Uploaded
driftshield_sdk-0.2.2.tar.gz 309.6 kB Details

Built distribution (wheel)

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

Total release size: 517.3 kB

Release files / driftshield_sdk-0.2.2.tar.gz

Download URL driftshield_sdk-0.2.2.tar.gz
Size 309.6 kB
Tags Source
SHA-256 checksum
How to use checksums
95272ea278c4f2bcb9413f2c383818997bab38416d86bf4562ebb188e891c125
BLAKE2b-256 checksum
How to use checksums
abad4d9a6cdbe89a5e508ab323fb0b2cdb0bca57a0616ca4b7b22b27d2c3aa6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 12, 2026.

Transparency log

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

Download URL driftshield_sdk-0.2.2-py3-none-any.whl
Size 207.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40405d7d32ce4ae35b767a735a3b7d5697e4821c6ee8ac1f981051aa9993a645
BLAKE2b-256 checksum
How to use checksums
99622308e7092dbd3fab0df6bd268fab0e8c6d864d17564955f24620e30089a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 12, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

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