Keylo hands credentials to the command, not to the agent. It runs the command with your secret and returns only the output — with the value scrubbed out. No account, no cloud, and the source is yours to audit.
The problem
AI coding agents run commands for you — deploys, migrations, API calls, git push. Those commands need credentials, and a password manager's job ends the moment it hands the value over. Once a value is in an agent's context, it has leaked.
Sit in plain text next to your code. Agents read them, quote them back, sometimes commit them.
Lands in conversation history, in logs, and wherever that chat is stored or synced.
Reach every process you start — an agent that runs env prints them all.
curl -v, debug logs and errors echo tokens straight into the agent's context.
You can't see which agent used which credential, or say "ask me first for production".
How it works
Say you've saved your production database login as a secret named prod-db, and you ask Claude Code to run npm run migrate, which reads DATABASE_URL:
The agent finds the secret by name, never by value. search_secrets returns prod-db, its type and field names, and whether the key can use it.
The agent asks Keylo to run the command, mapping a variable to a secret: run_with_secrets with {"DATABASE_URL": "prod-db:connection_string"}.
Keylo checks the agent's access key. If prod-db is out of scope, an approval window opens, confirmed with Windows Hello, Touch ID or your system password.
Keylo starts the command with the value in DATABASE_URL. If the value appears in output, it's replaced with [keylo:prod-db] before the agent sees it.
The use is written to an audit log, with the key, the secret and the process that asked.
1Password SDKs, Vault, Doppler, .env loaders: the real value is placed into the agent at runtime.
The agent names a secret; Keylo runs the command with it and returns only redacted output.
Keylo vs. secret injection
Most developer secret tools improve on plaintext .env files by injecting the value at runtime. Only Keylo keeps the value out of the agent's context entirely.
| Injection tools | Keylo | |
|---|---|---|
| Does the agent receive the value? | Yes — injected at runtime | No — run-only; no tool returns a value |
| Command output | Your responsibility | Replaced with [keylo:name] first |
| Account / cloud | Hosted account or server | None — local-first |
| Price / source | Typically paid SaaS, closed | Free, source-available (BSL 1.1) |
| Scope control | Varies | Run-only keys, per-use approval, audit log |
| Team governance (SSO, SIEM) | Yes | No — single-dev by design |
Features
keylo mcp): search secrets, list types, run commands with secrets, request access, browse AWS Secrets Manager.keylo keys create … --add-to-claude, or a button in the app.orders-db@prod).Security model
Secret values live in Keylo's vault, each encrypted (AES-256-GCM) under a key the operating system protects. Details and the whole vault are authenticated, so tampering is detected.
| Platform | Key protected by |
|---|---|
| Windows | DPAPI, tied to your Windows account |
| macOS | A master key in your login Keychain (desktop); passphrase vault file when headless |
| Linux | The desktop keyring (Secret Service); passphrase vault file on servers & containers |
Optional master passphrase (Windows & macOS) wraps the key a second way, so a copied disk can't be opened without it.
Works with
Quick start
# Add via the app, or the CLI:
keylo add github-token --type api_keykeylo run --env GITHUB_TOKEN=github-token -- gh repo list
# A file-delivered credential (service-account JSON, kubeconfig, PEM):
keylo run --file GOOGLE_APPLICATION_CREDENTIALS=google-oauth -- gcloud auth activate-service-accountkeylo keys create "Claude Code" --category dev --add-to-claude
# ...or by hand, keeping the key in your user settings:
claude mcp add keylo --scope user --env KEYLO_ACCESS_KEY=kyl_… -- "/path/to/keylo" mcpHonest limits
Keylo fails closed and documents its edges — that candor is what makes the rest trustworthy.
Local-first, free, and source-available. Works with Claude Code and any MCP-capable agent.