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.
-
Store the key once
-
Your agent asks for it
-
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 runkeynod run -
.env files
KEY=sk_live_…keynod inject -
Pasting keys into chat
here's my key: sk-…<concealed>
| Feature | Keynod | 1P CLI | .env | Paste |
|---|---|---|---|---|
| Masks keys in output | Yes | Yes | No | No |
| Approve from iPhone | Yes | No | No | No |
| Spots copied keys | Yes | No | No | No |
| No account | Yes | No | Yes | No |
| Free | Yes | No | Yes | Not applicable |
| Open source | Yes | No | Not applicable | Not 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.
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
# after the Mac steps; iCloud needs a paid Apple Developer Program team
# in Local.xcconfig: KEYNOD_ICLOUD_CONTAINER = iCloud.com.yourname.keynod
make install
make phone # installs Keynod on your connected iPhone
# then: Keynod Settings → iPhone Approvals → Pair iPhone…
## Secrets (Keynod)
- API keys live in Keynod. Run `keynod list` to see names and field labels.
- Use a secret without reading it: `keynod run --env VAR="<secret>/<field>" -- <command>`, or `keynod inject "<secret>/<field>" --to <git-ignored path>`.
- Never print secret values, never use `keynod get`, never paste a key into chat.
// 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.