Rivets Software

AgentGate for Mac

Let your AI agent work. Keep the right to say no.

AgentGate is a Mac app that sits between AI coding agents like Claude Code and your Mac. Tests, builds and file reads run without interruption. Deleting a folder, reading your keys or force-pushing stops for a card you approve with Touch ID. Restore a file or project from its pre-edit snapshot.

One-time purchase · One Mac · macOS 14+ on Apple silicon and Intel · 30-day refund

AgentGate approval card: Claude Code wants to run a command that hides a Base64 payload. The card shows the decoded command, which uploads an SSH key, with Block, Allow 15 min and Allow Once buttons and a countdown.
A real card. The agent typed npm test && echo … | base64 -d | sh. AgentGate shows what it would actually run.
The AgentGate pill under the MacBook notch: Claude Code, 3 files edited, 2 secrets shielded, snapshot 8 seconds ago, with Rewind and Freeze buttons.
While an agent works, a pill under the notch shows what it is doing. Rewind and Freeze are one click away.

What AgentGate stops, and what it lets through

Known read, build and test commands pass silently, so it stays out of your way. These are the moments it steps in.

Destructive commands

rm -rf, git reset --hard, force pushes, DROP TABLE, sudo. The command waits for your approval. If nobody answers, the card blocks it by itself, so a background agent never hangs and never slips through.

Secrets on their way to the model

For Claude Code and proxied MCP responses, Secret Shield replaces detected secrets with placeholders. For Codex and Gemini built-in tools, it records detections. Returning a vaulted value to an MCP server requires approval.

Commands that hide what they do

Prompt injections rarely say what they mean. AgentGate decodes Base64, hex and URL-encoded payloads, up to three layers deep, and shows you the real command in red on the card.

Reaching outside the project

With Workspace Jail on, an agent started in one client's repo cannot wander into another's, or into ~/Documents or ~/.ssh. For Claude Code shell commands and MCP servers, macOS itself refuses the file.

An agent switching off its own guard

Editing its own hooks, killing AgentGate or touching AgentGate's data always needs your approval. A timed “Allow 15 min” never covers it.

Everything, right now

Panic Freeze (⌃⌥⌘K, or the Freeze button on the pill) blocks tool calls that reach AgentGate until you lift it.

Undo an agent's mistake, one file or the whole project

Before a supported file-edit tool runs, AgentGate snapshots the project. It is a copy-on-write clone, so it takes no extra disk space until files change.

  1. One restore point per turn. Each prompt that changed files gets a dot on the timeline.
  2. See what changed. Edited, deleted and new files since that point, listed.
  3. Put back what you want. Restore one file, bring back a deleted one, or rewind the whole project. The folder a rewind replaces is kept for 7 days.
AgentGate timeline with five restore points, one per agent turn, and a list of files changed since: one deleted, two edited, one new, each with a restore button.
The timeline for one project. Every row has its own button.

Set up in a minute. Take it all back in one click.

AgentGate works through each agent's own hook and MCP settings. No kernel extension, no special permissions, nothing to write by hand.

  1. Scan. Open Auto-Discovery and select the agent’s settings file or a project MCP configuration.
  2. Protect. Protect installs the available hooks and wraps local MCP servers. In Codex, review the hooks with /hooks. In Gemini, trust the project before using its MCP servers.
  3. Change your mind. Unprotect puts your settings file back byte for byte if you have not edited it since. If you have, your edits stay and only AgentGate's entries come out.

Which AI agents does AgentGate cover?

Codex was tested on a Mac with a signed-in ChatGPT account. Gemini’s tools were tested with local replay. Google sign-in succeeded, but Gemini Code Assist for individuals rejected the model request from this CLI version.

AgentApproval cards and snapshotsSecret ShieldProject jail enforced by macOS
Claude CodeYes, every tool callSecrets replaced before the model sees themShell commands and MCP servers
Gemini CLI 0.72.0 (local replay)Unanswered deletion blocked. Snapshot before write_file.Example AWS key detected and loggedVerified with a local MCP server
Codex CLI 0.173.0Unanswered deletion blocked. Snapshot before apply_patch.Example AWS key detected and loggedVerified with a local MCP server
Claude Desktop, Cursor, WindsurfMCP tool callsSecrets replaced in MCP responsesMCP servers started inside a project

Built for a team's security review, too

An audit trail you can hand over

Every decision is written to a SHA-256 hash-chained log with tamper detection. Export it as CSV or PDF.

Alerts where your team already looks

Send critical blocks and caught secrets to Slack, a JSON webhook, Datadog Logs or Splunk. Events carry a masked command, never the secret.

Company policy by MDM

Lock Strict Mode, block named MCP servers or commands, and require agents to stop when AgentGate is not running, from Jamf, Kandji or Intune.

