KeyKeeper

Trust agents to manage your API keys. Safely.

KeyKeeper is a small macOS app and command line. It lets an AI agent — Codex, Claude Code, Cursor, a script — fetch, store, verify and use API keys on your Mac, while you approve each use and the agent never sees a value.

  • Keys live in the macOS Keychain. Nothing in the chat, nothing in .env, nothing in the project.
  • Every use is approved by you: just this once, while it runs, or don't ask again — and revocable.
  • Keys an agent creates are inject-only: they go into a command's environment through keykeeper run and are never printed or returned.
  • KeyKeeper knows the providers: where a key is made, what to choose, and how to verify it.