StackVet

AgentVet: what the record shows your AI coding tool did. A preview.

StackVet checks the app. AgentVet, av, looks at the AI coding tool that built it. It reads the records kept while the tool worked, and says what each record shows the tool did, how far that record can be relied on, and what it could not see.

It decides nothing about the tool, and it never says a tool can be trusted. Every line is something for you to read: many of them are things a tool is right to do.

This is a preview. It has been tried on one computer, with one AI coding tool, and it reads nothing of what the tool said beyond one kind of claim.

av report <folder> [--hook-record] [--proxy-record] [--json]
av proxy [--app <folder>] -- <the tool server's command>
av checkpoint <folder>

Four records, each with how far it can be relied on.

A report is only as good as its sources, so av report names each one and says who could have changed it. Each is kept on your own computer. Two are read only when you ask, each time, because they hold a short account of what the tool ran or was given.

RecordWhat it holdsWho keeps it, and what could change it
The build-loop recordEach time the tool asked StackVet somethingStackVet's MCP server, in the app's own folder. The tool runs as you and could rewrite it
Git's historyWhat the tool's commits changedGit. A commit counts as the tool's only when its message says so, and history can be rewritten
The hook record (--hook-record)Each command the tool ran, each file it wrote, each permission it asked you for, and whether the tests were run before it said they passA hook in the tool's own settings, kept outside the app's folder. The tool could take the hook out
The pass-through's record (--proxy-record)Each call the tool made to another tool server, and how it was answeredav proxy, kept outside the app's folder. The tool could take it out of its settings

Every line of every record is chained to the one before it, so a change to a line already written shows. A chain does not show a record that was replaced whole. Two things do:

  • A note outside the folder. Each time StackVet's server writes a line of the build-loop record, it notes, outside the app's folder, where the record has got to. A tool kept to the app's folder cannot change those notes.
  • A checkpoint you sign. av checkpoint, run by you at your own terminal, signs where each record has got to, with your own key and its passphrase. A later report says whether the lines you signed for are still as they were.

No file contents, command output, or prompts are kept, and never an answer's text. What a tool ran or was given is cut short, with any key cut out.

You say what the task is. AgentVet lists what falls outside it.

Put a file named agentvet.toml in the app's folder, saying what the tool's task is and what it may touch:

envelope-version = 1

[task] goal = "Add a sign-out link to the header."

[may] write = ["src/", "tests/"] run = ["pytest", "npm"] call = ["stackvet_check"]

[guards] files = ["deploy/"]

av report then lists what the records show the tool did outside it: a file changed that write does not cover, a program started that run does not name, a tool called that call does not name.

  • A line left out is a question, never a yes or a no. Leave out write and the report asks which files the tool may write; it does not assume everything, or nothing.
  • Some files are always guarded, whatever the file says: the tool's own instructions and settings, the hooks and servers it is started with, what runs in CI and who must review, and agentvet.toml itself. Your own list adds to these and takes none away.
  • The file does not say who wrote it. The tool can write agentvet.toml as well as you can, so the report says it may be the tool's own account of its task.

Nothing is judged against a task file that cannot be read: the report says why, and holds the tool to nothing.

A record of each call to a tool server, kept where the tool's own account cannot reach.

AI coding tools reach other tools through MCP servers. av proxy sits in front of one: put it before the server's command in the tool's settings. It starts that server, passes everything each way unchanged, and writes down each call: the tool's name, how it was answered, and a short summary of what it was given, with any key cut out.

av report --proxy-record then says which tools were called and how often, by session, which calls the server turned down, and a call that was turned down and then made again with the same thing.

It adds no connection of its own, and if it cannot write its record it says so and keeps passing calls along, so a full disk does not stop the tool's work.

No record can show that you said no. This shows the nearest thing.

When you refuse a call at your AI coding tool's own prompt, nothing is told: the call is never sent to a tool server, and the tool's hooks are not told you refused. Two trials showed this before anything was built on it.

