Provared

A way to prove what an AI agent was allowed to do, and what it then did.

Several large platforms for AI agents now offer to hold the tools' credentials in place of the agent, and to check each tool call. Provared's guard does that too, and adds the proof: what you allowed, in a permission signed with your passkey, and what the agent did through it, in a signed receipt for each call. Anyone can check both later, on their own computer, with a free checker, rather than rely on a platform's own logs.

The guard stops any tool call that the permission does not allow, before the call reaches the tool, and keeps a signed note of the refusal. A log can be edited by whoever runs the agent. These records are signed, and can be sealed, so a later change to them shows when they are checked.

For businesses that use AI agents, and for whoever has to check them. Evidence, not a verdict.

What it does

The guard works with tools that use the Model Context Protocol (MCP), the common way for AI agents to reach tools. It is the npm package provared-mcp-executor, version 0.5.3, published on 28 November 2026.

With claude.ai

A business can run the guard on its own server and add it to claude.ai as a custom connector. The owner approves each new connection with a passkey.

Tried so far: on 15 November 2026 an earlier build of version 0.5.0 ran on a server on the internet. claude.ai connected to it after one passkey prompt. The guard let two tool calls through, with a receipt for each, and refused a third before the tool saw it.

A recipe in the repository starts the guard, with a web server that gives it a secure (HTTPS) address, in one command. That recipe has been tried only in a test on one computer: not on a real server, and not with claude.ai.

Limits: one guard stands in front of one tool server. A tool server reached over the network must accept a fixed access key; one that only accepts its own sign-in (OAuth) is not served yet.

Keeping the credentials from the agent

The record counts only if the agent has no other way to the tools. So take the tools' credentials away from the agent, and give them to the guard alone. An agent with a shell (a command line) or file tools, running as the same computer user as the guard, can read the guard's files, and the credentials with them. The guard keeps the credentials from the agent when:

What a record does not prove

Evidence, not a verdict.

Cost, data and review

Cost.Free and open source, under the Apache License 2.0. Nothing is sold here. There is no hosted service: you run the guard yourself.

Your data.Nothing is sent home to the author (no telemetry). The guard keeps your tools' credentials, and its own copy of each call, on the computer where you run it. The Provared library itself sends nothing anywhere. The guard sends each allowed call on to your tool server and, where you set one up, asks the time-stamp service to date each seal.

Who has reviewed it.One author built it, in their own time, with AI tools, since 3 October 2026. The code has been through more than 80 rounds of review by AI reviewers. No person other than the author has reviewed it yet.

Status.Draft software. The format may still change.

How to try it

  1. With nothing to install: try a record in your browser. An agent orders under a limit, and the checker finds where it went over.
  2. See the guard work, with no passkey and no settings, on a computer with Node.js 24.7 or later:
    npm install -g provared-mcp-executor
    provared-mcp-executor demo
    It runs the guard in front of a made-up tool. Its records prove nothing about anyone.
  3. To run it for real: the guard's README sets it up in five steps, and the claude.ai recipe adds it to claude.ai.
  4. Questions: [email protected].

For developers: the guard in detail

The guard stands between the agent and a tool server that speaks MCP. It holds the tool server's credential in place of the agent, and refuses a call the permission does not allow before the call reaches the tool. It can also test what a call would change, for example which paths a file tool may touch. It starts a tool server itself on the same computer, for one agent (MCP's "stdio" transport), or, from version 0.3.0, stands in front of one reached over the network (MCP over HTTP), for several agents, each with its own secret, permission and record. For each call it lets through, the guard writes a signed receipt and countersigns it with keys of its own; for a call the permission does not allow, a signed note of the refusal.

What it does not do yet. One guard stands in front of one tool server, and over the network the credential it holds is a bearer token read from a file. Over HTTP it has been tried with the official MCP software on protocol version 2025-11-25 only, with every program on one computer, and, on 15 November 2026, an earlier build of 0.5.0 with claude.ai on a server on the internet; on the newer 2026-07-28 it has met only a test server of its own. The agents' secrets travel in the clear unless something else encrypts the connection to the guard, and so does the tool server's credential if the tool server is reached by plain HTTP. Keys held in a key service are designed but not built. And it proves nothing about a tool the agent can reach without it: the tool's credential must be taken away from the agent. It keeps the credential, and its own keys, from the agent only where the agent cannot read the guard's files: an agent with a shell or file tools that runs as the same computer user can read them. So run the guard under a separate user account that the agent cannot use, or give the agent no shell or file tools. Over HTTP the guard can also run apart from the agent, where the agent cannot read the guard's files: an example puts them in separate Docker containers on one computer, and its seven checks passed with Docker Desktop on Windows; on separate computers it has not been tried.

