A smoke detector and a safe for your API keys.

AgentSafe sits at the top of your screen, beside your menu bar icons or over the notch. It tells you the moment an AI agent leaves an API key in a transcript, a config file or your shell history, and it keeps your keys behind Touch ID, where agents cannot read them.

Download opens soonLicence from $0.99

The scan is free. Pay once, keep your Mac safe forever. macOS 14 or later. No account, no cloud.

What your agents left behind

Agent transcripts are the new .env file.

Every time an agent reads a key, or you paste one into a chat, it is written to a plain text file on your disk and kept for weeks. Anything running as you can read those files, and their contents were already sent to the model provider.

Where AgentSafe looks

  • Claude Code, Codex and Cursor history
  • The usual folders for Windsurf, Gemini CLI, OpenCode and Aider (less tested so far)
  • Agent settings and MCP configs, including “don’t ask again” approvals
  • Shell history
  • .env files across your projects

What you get

Every leaked key, worst first. Each one says in plain words what it can do, whether it is a live or a sandbox key, how many files it is in, and gives a link to the provider’s page to replace it. Results are stored without the key itself: only the first and last few characters.

With a licence you also see the exact file and line of every copy, and one click removes them all from your transcripts and shell history. The watch then runs all the time, and the icon turns red within seconds of a key landing in a transcript.

The Leaks tab listing four leaked keys, worst first. A Stripe live key is marked critical, with a description of what it can do and buttons to open Stripe, mark it rotated and remove the local copy.
The safe

Putting a key in takes a second. Getting one out takes your fingerprint.

Copy a new key at the provider, paste it into the panel, done. AgentSafe recognises more than 25 key formats and names the key for you.

Saving needs no unlock, because each key is encrypted the moment it arrives. Reading one back needs Touch ID or your master password, every time. An agent can type and click. It cannot touch a sensor.

  • Copied keys leave the clipboard after 30 seconds and are marked so clipboard managers skip them
  • Each key shows its age, with a reminder when it is time to replace it
  • Expiry dates, for keys that have one
  • One encrypted backup file, since there is no cloud
  • One click adds rules that stop Claude Code reading your .env files
The Keys tab with six stored keys. The selected Anthropic key is marked as leaked, with Copy, Show for 12 seconds and Rotate this key buttons.
Why you can trust it

It cannot phone home. macOS will not let it.

A tool that reads all your keys has to answer one question: where do they go? AgentSafe runs in the macOS sandbox with no network permission. That is enforced by the system, not by a promise, and you can check it yourself:

codesign -d --entitlements - /Applications/AgentSafe.app

You will see permission to read folders you choose, and nothing about the network. The price of that is honest too: the app cannot check for updates, so new versions are announced here.

What it does

  • Keeps keys encrypted on disk, never in a plain file
  • Asks for Touch ID before any key is copied or shown
  • Finds keys that already leaked, and watches for new ones
  • Stores findings without the secret in them

What it cannot do

  • Undo a leak. A key that reached a transcript was sent to the provider. Only replacing it fixes that.
  • Hide a key you choose to show on screen from an agent that can take screenshots. Copy instead.
  • Stop a determined agent that has full access to your Mac. It removes the easy paths.
  • Catch every secret. It knows key formats and .env names, not your passwords.
Price

Pay once, keep your Mac safe forever.

The price goes up as people buy. It starts at $0.99 and rises by $1 after every 5 sales until it reaches $5.99, where it stays. VAT is included where it applies.

$0.99ONCESALES OPEN SOON
  1. $0.99
  2. $1.99
  3. $2.99
  4. $3.99
  5. $4.99
  6. $5.99

Free

  • Scan whenever you like
  • See every leaked key, how serious it is, and where to replace it
  • One click to stop Claude Code reading .env files
  • Three keys in the safe
  • Encrypted backup

Licence

  • The exact file and line of every leaked copy
  • Remove all local copies in one click
  • As many keys as you have
  • The always-on watch, with alerts
  • Rotation and expiry reminders
  • Every later version
Sales open soon
Questions

Before you download

My Mac has no notch. Does it work?

Yes. AgentSafe sits beside your menu bar icons by default, which works on every Mac. On a MacBook with a notch you can move it there in Settings.

Where are my keys stored?

In one encrypted file inside the app’s private folder on your Mac. The key that opens it is itself locked twice: once by your Mac’s Secure Enclave, which answers only after Touch ID, and once by your master password.

What if I forget my master password?

While Touch ID works, you can still use your keys. Without both, nobody can open the safe, including us. Keep a backup and write the password down somewhere offline.

Why does it ask to read my home folder?

Agent transcripts, shell history and .env files live there. macOS shows a folder dialog and the app can read only what you choose. It cannot send what it reads anywhere.

I already use a password manager. Why this?

Keep it for passwords. AgentSafe does two things most managers do not: it looks for keys that already escaped into agent files, and it never shows a pop-up for an agent to click.

How do I get updates?

The app has no network access, so it cannot fetch them. Download the new version here and drag it over the old one. Your safe stays where it is.