Skip to main content
arci

Know if a change made your AI agent worse, before you ship it.

ARCI is the statistical regression gate for the evaluations you already have: it reruns your suite on the old and the new version and answers PASS, BLOCK or INCONCLUSIVE against the loss you fixed in advance.

PyPI Python 3.11+ CI License: Apache-2.0

Quickstart · Recipes · Evidence · Studies · Neighbouring tools · Full reference

Replay of a real run: a Claude Code plugin with one rule deleted, six tasks, a cap of 20 rounds. In every round the new version did worse than the old on two or three tasks. The BLOCK score, the evidence that the mean loss is above the allowed margin, climbed past its bar of 40 at round 11, and ARCI answered BLOCK, exit 1. The old version passed 64 of 66 task runs and the new version 43 of 66.

Quickstart

1 · Try the offline example

With uv installed, run the bundled 20-task suite. The comparison runs offline without an account or API key. The old version passes 18 tasks and the new version passes 4, enough to BLOCK in round 1.

$ uvx --from agent-reliability-ci arci check-change --example
VERDICT: BLOCK (exit 1)

For the six-step replay demo, run uvx --from agent-reliability-ci arci demo.

2 · Check your own change

Ask what your round budget can decide, then compare. Each side is the command you already use to test your agent. Here the tests read the prompt file named by AGENT_PROMPT, so that file is the one difference between the two sides; if your tests ignore the switch, both sides run the same thing.

pip install agent-reliability-ci
arci plan change --tasks 20 --baseline-rate .90 --candidate-rate .90 --max-rounds 10,20
arci check-change \
  --baseline  'env AGENT_PROMPT=prompts/old.txt python -m pytest tests/agent --junitxml={out}' \
  --candidate 'env AGENT_PROMPT=prompts/new.txt python -m pytest tests/agent --junitxml={out}' \
  --max-rounds 20 --out-dir prompt-comparison

3 · Gate it in CI

PASS exits 0 when the evidence puts the mean loss below your margin on these tasks (10 points by default). BLOCK, INCONCLUSIVE and ERROR fail the check by default.

# One step in your job, after checkout and installing your test dependencies
- name: Did the new prompt make the agent worse?
  uses: ajaysurya1221/agent-reliability-ci@v3.6.0
  with:
    mode: check-change
    baseline: env AGENT_PROMPT=prompts/old.txt python -m pytest tests/agent --junitxml={out}
    candidate: env AGENT_PROMPT=prompts/new.txt python -m pytest tests/agent --junitxml={out}
    max-rounds: '20'
    out-dir: prompt-comparison

The Action writes the verified report to the job summary. Evidence uploads are off by default. For a suite that needs credentials, see Forks and secrets.

Why ARCI

Four features. Your tests, not a new framework: any test command that writes JUnit XML, CSV or JSONL rows with task_id and outcome, or a supported promptfoo JSON export. Sealed before scoring: after one discovery run, ARCI fingerprints the rule and the task list before round 1. Stops as soon as it can: it checks after every complete round and stops at the first one that decides. An answer CI understands: PASS exits 0, BLOCK 1, INCONCLUSIVE 2, and a finished round's verdict can be recomputed from its rule and saved snapshots.

Accepted result formats and what each needs: check-change recipe.

See the evidence build

In the plugin run at the top of this page, ARCI updated two scores after each complete round. The BLOCK score tracked evidence that the mean loss exceeded the allowed margin. The PASS score tracked evidence that the loss was below it. The BLOCK score crossed 40 in round 11, ending the run.

Line chart on a log scale over rounds 1 to 20. The BLOCK score rises from 1 to 57.4 and crosses the decision bar of 40 at round 11. The PASS score falls from 1 to 0.0035. Rounds 12 to 20 were not needed.

The bar of 40 keeps a wrong BLOCK and a wrong PASS each at or below 1 in 40, under conditions that every verdict lists. The printed report · The statistics, in full

Works with what you have

pytest / JUnit XML · CSV · JSONL · promptfoo · claude plugin eval · Inspect AI · Claude Code logs · Codex logs · GitHub Actions

