Skip to main content

FAQ

Common questions about zn-gate, the optional cloud and what is free.

View .md

Do I need an account or an API key?

No. Everything that runs on your machine works without one, with no usage limits. An API key is only used by the optional cloud second opinion, and only together with ZN_CLOUD=1.

Does anything leave my machine?

Not by default. Tool arguments and MCP tool descriptions are never sent. Tool output is never sent either, except for one opt-in setting in Claude Code (cloudCheckToolOutput, off by default, also after zn-gate connect) that sends a capped, redacted sample of web, MCP and shell results. Prompts are sent only if you set both ZN_CLOUD=1 and ZN_API_KEY, or run zn-gate connect yourself, and the secrets zn-gate detects are removed locally first; personal data is not removed. See What leaves your machine.

Which agents are supported?

Any MCP client. Hooks cover six supported agents: Claude Code, Codex CLI, Cursor, OpenCode, Antigravity and ZCode desktop app. Gemini CLI and Copilot CLI have experimental hooks, which makes eight agents zn-gate can install hooks for. The quickstart has commands for each of them, and zn-gate init --wrap-mcp can rewrite the configs of Claude Desktop, Claude Code, Cursor, Codex CLI, OpenCode and Antigravity. For agents you build yourself, there is a Python and Node.js SDK.

Does zn-gate slow my agent down?

About 55 ms per tool call, and most of that is Node.js starting up (a bare Node.js start takes 24 ms in the same run). Measured on 2026-10-19 on a GitHub Actions ubuntu-latest runner (4 vCPU AMD EPYC 7763, Node.js 22.23): the time from when the agent starts the zn-gate hook until it exits had a p50 of 54 ms for a shell command check in Claude Code, 57 ms for a 1 KB tool output, 62 ms for 100 KB and 80 ms for 1000 KB. The timings are from the hook-latency benchmark (bench/hook_latency_matrix.js); docs/performance.md in the repository has the full table for Claude Code, Codex CLI and Cursor, and how to reproduce it. Your times depend on your machine, and the check runs again for every tool call.

Will it block legitimate content?

Sometimes. On whole source files the local rules currently produce false positives on ordinary code comments. Use shadow mode (init --shadow or shield --shadow) to log detections without blocking while you evaluate it, and use check_tool_result for web and third-party content rather than your own repository files.

Does it see my agent's built-in tools?

Yes, with zn-gate 1.5 and later: the zn-gate plugin in Claude Code (see the Quickstart), and zn hooks install codex, cursor or opencode (npm) in the other agents. It scrubs the output of the agent's built-in tools before the model sees it in Claude Code and OpenCode; Codex replaces the result with a scrubbed copy; Cursor can only block reads of secret files and does not let the hooks rewrite shell or file output. See the Scrubber. Without the hooks, a native file read or shell command does not pass through zn-gate unless you send its output to check_tool_result.

Are there detection rates?

Not for the local rules in zn-gate yet. The self-test (51 vectors) is a smoke test, not a detection or false-positive rate. We will publish results on a held-out test set, with method and data, before quoting a number. The previous cloud model, Galvanize 2, has held-out results with method in its launch post. The Galvanize docs page has those results and, for the previous model, Galvanize-60M, its dated first-party benchmark with its public dataset.

What do you charge for?

Only what cannot run on your machine: Galvanize 3.1 in the optional cloud check and, for teams, centralized controls. zn-gate itself is MIT. See pricing.

How do I remove it?

Run npx -y zn-gate uninstall in your own terminal. It lists what it will remove, asks before removing anything, and keeps your vault unless you say otherwise. init --revert only undoes the MCP wrapping: it does not remove the plugin or the hooks. Piece-by-piece steps and how to keep your .env values: Remove zn-gate.

How do I report a vulnerability?

Email security@usezn.com. Policy, scope and safe harbor: security.

What do the words in these docs mean?

The Glossary explains each word in a line and links to the page that covers it.

What do I do when zn-gate shows a message I do not understand?

The Troubleshooting page lists the messages people meet most often, copied as zn-gate prints them, with what each one means and what to do.