cd /news/ai-agents/signafaide-check-ai-agent-tool-calls… · home › topics › ai-agents › article
[ARTICLE · art-175314] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

SignafAIde- check AI agent tool calls before they run, verify offline

AIME-TECH-UK-LIMITED released signafAIde, an Apache-2.0 SDK and verifier set (Python and TypeScript, version v0.5.6) that signs and chains a record of every AI agent tool call on the local machine and, for risky calls such as pay, delete, send, run a command or push code, routes a content hash to an independent witness that allows or blocks the call under published rules. The SDK and verifiers need no account and verify offline; sending records to the hosted witness at https://api.signafaide.co.uk begins only when a person runs `signafaide init` or sets SIGNAFAIDE_API_KEY, and each record transmits a content hash salted with 16 random bytes kept on the machine, plus tool name, agent name and time, never inputs or outputs unless stored content is enabled. The release matters because it gives auditors a verification pack they can check offline without trusting the agent operator or the vendor, with a self-hosted witness available under an Enterprise contract via SIGNAFAIDE_URL.

key takeaway

signafAIde v0.5.6 signs and chains each tool call locally and, for protected tools, sends only a 16-byte-salted content hash plus tool name, agent name and time to a witness that co-signs and adds public time bounds, so auditors can verify offline without the inputs or outputs leaving the machine.

read14 min views1 publishedNov 24, 2026
SignafAIde- check AI agent tool calls before they run, verify offline
Image: Michielbdejong (auto-discovered)

signafAIde checks each risky AI agent tool call before it runs, and proves what your agents did.

<sub>A real run of examples/payout-agent against a free sandbox (the claim link is masked).</sub>

Record: every tool call is signed with the agent's own key and chained on the machine that made it. #

Protect: an independent witness allows or blocks risky calls (pay, delete, send, run a command, push code) under your published rules; protect a tool withnpx signafaide protect or one click in the console. #

Free on its own: the SDK and the verifiers are Apache-2.0 and need no account. On their own they give you a signed, chained, offline-verifiable record of every tool call, on your machine. The service adds what one party cannot give itself: an independent second signature, two public time bounds, and a check that no record is missing. #

Local first: with no API key, records are signed, chained and verified in.signafaide/ , and nothing is sent. Blocking a call needs the witness to allow it, so a protected tool runs only with a key or a free sandbox; recording does not. Sending starts only when a person runssignafaide init (a sandbox: no account, email or card) or setsSIGNAFAIDE_API_KEY . #

