You decide when agents use your keys.
Custos is a password manager for you and your AI agent. See who’s asking and whether the program will receive your key. Approve on your phone or Mac.
Get startedInteractive example
One request, end to end
approverd
Ready to approve
Claude CodeUse GitHub token?api.github.com
Ready to approve
Claude CodeUse GitHub token?api.github.com
Signed logRequestGrantUse
Awaiting approval
Read the step-by-step guide
In Terminal: custos launch -- claude. The sample results are #42 Fix keyboard navigation and #39 Update setup guide.
How it works
- List the open pull requests.
- Your Mac and phone show the same GitHub request. Either can answer.
- Approve on the device at hand.
- The other card closes. Claude Code can continue.
- The agent can read the pull requests without receiving your GitHub token.
- The result comes back to the session. The key slot stays empty.
Security
- Ask Claude Code. List the open pull requests. The command starts Claude Code in a Custos session. This example uses its Custos connector and a saved GitHub token.
- Claude Code asks for GitHub. The agent asks Custos on this Mac to read the open pull requests. The connector calls custosd over a local Unix socket. The request identifies the field and the HTTPS operation. It carries no GitHub token value.
- One request takes two paths. The relay stores the request so your devices can pick it up. custosd gives approverd the local ask to check against its verified log. On the remote path the host signs the request. HTTPS protects the connection to the relay’s ingress. The request details stay sealed there. The relay sees IDs, entry kinds, sizes and times. It cannot read the item name, reason or token.
- Your phone gets a wake-up. A generic push tells your phone to check Custos. The push contains generic text and padding. It carries no request details. The push provider sees the device and timing.
- Your phone checks for requests. Your phone asks the relay what changed. The phone fetches entries over HTTPS. It checks the signed log against its saved state and the relay checkpoint.
- Both devices show the request. Your phone opens the request. Your Mac can answer it too. The phone builds the card from the verified request and item. Android Keystore keys seal its secret state. Its public log is stored separately.
- You approve on your phone. One fingerprint approves this GitHub call. Each full device has its own signing key. Your fingerprint authorizes this phone’s approval. The Mac’s Touch ID signing key is protected by the Secure Enclave; login Keychain keys wrap the stored key handles.
- Your phone signs the answer. The relay records your approval for this request. The signed grant seals the field key to the request’s one-time public key. Once allows one use within 15 minutes. The relay can see the window and use limit.
- Custos receives the grant. Your Mac reads the decision and closes its approval card. custosd verifies the grant against the request, including the host, item, time and use limit. The other card closes when its device sees the decision.
- Custos records this use. Your Mac adds the use to the signed log before it contacts GitHub. The host signs a use entry and appends it to the log before sending the approved call. Devices can check the log against their saved checkpoints.
- Custos sends the key to GitHub. Custos sends the approved request to api.github.com. The proxy replaces the placeholder in the approved header and sends the request over HTTPS. GitHub receives the key. The agent never receives it on this path.
- GitHub returns the open pull requests. The response comes back to Custos on your Mac. Custos scrubs the credential value from the response before returning it. This example shows two fictional pull requests.
- Claude Code continues. The terminal shows the pull requests. You can review the use in Activity. The agent receives the scrubbed response through the local connector. Devices verify signed entries and checkpoints in the tamper-evident log.