100% open source · MIT · free

Your AI agent uses the key.
Never sees it.

Touch ID approval for every secret your agent uses. Nothing to sign up for.

Keynod is a free, open-source macOS app that keeps API keys in your Keychain and hands them to AI agents only after you approve with Touch ID.

// the problem

Pasted keys don't stay put.

An API key pasted into an AI chat ends up on the model provider's servers. A key in a .env file ends up in a public git repository. A key printed by a script ends up in a log file.

Paste a key once, and it lives where you can't delete it.

// how Keynod solves it

Your agent asks. You nod.

  1. Store the key once

  2. Your agent asks for it

  3. You nod. It gets <concealed>.

Key Catcher spots 27 key formats when you copy one.

// what it replaces

The local alternative to three habits.

  • 1Password CLI op run keynod run
  • .env files KEY=sk_live_… keynod inject
  • Pasting keys into chat here's my key: sk-… <concealed>
Keynod compared with the 1Password CLI, .env files and pasting keys into chat
Feature Keynod 1P CLI .env Paste
Masks keys in outputYesYesNoNo
Approve from iPhoneYesNoNoNo
Spots copied keysYesNoNoNo
No accountYesNoYesNo
FreeYesNoYesNot applicable
Open sourceYesNoNot applicableNot applicable

✗ no such feature in its public docs · — not applicable. Keynod runs on macOS 14+ and iPhone only.

// open source

100% open source. MIT.

  • Read every line
  • Build it yourself
  • 0 Accounts or telemetry
  • $0 No paid tier

Guardrails, not magic. Read the threat model in SECURITY.md

// see it run

See it run.

~/acme-api ❯ keynod run --env OPENAI_API_KEY="OpenAI/Key" -- python deploy.py | tee deploy.log
Using OPENAI_API_KEY=<concealed>

Install from source

# needs Xcode 16+, XcodeGen and an Apple Developer Team ID
brew install xcodegen
git clone https://github.com/OnurrUgur/keynod.git && cd keynod
cp Local.xcconfig.example Local.xcconfig   # add your KEYNOD_TEAM_ID
make install
keynod list    # "no secrets" means it works

// faq

Questions

What is Keynod?

Keynod is a free, open-source macOS and iPhone app that keeps API keys in your Mac's Keychain. AI agents such as Claude Code use them through keynod run, only after you approve with Touch ID or Face ID.

How is Keynod different from the 1Password CLI?

keynod run and keynod inject follow the same idea as op run and op inject. Keynod is local-only and free, needs no account, and asks you for every command.

Does my key ever leave my Mac?

Secret values stay in your Mac's Keychain and are never written to logs, iCloud or Keynod's metadata. A command you approve does get the value, which is why the dialog names that command.

Which AI agents does Keynod work with?

Any agent that can run a shell command: Claude Code, Codex, Cursor, Antigravity, Gemini CLI and your own scripts. The iPhone prompts and the guard against keynod get --reveal are for Claude Code only.

What do I need to install Keynod?

A Mac with macOS 14 or later, Xcode 16 or later and an Apple Developer Team ID; you build it from source with make install. There is no App Store, Homebrew or DMG release yet.

Keynod's mascot, a monochrome keyhole robot, nodding happily

Lend your keys. One nod at a time.