Keyveil
A local-first macOS secrets management ecosystem for developers, scripts, and AI agents, built around Apple Keychain.
Problem
Developers, scripts, automations, and increasingly AI agents all need access to secrets — API keys, tokens, passwords — but sharing raw secret values across that many consumers is a real exposure risk, especially once an agent (not just a human at a terminal) is one of the consumers.
Architecture
Apple Keychain is the actual secure storage layer. A native macOS app manages secrets directly; a CLI exposes the same secrets to terminal and automation workflows; an MCP bridge lets AI agents interact with secret references rather than raw values, launching locally on demand over stdio; a Raycast extension adds quick add/access. All four surfaces read from the same Keychain-backed store.
What I Built
Engineering Decisions
Challenges
Outcome
Actively used personal tool; under active development (native app, CLI, and MCP bridge all still evolving).
What I Learned
Least-privilege access design gets harder, not easier, once an AI agent is one of the consumers — an agent can't be extended the same implicit trust a human terminal session gets, so the reference model isn't optional, it's the whole point.