What AgentGate is not

You should know the limits before you rely on it.

One-time license

$79 USD, once

One Mac. Approval cards, Secret Shield, snapshots and timeline, Workspace Jail, audit log, and updates. Try it free for 3 days first.

Buy AgentGateDownload the free trialActivate a purchase

Common questions

What is AgentGate?

AgentGate is a Mac menu-bar app that sits between AI coding agents and your Mac. Ordinary commands such as running tests or reading files pass without interruption. Risky actions, like deleting a folder, reading SSH keys or a .env file, force-pushing, or touching a production database, stop for an approval card that you answer with Touch ID, Apple Watch or your Mac password. It also takes a snapshot before an agent changes files, so you can undo the change.

Which AI agents does AgentGate work with?

Claude Code supports approval cards, snapshots, secret replacement and a macOS jail for shell commands. With a signed-in Codex CLI 0.173.0, AgentGate blocked an unanswered deletion, took a pre-edit snapshot and logged an example AWS key. The model reported the block and the denial of an outside file through the MCP proxy. Gemini CLI 0.72.0 showed the same tool behavior with local replay. Gemini Code Assist for individuals rejected the signed-in request from that version. Claude Desktop, Cursor and Windsurf use the MCP proxy for local servers.

How do I stop Claude Code from running rm -rf or deleting my files?

Install AgentGate and click Protect for Claude Code. From then on a destructive command such as rm -rf, git reset --hard, a force push or DROP TABLE does not run until you approve it on a card. If nobody answers, the card blocks the command by itself after a countdown (60 seconds by default). AgentGate also snapshots the project before the agent writes, so a mistake that gets through can be rewound.

Can an AI agent read my .env file or API keys?

AgentGate can ask for approval before sensitive reads. In Claude Code and in responses from proxied MCP servers, Secret Shield can replace detected secrets with placeholders. In Codex and Gemini built-in tools, AgentGate records detections and the original output can still reach the model.

Can I undo what an agent did?

Yes. Before a supported file-edit tool runs, AgentGate makes a copy-on-write snapshot of the project, which uses no extra disk space until files change. The timeline shows one restore point per agent turn. Pick a point, see what was edited, deleted or added since, and restore one file, bring back a deleted one, or rewind the whole project. The folder a rewind replaces is kept for 7 days.

Does my code or my secrets leave my Mac?

No. AgentGate makes its decisions on your Mac with fixed rules, not with a cloud model. The only thing the app sends over the internet by itself is its license check: the activation receipt, a code for the Mac and the app version. If you set up team alerts to Slack, a webhook, Datadog or Splunk, those carry a masked command and never the secret.

How do I remove AgentGate, and does it leave my settings changed?

Click Unprotect and AgentGate takes its hooks and proxy entries back out. If you have not edited the file since, your settings file comes back byte for byte, with your own formatting. If you did edit it, your edits stay and only AgentGate's entries are removed. Every file is also backed up before AgentGate changes it. After that, drag the app to the Trash.

Do I need Touch ID?

No. Approvals use Touch ID or Apple Watch when your Mac has them, and your Mac password when it does not. The card and the setup guide name the method your Mac will actually use.

Can an agent get around AgentGate?

AgentGate runs as the same user as the agents it watches, so it is a guardrail and not a full sandbox. It raises the bar in several layers: an agent that tries to touch AgentGate's own data, switch it off or rewrite its own hooks needs your approval, hidden Base64 or hex payloads are decoded and judged as if typed in the open, and with Workspace Jail on, macOS itself refuses Claude Code shell commands and MCP servers a file outside the project. If the app is not running, agents run unguarded unless your company's policy says to block.

Is there a free trial?

Yes. Download AgentGate and it runs fully for 3 days with no payment details. After that it needs a license. When AgentGate is not licensed it stops enforcing and says so clearly; it never blocks your agents over a billing problem. Every purchase also has a 30-day refund for any reason.

What does the $79 license cover?

One $79 USD payment licenses one Mac and includes updates. Enter the emailed purchase key and your Mac code on the activation page, then paste the signed receipt into AgentGate. After activation the app checks the license online when it opens and keeps working for up to 3 days without internet.

Does AgentGate work for a team or a company?

Yes. AgentGate reads managed preferences from MDM tools such as Jamf, Kandji and Intune, so a company can lock Strict Mode, block named MCP servers or commands, and require that agents stop when AgentGate is not running. It keeps a hash-chained audit log with tamper detection and exports CSV and PDF. Each Mac needs its own license.

Which Macs does AgentGate run on?

macOS 14 or later, on Apple silicon and Intel Macs. It needs no special Apple entitlement and no kernel extension: it works through each agent's own hook and MCP settings.