Your environment: the default witness is the hosted service (https://api.signafaide.co.uk ). A self-hosted witness, under an Enterprise contract, is set withSIGNAFAIDE_URL (self-host guide ). Running in production:production guide . #

Independent checks: the protocol is a public spec with test vectors, and the verifier checks a verification pack without our service.

flowchart LR
    A[Your agent] -->|tool call| S[signafAIde SDK<br/>signs and chains the record<br/>on your machine]
    S -->|protected tool:<br/>content hash + the fields a rule needs| W[Witness<br/>allows or blocks under your rules,<br/>co-signs, adds public time bounds]
    W -->|ruling| S
    S -->|allowed| T[The tool runs]
    S --> P[Verification pack]
    P --> V[Auditor runs the verifier offline,<br/>without trusting you or us]
path what
spec/SPEC.md the protocol: records, batches, receipts, anchors, the HTTP API, verification packs, local state
spec/vectors.json test vectors every implementation reproduces byte for byte
python/ the Python SDK and CLI ( signafaide on PyPI)
python-langchain/ langchain-signafaide : a LangChain agent middleware that records every tool call the agent makes
js/ the TypeScript SDK, CLI and agent setup for coding agents (signafaide on npm), and the MCP server (signafaide-mcp , injs/mcp )
CHANGELOG.md what changed in each release; every release is a git tag ( v0.5.6 )
verifier/ signafaide-verify , the standalone Rust verifier of a pack (also builds to WebAssembly); its PyPI package (verifier/pyproject.toml ) and the release binaries
js/verify/ signafaide-verify on npm: the TypeScript verifier as one file, for auditors
core/ the Rust protocol core shared by the verifier and the service
plugin/ the Claude Code plugin: the MCP server and the skill

In your agent's folder, at a terminal:

npx signafaide protect            # TypeScript or JavaScript
uv run signafaide protect         # Python (after uv add signafaide; or .venv/bin/signafaide protect)

protect finds the agent's tools, asks which to protect and what to block (On or Calibrating), shows the code change and asks before writing it, makes a free sandbox if you say yes and saves your rules. Then:

npx signafaide check approve_payout amount=1200 currency=GBP   # a dry run: exit 1 when it would block
npx signafaide status                                            # one line per tool: recorded, protected, proof
npx signafaide prove approve_payout                              # a read-only link for your auditor

One agent name = one key: each machine, replica or CI job that runs the agent needs its own agent name, or the same agent key (see the production guide). status and prove say when they don't match.

To wrap a tool in code instead (this is what protect writes):

import signafaide

@signafaide.protect(agent="payout-bot")   # asks the witness before it runs
def approve_payout(payee: str, amount: float, currency: str): ...
js
import { protect } from "signafaide";

export const tools = {
  approve_payout: protect(approve_payout, { args: ["payee", "amount", "currency"], agent: "payout-bot" }),
};

pull fetches the rules saved in the console, login signs a person in to save rules after the sandbox is kept. A runnable example: examples/payout-agent; starters with a protected tool in place: templates/. To wrap tools by hand, see the reference sections of the Python and TypeScript READMEs.

  • Protected in code is protected. A tool wrapped withprotect() (or@signafaide.protect ) runs every check on this machine On even withoutsignafaide.checks.json , asks signafAIde for a ruling, and counts as protected instatus ,prove ,verify ,check --ci and the console.
  • Without a terminal (a coding agent, a script, CI),protect --yes protects every tool that pays, deletes, sends messages, runs commands, pushes code or edits secrets or config, and gives each a default rule that starts Calibrating (it blocks nothing until a person turns it On): above 1,000 for a tool that pays and has an amount, else a number of calls a minute. The rules are saved in a sandbox nobody has kept yet, kept insignafaide.checks.json with no key, or, on a project an API key cannot save rules in, kept there with one console link per tool where a person adds the rule with one click. A field a rule needs is sent only after a person approves it withsignafaide pull at a terminal. Details:TypeScript ,Python .
  • Tests. Under pytest, Vitest, Jest andnode --test a protected tool runs without a ruling and nothing is sent; never with a live key.
  • Networks that block the witness. When a proxy or network policy refuses it, the SDK says so in one sentence: allowsignafaide.co.uk andapi.signafaide.co.uk in the environment's network settings. Both SDKs go throughHTTPS_PROXY ,HTTP_PROXY andNO_PROXY (TypeScript alsoALL_PROXY ).

The MCP server (signafaide-mcp, Node.js 20 or later) lets a coding agent preview the setup, verify records and show status. It sends nothing until a person agrees to create a sandbox. In a project, npx signafaide agent setup writes this for each coding agent it finds. To add it by hand, put this in the agent's MCP configuration (Cline, Cursor, Windsurf, Kiro, Zed and others use the same shape):

{
  "mcpServers": {
    "signafaide": { "command": "npx", "args": ["-y", "signafaide-mcp@0.5.6"] }
  }
}
  • Claude Code: claude mcp add signafaide -- npx -y signafaide-mcp@0.5.6
  • Gemini CLI: gemini extensions install https://github.com/AIME-TECH-UK-LIMITED/signafaide-sdk
  • Kiro:

There are no API keys or other settings. To check it works, ask the agent to call signafaide_status.

Wrapping records the tools a developer wraps. Three things cover the rest.

  • MCP tools: signafaide gateway -- <the MCP server's command> (in thesignafaide npm package) runs an MCP server behind a recording proxy. The agent's MCP client starts the gateway in place of the server, for examplenpx -y signafaide gateway --agent support-bot -- npx -y @modelcontextprotocol/server-filesystem /data . Every tool call that passes through is recorded, a decision before the call is forwarded and an outcome when the answer arrives, and a call that cannot be recorded is not forwarded. A remote (HTTP) server goes behind a stdio bridge:npx -y signafaide gateway -- npx -y mcp-remote https://mcp.example.com/mcp .
  • Traced agents: an agent already traced with OpenTelemetry is recorded with no wrapping, by one span processor added where tracing is set up (SignafaideSpanProcessor , insignafaide.otel for Python andsignafaide/otel for TypeScript). It reads tool-call spans by the OpenTelemetry GenAI, OpenInference and OpenLLMetry conventions and exports nothing. Each record says that it comes from telemetry and whether its decision was written before the tool ran or after it, and what the tracing sampler can leave out is reported as a note. Running a tool only once it is recorded (a protected tool) needs the SDK's wrappers. See thePython andTypeScript READMEs.
  • Framework tools: wrap_tools /wrapTools declare the tools they wrap as recorded, anddeclare_tools([...]) /declareTools([...]) takes the agent's full tool list, so the tools that are not wrapped are declared as not recorded. The declaration is a signed note per tool in the agent's chain (ordinary records, counted like any other), and every verifier reports it per agent, for exampleall 4 declared tools are recorded or1 declared tool is not recorded: web_search . It is a note, never a failure.

What this shows, and what it does not: the gateway records every call that goes through it; a call the application makes around it is still not recorded, so the deployment has to make the gateway the only route to those tools. A declaration is the program's own signed statement of its tools: evidence of what it said it had, not proof that the list is complete. A tool list is as fresh as its last declaration: a source that stops (a gateway that is removed, a program that ends) leaves the list at its clean exit, or within 24 hours after a crash. Details: TypeScript, Python, spec §2.6, §7 and §8.

signafaide-verify checks a verification pack on your own machine, without an account, the SDK or our console. It runs the 12 checks of spec §7 and ends with one result line. There are three ways to get it, each pinned to a release (the commands below name this one; use the version the customer's signafaide prove prints):

npx signafaide-verify@0.5.6 pack.json --agent-keys agent-keys.json --head head.json   # npm, Node.js 20 or later
uvx signafaide-verify@0.5.6 pack.json --agent-keys agent-keys.json --head head.json   # PyPI (or: pipx install signafaide-verify==0.5.6)

Or download the single program for Linux (static), macOS or Windows from GitHub Releases, with SHA256SUMS from the same release, and check both the checksum and how it was built (by release.yml on main) before you run it. LICENSE and THIRD-PARTY-NOTICES.md (the licences of the Rust crates in it) are in the same release, and in every wheel and the sdist:

sha256sum --check --ignore-missing SHA256SUMS
gh attestation verify signafaide-verify-linux-x86_64 \
  --repo AIME-TECH-UK-LIMITED/signafaide-sdk \
  --signer-workflow AIME-TECH-UK-LIMITED/signafaide-sdk/.github/workflows/release.yml \
  --source-ref refs/heads/main
chmod +x signafaide-verify-linux-x86_64

On macOS use shasum -a 256 --check --ignore-missing SHA256SUMS; on Windows compare Get-FileHash signafaide-verify-windows-x86_64.exe with its line in SHA256SUMS. The files are signafaide-verify-linux-x86_64, -linux-arm64, -macos-x86_64, -macos-arm64 and -windows-x86_64.exe. The macOS programs are not notarised by Apple yet: one downloaded with a browser is blocked by Gatekeeper until you remove the quarantine flag (xattr -d com.apple.quarantine <file>) after checking it as above; one downloaded with curl is not flagged.

What each one is: the PyPI wheels hold these same release binaries, file for file; on a platform without a wheel, pip builds the Rust verifier from the sdist, which needs a Rust toolchain. The npm package is a different implementation, the TypeScript verifier, in one file with no dependencies. All of them, and the SDKs' signafaide verify, give the same check ids, statuses and result line for the same inputs (spec §7); CI runs the spec vectors and the same input cases through each.

The service keys. Each release of signafaide-verify has the hosted witness's public keys pinned in it, and verifies with those. Online, it also reads the list published at https://signafaide.co.uk/.well-known/signafaide-keys.json: keys are never removed or changed, so every pinned key must be there with the same bytes. A key retired there (it has a valid_to) is applied, so records it signed later fail. A key revoked there (listed under revoked) is applied too: nothing it signed verifies. Both are named on the service keys: line and the run goes on. Newer keys in the list (after a rotation) and fields this release does not know are fine; a pack made since a newer key became valid needs a newer signafaide-verify, and the output names those keys. If a pinned key is missing or changed there, or its revoked list is malformed, it stops with KEYS DIFFER and exit code 2 and verifies nothing. If the list cannot be read (no network, an error, a redirect), it verifies with the pinned keys and says so above the result line: service keys: pinned in signafaide-verify 0.5.6, not cross-checked (published list unreachable); the public timestamp is still looked up. With --offline nothing is looked up and the line says not cross-checked (--offline). --keys <file|url> uses other keys, for example a self-hosted witness's own list, read the same way (a key that document lists as revoked verifies nothing), and unless it is exactly the pinned set (every entry the same, including valid_from and valid_to, and nothing revoked) the result line itself says so: PASS (service keys from --keys differ from the pinned set): .... The line above the result always says where the keys came from, and --json has service_keys_source, service_keys_cross_check and service_keys_pinned_set. The agent keys, agent-keys.json, come from the customer ( signafaide keys export), and head.json (their newest signed head) shows that no record was cut from the end.

--offline makes no network request at all: the public timestamp check is then reported as not checked, never as passed. --json prints the report for other tools. Redirects are never followed. Behind a TLS-inspecting proxy, point SSL_CERT_FILE (binary and PyPI) or NODE_EXTRA_CA_CERTS (npm) at its CA certificates; the verifier says so on stderr.

The last line is the result, for example PASS: 12 of 12 checks passed; export of every agent, all records, generated 2026-11-20T09:00:00.000Z. Exit code 0 is PASS, 1 is FAIL, 2 means an input could not be read or the keys differ. Only checks that passed are counted as passed: a public timestamp that has not confirmed yet is pending (usually a few hours), for example PASS: 11 of 12 checks passed, 1 pending (public timestamp), and a check that could not run is not checked. When the keys did not come from an independent source, the result says so in brackets after PASS.

To build the verifier from source: cargo run --release --manifest-path verifier/Cargo.toml -- pack.json --agent-keys agent-keys.json.

A pack that passes shows what the agent's program recorded and that it was not changed later; it does not show that the content was true, or a call that was never recorded. The full list: Limits of a signafAIde record.

Automated scanners flag this package because it reads credentials from the environment and talks to a network host. Both are expected for a client of a remote witness. This is what it does:

  • Credentials: it readsSIGNAFAIDE_API_KEY (or the keysignafaide login andinit save in your user config folder) and sends it only to the witness, as the bearer token. It reads no other service's credentials. The checks look at tool arguments and results for secrets to block them; they never send them anywhere.

  • Other settings:SIGNAFAIDE_URL (a self-hosted witness),SIGNAFAIDE_HOME ,SIGNAFAIDE_CHECKS and a few moreSIGNAFAIDE_* options listed in the SDK READMEs, and the standard proxy and CA variables (HTTPS_PROXY ,HTTP_PROXY ,ALL_PROXY ,NO_PROXY ,NODE_EXTRA_CA_CERTS ,SSL_CERT_FILE ).

  • Hosts, before any opt-in: none. With no API key, records are signed and kept in.signafaide/ on your machine.

  • Hosts, after signafaide init or an API key: the witness (https://api.signafaide.co.uk , or yourSIGNAFAIDE_URL ), andhttps://signafaide.co.uk/.well-known/signafaide-keys.json for the published service keys.

  • Hosts when verifying: a public block explorer API (https://mempool.space/api by default, or the one you pass) to confirm public timestamps, and the published key list.--offline makes no request at all.

  • No install scripts: the npm packages have no install or postinstall scripts, and the release workflow publishes with--ignore-scripts .

  • What leaves your machine: a salted content hash, the tool and agent names, the time and the chain links, plus only the argument fields a rule lists underdisclose . See "Hashes, not content" above and theprivacy notice .

  • Privacy: privacy notice

  • Support: open an issue or emailsales@signafaide.co.uk

  • Security reports: see the security page

Apache-2.0, see LICENSE.

See CONTRIBUTING.md for the layout and how to run the checks. Report vulnerabilities privately as described in SECURITY.md.

If signafAIde is useful to you, a star on this repository helps other developers find it.

── more in #ai-agents 4 stories · sorted by recency
── more on @aime-tech-uk-limited 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/signafaide-check-ai-…] indexed:0 read:14min 2026-11-24 · —