Quickstart
Store a secret, approve an agent, and read it from code, the CLI or an MCP client in about five minutes.
SDK, CLI and MCP
Everything the agent side needs: commands, MCP tools, the three credential files, and what each refusal means.
Connected services
Stripe, OpenAI, GitHub, Slack and Supabase actions that use a key inside the enclave without ever returning it.
Security model
What the cryptography enforces, what the operator can and cannot do, and how the endpoint is attested.
How it works
Encrypt once. Approve per agent. Lit checks every request.1
Your browser encrypts the secret
Every secret gets its own immutable Lit Action with its own key, derived inside a hardware enclave. Your browser fetches that action’s public key straight from Lit and encrypts locally. Only ciphertext reaches the Keychain database.
2
You authorize an agent's public key
The agent generates its own Ed25519 identity and gives you only the public half. You approve it for a secret with an expiry you choose (30 days by default, or none). Your wallet, passkey or Google-verified session signs the approval, and Lit issues a receipt that Keychain cannot forge.
3
The agent asks Lit, not Keychain
The agent signs a request and sends it directly to the Lit action. The action verifies your receipt, the agent’s key, scope and expiry, then returns the result encrypted to that agent only. Revoke any time from the dashboard.
Two kinds of secrets
A stored secret is for anything an agent needs to hold itself. A connected service never hands the credential to the agent: the action decrypts it inside the enclave, makes one fixed upstream call, and returns only the documented fields. Each integration is a reviewed action from the open agent-keychain-library catalog whose manifest pins the hosts it may reach and the shape of what it returns. See Connected services.
What the agent holds
Exactly two files, both JSON and self-describing:- Agent identity: an Ed25519 key pair the agent generates locally with
keychain init. Only the public key is ever shared. - Agent config (
NAME.keychain.json): downloaded from Keychain after you approve the agent. It lists the approved secrets and includes a scoped execution key that pays for Lit execution. That key is a billing credential; it cannot read a secret without the agent’s private key and your signed approval.
Pricing
Cancelling never deletes your secrets or encrypted backups, and it is not revocation: enrolled actions keep working on Free. If a paid plan expires while you hold more than five secrets, storage mutations stop, but login, revocation and backups remain. Third-party provider charges (OpenAI, Slack plans, Supabase) are separate.