What a hook does see is that the tool is about to ask you, and that a tool ran. So the hook record keeps a line each time you are asked, and av report --hook-record says how many times you were asked and after how many the tool then ran. Each one it did not run after is listed, with the next thing the tool did in that session, so you can read what it tried instead.

It says asked, and did not run, never that you refused: that is you saying no, or the prompt closed without an answer, or the session ending with it open. No hook says which.

The same lines, under the six things worth looking at. An empty one is not a clean one.

The report ends by gathering everything under six headings. Each says what was seen, and, as plainly, what it could not show.

  • What the tool said, against the record. Today, one claim: that the app's tests pass, set against whether the tests were run, and passed, before it said so.
  • A check made to pass without a fix. A test removed or skipped, an expectation changed, a comment telling a check to look away, in the tool's commits.
  • Outside what the task file allows. From the task file, above.
  • Changes to what watches the tool. A guarded file changed, a record's chain that no longer checks out, a record that no longer matches a note or a checkpoint.
  • Written in your name. An entry in a tool's commit that says it is yours.
  • Trying again after a no. A call that was turned down, or that you were asked about and did not run, and that came again.

A claim the record contradicts and a claim the record does not support are said as two different things, and a claim that could not be checked is never listed as either.

Said in every report, under "Not looked at".

  • What the tool said it did, beyond that the tests pass. AgentVet reads no transcript.
  • Whether the tool did its task, or did it well. It sets what the tool wrote and ran against the task file, and reads nothing of what the work was for.
  • A no you gave at the tool's own prompt. Only that you were asked, and the tool did not run.
  • What a program the tool started went on to do. A command is read as far as its text shows.
  • A record replaced before you ever signed a checkpoint, or a hook taken out so that nothing was written.
  • Anything the tool did some other way. A tool server with no pass-through in front of it, or work done outside the hooks.

AgentVet does not stop anything. It reports; stopping an action is a later decision of its own.

The same rules of evidence, in a program of its own.

AgentVet is built in StackVet's workspace and shares its records: the build-loop record and the hook record are the ones StackVet already keeps, and StackVet's own report still reads them as it did. Every rule of evidence holds unchanged: something not looked at is never a pass and never a failure, and a key is shown by its first four characters and its length, never whole.

  • It opens no network connection. av report reads files on your computer and writes nothing. av proxy starts one program, the tool server you name, and what that server connects to is the server's own.
  • It runs on your computer, not in StackVet's container. It starts the tool server, reads records in your own folders, and takes your key's passphrase at your terminal.
  • It never makes a key. A checkpoint is signed with the key StackVet's sv review uses.

StackVet is written for people who are not programmers. AgentVet's first reader is someone who builds with an AI coding tool and wants to know what it did.

What the preview doesn't do, and what has and hasn't been tried.

  • Tried on one set-up only: a Mac, Claude Code's desktop app, and StackVet through Docker. The hook is offered for Claude Code alone. The pass-through has run on Windows only in the release's own check, not in a real session.
  • No transcript is read, so only one kind of claim is checked.
  • A tool server reached over HTTP is not covered by the pass-through.
  • The same end reached another way is not matched. A call that did not run and was then tried with something else is shown only as what came next.
  • It does not stop an action.

Until these change, AgentVet stays a preview, and this page says what each part really does as it lands.

Released with StackVet, as a package of its own.

av comes from the same release as StackVet, with the same version number, and installs separately. On a Mac or Linux, Homebrew builds it on your computer:

brew install abbyshade111/stackvet/av

On Windows, Scoop installs the signed download from the release:

scoop bucket add stackvet https://github.com/abbyshade111/scoop-stack-vet
scoop install stackvet/av

Or build it from StackVet's repository with Rust's cargo, and the program is av, in target/release/:

cargo build --release --locked -p av-cli

The hook that keeps the hook record runs a copy of StackVet's sv installed on your computer, not the one in StackVet's container.

If something is wrong or confusing, tell us in a GitHub issue.