npm install -g provared-mcp-executor

Use version 0.4.2 or later. Every earlier version, 0.1.0 to 0.4.1, has two weaknesses: in front of some tool servers, an agent could have a tool run that the guard never checked. Version 0.4.2, published on 15 November 2026, fixes both, and npm marks the earlier versions as deprecated. The security advisory says which servers are affected and what to check.

The guard is the npm package provared-mcp-executor. "Executor" is the Internet-Draft's word for software, other than the agent, that acts for it and refuses what the permission does not allow. It needs Node.js 24.7 or later, and nothing but the Provared library. Its README sets it up in five steps: write its settings, make its keys, sign the permission with your passkey at sign.prova.red, check the settings, and name the guard in the agent's MCP client where the tool server was named. For a client whose settings are JSON:

{
  "mcpServers": {
    "files": {
      "command": "provared-mcp-executor",
      "args": ["stdio", "--config", "/etc/provared-mcp/files/executor.json"]
    }
  }
}

To see it work first, a demonstration runs the guard in front of a made-up tool server, with no settings and no secret; its records prove nothing about anyone. The guard is listed in the official MCP Registry as io.github.provared/mcp-executor.

The record, checked

The guard's records are read by the same free checker as every Provared record. What it prints for the sample record that comes with the library: an invented office agent that went over its limit at its fifth order.

Summary
  Is the record intact?                 yes
  Was every signature checked?          yes
  Did the agent stay within its slip?   NO: first at entry 5
  Time-stamped in a way you trust?      yes: the first 9 entries existed by 2026-10-05T10:16:00Z
  Checked against keys you named?       yes: the passkey you trust, and the recorder you expect
npm install provared
pip install provared
npx provared-check --sample

The third command prints the answer above in full. Or try it in your browser, with nothing to install: an agent orders under a limit, and the checker finds where it went over. The library needs Node.js 24.7 or later, or Python 3.11 or later; in JavaScript it has no dependencies, and in Python one. It sends nothing anywhere, holds no money and starts no payment. If you do not write code, start with Provared in plain words.

Other ways to record an agent

The guard is one way to put an agent's actions behind a signed permission. The others write the same kind of record, read by the same checker:

What is new

provared-mcp-executor 0.5.2, published on 23 November 2026, with library version 0.9.0: a security fix. Over HTTP, where one guard stands in front of one tool server for several agents, versions 0.3.0 to 0.5.1 passed task requests to the tool server unchecked. At a tool server that keeps tasks for whoever holds its credential, one agent could therefore list, read or cancel another agent's tasks. The guard now refuses tasks unless the setting allowTasks is on, and accepts that setting only where it serves one agent. It also limits the memory one agent can make it hold, and takes bodies of at most 4 MiB by default. Callers may notice some of these changes: the change log lists them. The security advisory has the details. If you run the guard over HTTP for several agents, update.

Before that, on 22 November, provared-mcp-executor 0.5.1, with library version 0.9.0: stricter checks of the receipts in the record against the guard's own copy. If the guard stopped while sending a call and, when it starts again, finds a receipt for that call already in the record, it now accepts that receipt only if it is the only one for the call, matches the call the guard sent, and, where the permission names the guard's keys, carries the guard's valid countersignature. If not, the guard does not treat the receipt as its own: over stdio it does not start, and over HTTP it refuses that agent's calls, until an administrator sets the call aside. The command compare now also reports a receipt that does not match the call sent, a countersignature that is missing, not valid or not the one the guard gave, and more than one receipt for one call. It now agrees only where this computer could check the whole record and the record stays within its permissions, so a record that agreed under 0.5.0 may not agree now. If you run 0.5.0, update and run compare again.

On 21 November, provared-mcp-executor 0.5.0, with library version 0.9.0:

Earlier, on 15 November, provared-mcp-executor 0.4.2: a security fix. In versions 0.1.0 to 0.4.1, the guard and some tool servers read the same message in different ways. In front of a server whose JSON reader ignores capitals in names, or, over stdio, one that ends a line at a bare carriage return, an agent could have a tool run that the guard never checked. Such a call left no receipt, or a receipt that named a different tool, and a call could also get past a rule on its content. Version 0.4.2 refuses those messages and writes each message to a stdio server as one line. The security advisory has the details.

Before that, on 11 November, provared-mcp-executor 0.4.0 and 0.4.1: provared-mcp-executor demo runs the guard in front of a made-up tool server with no passkey and no settings, and demo --stdio runs it in the same way for an MCP client to call.

