Skip to main content

thaghr

ثَغْر — the fortified frontier outpost.

thaghr breaks your AI agent on purpose, then tells you whether it survived.

Find the breach before it finds you.

pip install thaghr

What it measures

pass^k, not pass@k. pass@k means the agent succeeded at least once in k tries, which rewards luck. pass^k means it succeeded every time, which measures reliability.

Quick start

thaghr run examples/01-hello-agent --fault-rate 0.2
thaghr compare examples/01-hello-agent
thaghr proxy --upstream https://api.openai.com

Status

0.1.0, live on PyPI. Fault injection, deterministic record/replay, the pass^k/GDS reliability surface, the CLI report card, and proxy mode all work today. Prometheus telemetry and alerting are wired for self-hosted deployments. Helm chart, hosted plane, and a GitHub Action for CI are in progress.

License

Apache 2.0

Metadata

Release files for thaghr 0.1.1

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

Source distribution (sdist)

Source distribution for thaghr 0.1.1
File Size Uploaded Provenance
thaghr-0.1.1.tar.gz 34.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for thaghr 0.1.1
File Interpreter ABI Platform
thaghr-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 61.8 kB

Release files / thaghr-0.1.1.tar.gz

Download URL thaghr-0.1.1.tar.gz
Size 34.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4dd75299d7232d4ee213a30a69062089f9d2e5d7158152f28c0003d7b290f3f2
BLAKE2b-256 checksum
How to use checksums
afa8aff1d23b2cf77395dabe6bf7ac54e510a9c6f64e78551b18e6df2c5193c0
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 9, 2026.

Transparency log

Release files / thaghr-0.1.1-py3-none-any.whl

Download URL thaghr-0.1.1-py3-none-any.whl
Size 27.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d9151c0aa1e30f72e89c3c73da4ce2c625252c9761a9c303cf8d8dcc2b9328c
BLAKE2b-256 checksum
How to use checksums
ccbde10e66f8d29c89d17b51291e1305702ac0d8ec0582b4a957880f4bfdcb20
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 9, 2026.

Transparency log

Security for thaghr 0.1.1

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.

Select from 2 files

Attestation for thaghr-0.1.1.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 Sep 9, 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