You have Run You get
A test command for your agent arci check-change PASS, BLOCK or INCONCLUSIVE on fresh paired rounds
A Claude Code plugin or skill with eval cases --format claude-plugin-eval The same verdict, version 1 against version 2
Local Claude Code or Codex session logs uvx --python 3.14 realornoise A separate diagnostic for changes in session measures such as reasoning tokens per response
Pass and fail results from another tool arci verdict A descriptive verdict, with no new runs
Attack cases that another tool ran and graded, as CSV or JSONL arci check-attacks PASS, BLOCK or INCONCLUSIVE on the mean attack success rate against your limit, and every case that succeeded. Never a statement that the agent is safe

Stronger gates (3.5)

  • --floor 0.8 makes PASS require evidence that the new version’s mean pass rate exceeds 80% as well as meeting the loss margin.
  • --critical TASK_ID lets evidence of a loss on that task veto a suite PASS.
  • --cluster round allows tasks in the same round to fail together, at the price of about 79 independent rounds for an all-ties PASS at a 10-point margin with no floor.

Use --max-launches or --max-minutes to budget whole rounds. For Claude plugin eval, --max-cost-usd checks observed spend before starting another round. The final round can take spend over budget. Thresholds and budgets

Real runs, misses included

Change Verdict Old passed New passed
Plugin: one rule deleted BLOCK at round 11 64 of 66 43 of 66
Plugin: one line added INCONCLUSIVE after 20 rounds 117 of 120 115 of 120
Study Note-0, Gemma 4 12B: working note dropped BLOCK at round 1 15 of 16 0 of 16
Study Note-0, Gemma 4 12B: identical copy PASS at round 6 15 of 16 each round 15 of 16 each round

The plugin rows are one maintainer run each on 30 Nov 2026 (Claude Code 2.1.322, haiku), not a study: plugin recipe. Note-0 was registered before it ran; its second model, Qwen 3.5 4B, was not admitted, so the registered two-model test did not happen: Note-0 result. More studies and their registrations: docs/STUDIES.md.

What it does not tell you

  • It answers for the tasks and the two versions you give it, nothing wider.
  • Every verdict lists the conditions its error bound requires, including independence across rounds.
  • On Windows, check-change installs and prints --help but does not run comparisons, and the log reader is untested.
  • One maintainer builds it, and nobody outside the project has reported a run yet. Tell us about yours.

Learn more

Community

Contributing · Code of conduct · Security · Cite ARCI · Apache-2.0

Metadata

Release files for agent-reliability-ci 3.6.0

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

Source distribution (sdist)

Source distribution for agent-reliability-ci 3.6.0
File Size Uploaded Provenance Actions
agent_reliability_ci-3.6.0.tar.gz 342.7 kB With provenance Details for agent_reliability_ci-3.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for agent-reliability-ci 3.6.0
File Interpreter ABI Platform Actions
agent_reliability_ci-3.6.0-py3-none-any.whl Python 3 none any Details for agent_reliability_ci-3.6.0-py3-none-any.whl

Total release size: 704.1 kB

Release files / agent_reliability_ci-3.6.0.tar.gz

Download URL agent_reliability_ci-3.6.0.tar.gz
Size 342.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5c592d220a8bfe902fb1ca9c978e7f01e6e787d63571ae2a8ecb432711df22af
BLAKE2b-256 checksum
How to use checksums
296192910ee9610b1c4e1f247532151c6c5179767a55dcc3a69e48fef1a1bfc3
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 Dec 3, 2026.

Transparency log

Release files / agent_reliability_ci-3.6.0-py3-none-any.whl

Download URL agent_reliability_ci-3.6.0-py3-none-any.whl
Size 361.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
00d5071a82b25c10385d0100940212f4a375ac172fd1e839dd45a2923663cf99
BLAKE2b-256 checksum
How to use checksums
f8fd97a3542863926d24a87bcc7485f6b72ec0d1e256cc640b14467f0340a85d
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 Dec 3, 2026.

Transparency log

Security for agent-reliability-ci 3.6.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agent_reliability_ci-3.6.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 Dec 3, 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