On 7 November, provared-mcp-executor 0.3.0: the guard can also stand in front of a tool server reached over HTTP, for several agents, each with its own secret, permission and record.

Library version 0.8.0, published on 1 November 2026: signing in a small window. The Provared application now signs nothing itself. To make, renew or cancel a permission, it opens sign.prova.red in a small window. That page shows what the new permission changes against the earlier one, and asks for a second press before a new passkey is made or an agent's keys are signed for the first time on that device. It then hands the signed record back. Nothing in a record and no rule of the checker changes: a book checks with 0.8.0 exactly as with 0.7.0.

Version 0.7.0, published the same day:

Also on 1 November, provared-mcp-executor 0.2.0: rules on the content of a tool call (for example, which paths a file tool may touch), tested before the call is passed on, and a listing in the official MCP Registry.

In the repository, not yet in a published version: a reader that judges the receipts of another open project, Agent Middleware, against a Provared permission.

The draft, explained. Inside the Provared draft is a guide to the Internet-Draft for a reader who does not write code: seventeen short chapters in the draft's own order, with drawings, questions to check yourself, a dictionary and every error code. It opens on claude.ai.

Four parts

An AI agent that orders, books, sends or changes things for someone leaves a trail of logs. Whoever runs the agent can edit a log. Provared adds signed records that a stranger can check later, and a free checker that reads them. Each part has a short name, used throughout.

The checker answers two questions and keeps them apart: is the record intact, and did the agent stay within its permission. Going over a limit is not a fault in the record. It is what a sound record shows.

A first record of your own

Three commands, in JavaScript. The permission is signed with a development stand-in for a passkey: a key made in memory, which no person confirmed. Every permission it signs says so in its issuer's name, and the checker prints that name. A real permission is signed by a person, in a browser, with a real passkey.

npm install provared
node first-record.mjs
npx provared-check book.jsonl --issuer <the thumbprint it prints>

And first-record.mjs, which is in the repository:

import { writeFileSync } from 'node:fs';
import { developmentRecorder } from 'provared/dev';

const SEND = 'provared.message.send';

// A permission: the agent may send messages, at most two.
const { recorder, issuerKeys } = await developmentRecorder({
  actions: [SEND],
  limits: [{ action: SEND, count: 2 }],
  purpose: 'Send a few messages, to make a first record.',
});

// Each action is asked for first, taken only if the permission allows it,
// and receipted after. The third message is outside it, so it is not sent.
for (let i = 1; i <= 3; i++) {
  const outcome = await recorder.act({ action: SEND }, async () => console.log(`message ${i} sent`));
  if (!outcome.done) console.log(`message ${i} not sent: ${outcome.answer.breaches[0].message}`);
}

writeFileSync('book.jsonl', recorder.book());
console.log(`npx provared-check book.jsonl --issuer ${issuerKeys[0]}`);

The same in Python, with from provared.dev import development_recorder, is in the repository too. For a LangChain agent, one package puts every tool call behind the same check, with no change to the tools (and another does the same for Pydantic AI):

pip install provared-langchain
from langchain.agents import create_agent
from provared_langchain import ProvaredMiddleware

agent = create_agent(model, tools=[order_supplies, send_message],
                     middleware=[..., ProvaredMiddleware(writer, {
                         'order_supplies': {'action': 'supplies.order', 'with': 'supplier',
                                            'amount': lambda a: {'unit': 'GBP', 'value': a['total_gbp']}},
                         'send_message': 'provared.message.send',
                     })])   # last among the middleware that wrap tool calls

A call the permission does not allow is not run, nothing is written, and the model is told why. The package is listed among the middleware in LangChain's own documentation. The guide covers the stub writer, the connector for an agent's tools, seals, time-stamps, cancelling, passing a permission on, and covered names.

What the checker says

This is the command-line checker's answer for the sample record, run on 10 October 2026 with Node.js 24.19 (npx provared-check --sample prints it in full). The entries are summarised here; the findings are the checker's own words, unshortened. The people, the supplier and the orders are invented.

A real record is at prova.red/records/: the coding agent the author runs to build Provared, kept day by day under a permission signed with the author's own passkey, with the checker's answer and the files to check it yourself.

The permission (the slip), signed with a passkey by "Sam Example (invented)" for the "Office agent" (names in a record are labels; only keys are checked).

May do
place orders, send messages
Limits
no more than 200 GBP of orders in total; no single order above 100 GBP; no more than 2 messages in any hour
Conditions
every order needs the supplier's countersignature; an order above 60 GBP needs the person's own approval
Never
destroy data; claim to be a human being; go around an access control, a block or a refusal
With
"Example Stationery (invented)", the supplier
From, until
5 October 2026, 08:00 to 12 October 2026, 08:00 (UTC)
Purpose
"Keep the office stocked with paper, pens and toner, and tell the office what was ordered."

