The signafAIde SDK is used to intercept AI agents before they execute high-risk tool calls and to prove what actions the agent actually performed.
Purpose:
- Record: each tool call is signed with the agent's own key and stored in a chain on the executing machine.
- Protect: an independent witness service allows or blocks high-risk calls (payments, deletions, sending, executing commands, pushing code, etc.) based on published rules. Tools can be protected with one command via npx signafaide protect or the console.
- Prove: generate links that auditors can verify offline, without trusting the user or the service provider.
Key capabilities:
- Local-first: without an API key, records are signed, chain-stored, and verified in the .signafaide/ directory, and no data is sent. Blocking calls requires the witness service to allow them, so protected tools need a key or a free sandbox; recording only does not.
- Privacy protection: after opting in, each record sends a content hash, tool name, agent name, timestamp, and chain links, but not inputs or outputs, unless content storage is enabled. Content hashes use a 16-byte random salt, and the salt is kept locally.
- Independent checking: the protocol is a public specification with test vectors; the verifier can check verification packages without the service.
- Supports Python and TypeScript SDKs, MCP server, LangChain, OpenTelemetry.
- Provides the verifier signafaide-verify, which can run the 12 checks in Section 7 of the specification offline, available via PyPI, npm, or GitHub Releases binaries.
- Supports a self-hosted witness service (enterprise contract), configured via SIGNAFAIDE_URL.
Usage:
- Run npx signafaide protect in the agent folder terminal; it discovers tools, asks about protection scope and blocking rules, shows code changes, and writes them after confirmation, and can create a free sandbox and save rules.
- Manually wrap tools in code: use protect() or the @signafaide.protect decorator.
- When no terminal is available, use protect --yes to automatically protect tools for payments, deletions, sending messages, executing commands, pushing code, or editing secrets/config, with the default rule Calibrating (blocking no calls until manually enabled).
- MCP server: npx signafaide-mcp (Node.js 20+), for codingagents to preview settings, verify records, and view status. For Claude Code use claude mcp add signafaide -- npx -y signafaide-mcp@0.5.9; for Gemini CLI use gemini extensions install https://github.com/AIME-TECH-UK-LIMITED/signafaide-sdk。
- Record all MCP tool calls: signafaide gateway -- <MCP server command> as a recording proxy.
- Agents traced with OpenTelemetry can be recorded via SignafaideSpanProcessor without wrapping.
- Framework tools are declared for recording via wrap_tools/wrapTools, and the full tool list is declared via declare_tools/declareTools.
Use cases:
- Enterprises or developers that need to audit high-risk operations of AI agents.
- Scenarios where agent behavior must be proven to auditors without trusting the service provider.
- Agent systems using MCP, LangChain, or OpenTelemetry.
Limitations:
- A verification package passing only proves that the content recorded by the program has not been tampered with; it does not prove that the content is true, nor does it prove that unrecorded calls do not exist.
- The gateway only records calls that pass through it; calls that bypass the gateway are not recorded.
- A declaration is a tool list signed by the program itself and does not prove that the list is complete.
- Blocking calls depends on the witness service; without a key, only recording is possible.
- For production environments, refer to the production guide; each machine, replica, or CI job running an agent needs an independent agent name or the same key.
- The macOS binary is not yet notarized and may be rejected by the system; using the npm or PyPI package is recommended.
- Network policies must allow signafaide.co.uk and api.signafaide.co.uk.
- Commercial terms such as fees and pricing are not yet provided.