MoltenRock vs the macOS Keychain for AI agents
The Keychain is the right place for a key to rest. The question for AI agents is what happens when one asks for it.
The short answer
The macOS Keychain encrypts each item with AES-256-GCM, protected by the Secure Enclave, and it’s built into every Mac. For agents, the catch is the hand-off: a key you add with the security command trusts that command by default, so any script or agent that can run security find-generic-password -w reads it without a prompt, and nothing records which agent did. MoltenRock uses the Keychain too, under its own master key, and adds what agents need: release per agent and per key, an Activity log, and MoltenRock Connect, where the agent never receives a key.
The problem
Where it goes wrong
- One command awaysecurity find-generic-password -w prints a key to anything allowed to run it.
- No per-agent rulesThe Keychain knows apps, not which agent is asking through them.
- No recordIt doesn’t say which agent read which key, or when.
The solution
MoltenRock: Where MoltenRock fits
- The Keychain, sealed againEach key is its own Keychain item, encrypted again under a master key the Secure Enclave wraps.
- Per agent, per keyEach agent gets only the keys you grant.
- Every release loggedThe Activity log on your Mac records each one.
- No key at allMoltenRock Connect works with 30 platforms for your agent and never hands it a key.
Side by side
MoltenRock and the Keychain, side by side
| MoltenRock | macOS Keychain | |
|---|---|---|
| What it is | A vault app for AI agents | The Mac’s built-in secret store |
| Encryption | Per-key AES-GCM under a master key the Secure Enclave wraps, stored in the Keychain | AES-256-GCM, protected by the Secure Enclave |
| Who can read a key | Only the agents you grant it to | Apps you allow; the app that created it, often the security command, without a prompt |
| Rules per agent | Yes | No |
| Record of use | An Activity log | None |
| Cost | Free; Pro adds every agent and the full log | Built in |
The Keychain as described in Apple Platform Security (Keychain data protection) and in the security command’s own help on macOS, checked 11 November 2026.
How it works
Which one fits
- 01Keys for your own scripts and appsThe Keychain: add with security add-generic-password, read with security find-generic-password.
- 02Keys for AI agentsMoltenRock: granted per agent, logged, and never in a file.
- 03Agents that change things in Stripe, Cloudflare or GitHubMoltenRock Connect: the agent proposes, you approve each change with Touch ID.
Straight answer
Straight answers
Stays on your Mac
- Keys, in the Keychain, either way
- The log of agent access, on your Mac
- With Connect, the keys themselves
Leaves your Mac
- A granted key is in the agent’s hands
- The Keychain is already on your Mac; MoltenRock is an app you add
- For one script of your own, the Keychain alone is often enough
Questions
What people ask first
Is the macOS Keychain safe for API keys?
For storage, yes: Apple encrypts each item with AES-256-GCM and protects it with the Secure Enclave. The risk with AI agents is reading: whatever may run the app that created an item can read its key.
Can an AI agent read my Keychain?
Not just any item. But an agent that can run shell commands can run security find-generic-password -w, and a key added with the security command trusts that command by default, so the agent reads it without a prompt.
Does MoltenRock use the Keychain?
Yes. Each key is its own Keychain item, set to this Mac only and never synced, and encrypted again with a key made from MoltenRock’s master key, which the Secure Enclave wraps.
What does MoltenRock cost?
MoltenRock is free for 3 API keys, 1 mailbox and 1 paired agent; MoltenRock Pro is $9.99 a month or $99.99 a year and covers up to five Macs.
The Keychain keeps. MoltenRock decides who gets in.
MoltenRock is free for Mac.