What the agent did on 5 October, one receipt to a step:

  1. 1. Orders printer paper, 45 GBP. The supplier countersigns.Within the slip. Running total: 45 of 200 GBP.
  2. 2. Tells the office that the paper is ordered.Within the slip. No other party is named: this shows what the agent's side said.
  3. 3. Orders a toner cartridge, 80 GBP, after asking the person, who approves with the passkey. The supplier countersigns.Within the slip. Approved by the person, with the passkey the slip names: valid. Running total: 125 of 200 GBP.
  4. 4. Orders envelopes, 25 GBP. The supplier never confirms.OUTSIDE THE SLIP [countersignature-missing] The slip asks for the other side to countersign this action, and there is no countersignature.
  5. 5. Orders a second toner cartridge, 80 GBP, without asking. The supplier countersigns.OUTSIDE THE SLIP [over-limit] With this stub the total is 230 GBP. The slip's limit is 200 GBP: over by 30.
    OUTSIDE THE SLIP [approval-missing] The slip asks for the person's own approval of this action, and there is none.
  6. 6. Asks for 500 GBP of goods. The supplier refuses, and signs its refusal: "The action would pass a limit of the slip."A refusal is shown as the service's statement, not as what the agent did. It is not counted against the agent.
  7. 7. Deletes the old order files.OUTSIDE THE SLIP [action-not-allowed] The slip does not allow the action "provared.data.delete".
    OUTSIDE THE SLIP [prohibited] The slip says the agent must never do an action of the kind "destroys", and "provared.data.delete" is of that kind.

The sealed book (the seal), by "Example recorder (invented)", covers the nine entries before it. Sealed at 10:15 by the recorder's own word; time-stamped at 10:16 by an outside service the person checking named as trusted. Three signatures, two of them quantum-safe, all valid.

The checker's summary, exactly as printed:

Summary
  Is the record intact?                 yes
  Was every signature checked?          yes
  Did the agent stay within its slip?   NO: first at entry 5
  Time-stamped in a way you trust?      yes: the first 9 entries existed by 2026-10-05T10:16:00Z
  Checked against keys you named?       yes: the passkey you trust, and the recorder you expect
  Slips 1, stubs 6 (countersigned 3, one-sided 3), seals 1
  Approved by the person 1, refusals 1, terms for agents 1

What this check does not show

The checker says this itself at the end of every answer:

The worked example, for developers, shows the code that made the record above and what the checker said about it. Or check it in a browser: the checking page checks the sample at a click and any record you choose, and loads nothing from anywhere. You can also download it as one file and open it from your disk. The page uses only the signing methods your browser has built in. Tried on the author's computer on 13 October 2026: Chrome 155, Edge 155 and Brave 155 each check the quantum-safe signatures on receipts. None of the three has the further quantum-safe method that a seal is also signed with, so for this sample each of them says that the check was not complete and gives no pass. The command-line checker checks everything.

What the author found nowhere else (October 2026)

Signed, chained and time-stamped receipts for an agent's actions exist in other open projects too, some with quantum-safe signatures. As far as the author knows, in October 2026, three things are only here:

If you know of another project that does any of these, write to the author: this list is kept honest.

How it is built

Built from published standards only, with nothing hand-made: JSON Web Signature, one canonical form of JSON, Ed25519 and ML-DSA-87 (FIPS 204) side by side on every receipt, RFC 3161 time-stamps, and the tree of RFC 9162. The format is described exactly in one document, and shared test files hold another implementation to the same answers.

It is one author's work, in their own time, built with AI tools since 3 October 2026. The code has been through more than 80 rounds of review by AI reviewers, each a fresh session given the code, the documents and a brief of what to look at. Until 7 November 2026 each reviewer likely also had the author's private planning notes loaded, so could see the author's reasoning; since then reviewers start without them. Every fault was fixed, or stated as a limit, and kept as a test. No person other than the author has reviewed it yet. That is an invitation.

Where it is

Status: the library is at version 0.9.2 and the guard at version 0.5.3. Both are drafts, published as they are by one author in their own time, with fixes as time allows. The format may still change. Every published version stays on npm and the Python Package Index, so a record made with one version can always be checked by that version. What a record does not prove is stated beside what it does.

Write to the author

Nothing is sold here, and there is no hosted service. If you run an agent and have a question, or are thinking of recording it with Provared, send an email to [email protected]. Say in a line what your agent does and what you would want kept. Every email is read by the author and answered within a few days. Faults and suggestions are also welcome as issues on GitHub.