driftwatch-llm
Command-line tool and local agent for DriftWatch, a drift monitor for LLM apps.
pip install "driftwatch-llm[agent]"
driftwatch init # sign in through your browser and link this folder to a project
driftwatch autostart enable # optional: watch your app's LLM calls whenever it runs from this folder
driftwatch agent status # what the background agent is doing
Without the [agent] extra the package is just the CLI (init, login, logout, trust, status,
uninstall). Monitoring needs the extra, because the embeddings are computed on your machine.
What it measures
One signal on real traffic: embedding drift, how far recent LLM responses have moved from a baseline made of
your app's first 200 responses (driftwatch baseline freeze can end the baseline early, with at least 30).
It reports the drift score and a combined score computed from the signals present. It does not raise alerts
yet: the alert threshold was tuned for a five-signal mix, so it is not applied to a single signal. Streaming
calls are not captured yet. It tells you that drift happened, not why.
Supported SDKs: OpenAI, Anthropic, Groq and Google GenAI (the Python packages), non-streaming calls.
What leaves your machine
- Only numbers: a drift score and a few counts, sent to your own DriftWatch project with your project key.
- The text of responses goes only to a small agent running on your machine. It is held in memory, turned into an embedding and dropped; it is never written to disk and never sent anywhere.
- Prompts are never read.
What it stores and changes
- A project key in your OS keychain (or a private file if there is none), a trust record, and
.driftwatch/config.tomlin your project folder (a project id, nothing else). - With
driftwatch autostart enable, one file in your Python environment,driftwatch_llm_autostart.pth. It acts only in folders you trusted.driftwatch autostart disableremoves it.driftwatch run -- python app.pymonitors a single run without installing anything. - Installing the package changes nothing; only the commands above do.
MIT licensed.
Metadata
Release files for driftwatch-llm 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| driftwatch_llm-0.2.0.tar.gz | 47.6 kB | With provenance | Details for driftwatch_llm-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| driftwatch_llm-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for driftwatch_llm-0.2.0-py3-none-any.whl |
Total release size: 111.9 kB
Release files / driftwatch_llm-0.2.0.tar.gz
| Download URL | driftwatch_llm-0.2.0.tar.gz |
|---|---|
| Size | 47.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1005bde35752ffb0a71396eb58db4b814401e23ae802993c985690febd7e3113
|
|
BLAKE2b-256 checksum How to use checksums |
7da6d752a9482effd881763b2d0221206505fc3dcd944bcda3936209a96649cf
|
| 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 Oct 12, 2026.
Transparency logRelease files / driftwatch_llm-0.2.0-py3-none-any.whl
| Download URL | driftwatch_llm-0.2.0-py3-none-any.whl |
|---|---|
| Size | 64.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64c1e6753473a4cfcc14de285b8a26ba2dc7649ae67fa17aa403aab085edff3d
|
|
BLAKE2b-256 checksum How to use checksums |
2a1daf8594be5b960047562c12acc87d9ecb04f4d32c4175bd309b336b5ab739
|
| 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 Oct 12, 2026.
Transparency logSecurity for driftwatch-llm 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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for driftwatch_llm-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 Oct 12, 2026.
Transparency logA 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.