/   assurance   /   docs

Run it where you have actually used an agent.

That one sentence is most of this page. Assurance reads the coding‑agent session recorded for the folder you are standing in, so in a folder where you have never run one there is nothing to read and it will say so.

Install

There is nothing to install permanently. uvx fetches it, runs it and throws it away.

uvx assurance audit

That needs uv. Without it, pipx run assurance audit does the same thing, and pip install assurance installs it properly if you would rather keep it.

No API key. Everything it reads is already on your machine and nothing leaves it.

Where to run it

Assurance reads the coding‑agent session recorded for the directory you are in. It looks in two places that your agent already writes to:

AgentWhere its sessions live
Claude Code~/.claude/projects
Codex~/.codex/sessions

This is the mistake that loses most people on their first try. You run uvx assurance audit in your home directory, or in a project you have only ever opened in an editor, and it says there is no session. The command is not broken and the install is fine. There is genuinely nothing there to read, because you have never run an agent in that folder.

It happens because the install command is the thing people copy, and the first place anyone pastes a command is wherever their terminal happens to be.

Find a folder that will work

Every entry in ~/.claude/projects is a project path with each / written as -, so -Users-you-myapp is /Users/you/myapp.

ls ~/.claude/projects

cd into one of those and run the audit there.

Or skip the hunt entirely

If you just want to see what the output looks like before committing to any of this, there is a sample report that needs no session at all.

uvx assurance audit --demo

Your first report

Run in a folder with a real session, the output is short on purpose:

Codex session 01a1e80b — 3h 34 min in /Users/you/project No prompt typed by the person was found to check the outcome against. Every shell command was classified. Also in the transcript: 9 assistant turns, 4 user turns, 102 bookkeeping records. Not read: 0 lines.

The bolded line is the point of the tool. It is not an error. It is assurance telling you that it could not find a stated goal to check the result against, so nobody, including it, can say whether the run did what you wanted.

That is the whole idea: the thing that did the work does not get to be the thing that says it went well.

Signing in

Signing in is about who you are, not about what you are working on. The checks are computed on your machine either way: your code, your prompts and your agent’s sessions are read where they already are and are never uploaded.

What an account does is let us reach you — when a check you asked for ships, and when something changes in a product you are relying on. Sign in with Google or GitHub if you want that. The welcome email carries a link that deletes the record and every sign‑in event attached to it, in one click, if you change your mind.

The commands

audit is the one to start with. The rest answer narrower questions and each takes --help.

CommandWhat it answers
auditWhat the session in this folder did, and what it skipped
hookRun the audit automatically after every Claude Code turn
couplingWhat usually changes with what you just changed, from git history
reachWhat a change to a file or folder reaches
clearanceWhether the person who asked is cleared for every owner it reaches
depsWhat a Python install is about to execute, read without executing it
budgetWhere a run's budget went, and where it looped going nowhere
pinPin MCP tool definitions and detect supply-chain drift
driftDetect a shift in a binary outcome stream
serveA local endpoint any agent can send traces to

Troubleshooting

“no Claude Code or Codex session recorded for …”

Working as intended. You are in a folder where you have never run one of those agents. Read Where to run it, or run with --demo to see a sample.

uvx: command not found

You do not have uv. Use pipx run assurance audit, or install uv from docs.astral.sh/uv.

Odd characters, or a crash, on Windows

Piped output on Windows uses the locale code page rather than UTF‑8. If you see a crash or a row of question marks, report it with the command you ran: that is a bug on our side and we want it.

Something else

Open an issue at github.com/i‑ops‑hq/assurance, or reply to any email from us. If an agent has ever told you a job was done when it was not, that is the thing we most want to hear about: it is where the checks come from.