llm-app-ci-gate
One CI gate for LLM apps: prompt evaluation + security scan + cost estimate, in a single report.
It does not reimplement scoring or scanning. It runs two published tools you can also use separately:
- prompt-eval-harness — deterministic prompt evaluation (exact, regex, JSON Schema, citation, forbidden, numeric_close, …)
- llm-app-security-scanner — static security scan for LLM/agent repos (shell, secrets, untrusted input, JS/TS eval, …)
Plus an offline cost estimate (~4 chars per token, no model call, no network).
Quickstart
pip install llm-app-ci-gate
llm-ci-gate check --cases examples/rag-chatbot/cases.yaml --path examples/rag-chatbot
Exit 0 = PASS, exit 1 = FAIL. It writes llm-ci-gate-report.md and llm-ci-gate-report.json.
GitHub Action
- uses: AsherLucas/llm-app-ci-gate@v0.1.0
with:
cases: cases.yaml
path: .
Tutorial
See docs-tutorial.md for a 5-minute walkthrough, plus the examples/customer-support/ case set.
Why one gate?
LLM apps fail in three different ways at once: a prompt regresses, a tool call leaks a secret, and a prompt change doubles cost. Running three separate checks in CI is easy to skip one of. One gate, one report, one pass/fail makes it hard to forget.
Metadata
Release files for llm-app-ci-gate 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 |
|---|---|---|---|---|
| llm_app_ci_gate-0.2.0.tar.gz | 5.8 kB | With provenance | Details for llm_app_ci_gate-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llm_app_ci_gate-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for llm_app_ci_gate-0.2.0-py3-none-any.whl |
Total release size: 12.0 kB
Release files / llm_app_ci_gate-0.2.0.tar.gz
| Download URL | llm_app_ci_gate-0.2.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ebf0367dd0bb94df30d53b77fb01296e4c5e8cae892ad64534c3a34047004d4
|
|
BLAKE2b-256 checksum How to use checksums |
9a8ee9b4bb5c65e5af52ff72dda96d29465c28481a8ec840704b88ccdd0a3164
|
| 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 Oct 29, 2026.
Transparency logRelease files / llm_app_ci_gate-0.2.0-py3-none-any.whl
| Download URL | llm_app_ci_gate-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d9c224201451990f2d7a16128f1da1a96e27810435b100d7563b1b1160ecf53a
|
|
BLAKE2b-256 checksum How to use checksums |
44ed3d10d62dd88184c633443cb679f57fb88dc7a5d98af880dea8c6b36500f6
|
| 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 Oct 29, 2026.
Transparency logSecurity for llm-app-ci-gate 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 llm_app_ci_gate-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 29, 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.