assurance
MCP serverAI & modelsLets your agent check which documents it failed to read when answering from a folder or search step.
Unavailable. This server has no hosted endpoint yet, so Ahel can't serve it.
Ahel cannot run this one yet; its page stays here for reference.
About this server
Checks what an agent did NOT read. Coverage over a retrieval step or a folder.
Getting started
- Read the source or reference documentation for what it needs to run.
- Check this page for availability before you add it to a pipeline on Ahel.
From the project's README
As published by i-ops-hq/assurance in README.md.
Your AI agent says it's done. Assurance tells you what it didn't check.
Quick start · While you work · Use cases · Commands · Guides · Feedback
Coding agents finish with "All done — tests pass." Assurance reads what actually happened and tells you, in plain sentences, what was done, what was skipped, and what it could not verify.
Quick start
Run this in any project where you've used Claude Code:
uvx assurance audit # with uv: runs it without installing anything
pip install assurance && assurance audit # without uv
Not using Claude Code yet? uvx assurance audit --demo shows the report on a bundled sample session.
| where | command |
|---|---|
| macOS (Homebrew) | brew install uv |
| macOS / Linux | curl -LsSf https://astral.sh/uv/install.sh | sh |
| Windows | powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" |
| Windows (WinGet) | winget install --id=astral-sh.uv -e |
| anywhere with Python | pipx install uv or pip install uv |
Open a new terminal afterwards so uvx is on your PATH. Or skip uv entirely and use
pip install assurance, which gives you the same assurance command.
Here is the real output on a sample session in this repo. The
agent was asked to fix a rounding bug in invoice.py "and make sure pytest -q tests/test_invoice.py
passes", and ended with "All done — the totals are correct now."
$ assurance audit examples/audit/sample-session.jsonl
Claude Code session demo-8f2 — 13 min in /home/you/my-app
10 tool calls, 3 failed — Bash 6, Edit 2, Grep 1, Read 1
Looped: 3 rounds of Bash `pytest -q tests/test_invoice.py` failing the same way, with nothing new read
After the last edit (14:09): no test or check it recognises; 2 unclassified commands ran after it (make lint-fix, python script)
Against the last prompt (14:00, "The invoice totals are off by a cent for EUR. Fix it in inv…"):
invoice.py: changed at 14:04 (src/billing/invoice.py).
pytest -q tests/test_invoice.py: did not run after the last edit to src/billing/rates.py (14:09); it last failed at 14:08, before that.
Only what the last prompt names is checked here; whether the work does what it asks is not.
Not classified: 2 shell commands (make lint-fix, python script), so whether they read, wrote or tested anything is unknown.
Also in the transcript: 1 assistant turn, 1 user turn, 1 bookkeeping record.
Not read: 0 lines.
What "All done" left out:
- ❌ The tests failed three times in a row, the same way each time.
- ❔ No test it recognises ran after the last edit. Two commands did, and it can't vouch for them either way, so it names them. Silence is not a pass.
- ❔ The test the prompt asked for last ran before the last edit, and failed. The file it named was changed. Whether the fix is right is not something it claims to know, and it says so.
Run it after every session
Turn on the Stop hook and Claude Code runs the audit each time Claude finishes a turn. It speaks only when there is something to say, at one of three levels, named first:
| Level | When | Who is asked |
|---|---|---|
| note | Code changed this turn and nothing has tested it yet | You, once, with the command to run. Claude is not asked anything |
| suggested review | A test failed after the last edit, a protected path changed, or Claude says the tests pass with nothing behind it | You, and Claude: fix it or say why not |
| stop and check | Untested code was pushed, merged, published, deployed, migrated or committed on main | You, and Claude: verify it before anything builds on it |
assurance · note: no test or check has passed since the last edit to src/billing/invoice.py (14:04). Run pytest -q tests/test_invoice.py before you commit or push.
assurance · suggested review: the last test run after the last edit to src/billing/invoice.py (14:04) failed: pytest -q tests/test_invoice.py (tests/test_invoice.py::test_eur_rounding; 1 failed, 11 passed in 0.33s).
assurance · stop and check: pushed at 14:06 with no passing test or check after the last edit to src/billing/invoice.py (14:04).
uvx assurance@latest hook install # shows the change to ~/.claude/settings.json, asks, then writes it
uvx assurance hook remove # takes it out again; nothing else changes
It knows the test commands of Maven, Gradle, Bazel, Django, Rails, jest, vitest, go, cargo and more,
reads your package.json, Makefile and justfile scripts to learn yours, and never counts a run of
zero tests as a pass. What it recognises.
Or as a Claude Code plugin: claude plugin marketplace add i-ops-hq/assurance, then
claude plugin install assurance@i-ops-hq. It never blocks or fails a session. Everything about
pinning, sharing it with a team, Windows and what the plugin runs: the hook guide.
Use cases
Where Assurance sits in the work you already do. Each page is short: what goes wrong, where it sits, the lines that set it up.
| Your work | What it checks for you |
|---|---|
| Payments and fintech | The tests your money code depends on ran after the last edit, and passed, before anything ships |
| Banking and regulated change | A record per session of what changed and what was tested, and whether the asker is cleared for every owner the change reaches |
| Healthcare and life sciences | Protected paths an agent changed without being asked; what an install will run, before it runs |
| Legal, insurance and documents | Whether a research agent read every document the question needs; missing periods in a folder of reports |
| Platform, DevOps and SRE | Pushes, deploys and migrations over untested code; what a change reaches; limits a session cannot raise |
| Teams building their own agents | Your agent's "done" and its gate's "allow", held against what then happened, from a run record or OTel traces |
prompt ─▶ agent edits ─▶ note ─▶ tests ─▶ suggested review ─▶ push / deploy ─▶ stop and check ─▶ CI gate
Commands
One install, one assurance command.
| Command | What it answers |
|---|---|
assurance audit | What did the coding-agent session in this folder, or your own agent's run or trace, do, and what did it skip? |
assurance hook | Run that audit after every Claude Code turn, or stop running it: install, remove, status. |
assurance serve | A local endpoint any agent sends its traces or runs to, and any workflow asks for a run's audit. |
assurance reach | What does a change to this file reach, by a code graph such as Graphify's, and how far behind the code is that graph? |
assurance clearance | Is the person who asked cleared for every owner their change reaches? |
assurance diff | Did the work cover everything it should have? For example, retrieved docs vs. required docs. |
assurance pin | Did an MCP server quietly change a tool's description after you approved it? |
assurance deps | What will pip install or npm install run on your machine? Read without running it. |
assurance budget | Where did an agent run's budget go, and where did it loop? |
assurance authority | May this task go ahead for the person who asked, without borrowing someone else's access? |
assurance check | Is a folder of dated reports complete, and which periods are missing? |
Every command works as a CI gate as it is:
| Exit code | Meaning |
|---|---|
0 | Checked, found nothing |
1 | Something to look at, including something it couldn't check |
2 | Couldn't run |
Guides
- Run it after every session: the levels in full, pinning, team setup, the plugin, Windows
- Your project's rules: declare your own tests, what must pass, what must not be touched, and limits the agent can't raise
- Your own agent: run records, OpenTelemetry traces, and a local endpoint
- More checks: retrieval coverage, MCP pinning, installs, what a change reaches, MCP tools
What it won't do
- Guess. If it can't establish a number, it says so instead of making one up.
- Call a model or the network. Every result is arithmetic you can check yourself.
- Claim more than it saw.
auditreads Claude Code transcripts, and the run records your own agent writes. Other agents' own logs are next: tell us which one you use.
Tell us where it's wrong
It's early, and the most useful thing you can do is run it on real work.
- 🎯 It gave a wrong or misleading answer. This is the most valuable report there is.
- 🐛 Something broke
- 💡 Support another agent, lockfile or framework
- 🤝 Contribute: pick a
good first issueand read CONTRIBUTING.md.
If it's useful to you, a ⭐ helps other people find it.
Packages
pip install assurance gives you all the commands. Each part also installs on its own.
| Package | What it is |
|---|---|
assurance-cli | The assurance command: diff, check, pin, drift, init |
assurance-budget | audit for coding-agent sessions, budget for run logs |
assurance-deps | Reads what an install will run, without running it |
assurance-authority | Whether a task may go ahead for the person who asked |
assurance-reach | What a change reaches, by a code graph, and how far behind the code that graph is |
assurance-mcp | The checks as read-only MCP tools, limited to --root |
assurance-core | The pure decision library underneath. No I/O, no model, no dependencies |
Part of I-Ops. Keep your models, agents and orchestration, and put an independent check around them.
Apache-2.0 · Security · Contributing · Releases
Signals
- GitHub stars
- 5
- Forks
- 2
- Last commit
- Oct 2026
- Weekly downloads
- 415
Advanced
- Delivery
- assurance-mcp MCP server → your Ahel connector (mcp.ahel.ai) → your AI.
- Item type
- mcp-server
- Key
io-github-i-ops-hq-assurance-mcp- Source
- github.com/i-ops-hq/assurance
More in AI & models
MCP server · upstash
More in AI & modelsAdButler
MCP server · adbutler
More in AI & modelsatom-mcp-server
MCP server · a7om-ai
More in AI & modelsottasia
MCP server · aiweather-anurag
More in AI & modelsCurrents
MCP server · currents-dev
More in AI & modelsunphurl
MCP server · 123ergo
More in AI & models