Compare · macOS Keychain

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 away
    security find-generic-password -w prints a key to anything allowed to run it.
  • No per-agent rules
    The Keychain knows apps, not which agent is asking through them.
  • No record
    It doesn’t say which agent read which key, or when.

The solution

MoltenRock: Where MoltenRock fits

  • The Keychain, sealed again
    Each key is its own Keychain item, encrypted again under a master key the Secure Enclave wraps.
  • Per agent, per key
    Each agent gets only the keys you grant.
  • Every release logged
    The Activity log on your Mac records each one.
  • No key at all
    MoltenRock Connect works with 30 platforms for your agent and never hands it a key.

Side by side

MoltenRock and the Keychain, side by side

MoltenRockmacOS Keychain
What it isA vault app for AI agentsThe Mac’s built-in secret store
EncryptionPer-key AES-GCM under a master key the Secure Enclave wraps, stored in the KeychainAES-256-GCM, protected by the Secure Enclave
Who can read a keyOnly the agents you grant it toApps you allow; the app that created it, often the security command, without a prompt
Rules per agentYesNo
Record of useAn Activity logNone
CostFree; Pro adds every agent and the full logBuilt 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

  1. 01
    Keys for your own scripts and apps
    The Keychain: add with security add-generic-password, read with security find-generic-password.
  2. 02
    Keys for AI agents
    MoltenRock: granted per agent, logged, and never in a file.
  3. 03
    Agents that change things in Stripe, Cloudflare or GitHub
    MoltenRock 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.