LatchkeyLatchkey

Latchkey · local-first vault

Stop AI agents leaking your API keys.

Agents request a key by name. You approve. Latchkey injects into the child process so the model never sees the plaintext. Keys stay encrypted on your machine.

  • No card for scan
  • Vault sync labelled In build

Open-access scan·no card · npm @stitchaxis/latchkey

Two equal doors

CLI vault on your machine. Console for licences.

Same security story. Pro is £15 a month or £150 a year. Hosted vault sync stays In build until it ships.

CLI · live

CLI Pro vault

Agents request. You approve before inject.

Local-first encrypted vault on your machine. Pro unlocks devices, vaults, MCP approval mode, and licence-backed limits.

Get Pro · £15/mo
Vault sync · In build

Hosted console

Billing, licences, and a preview of team workflows.

Sign in for Stripe billing, licence keys, and the console UI. Vault plaintext stays on your device. Metadata sync and team seats are rolling out, not a live bridge to your local vault yet.

Open console preview

The vault

A forged key. A sealed envelope. Nothing in between.

Latchkey keeps API keys encrypted on your machine and releases them to agents only with your consent.

Handpainted forged steel key resting on a sealed envelope with a gold wax seal

Local first

Your machine is the vault. We are only the locksmith.

Works offline, needs no account to begin, and never uploads a secret value.

Handpainted forged steel key beside a gold edged terminal card

CLI Pro

Custody for API keys, kept in your own terminal

Encrypted on your machine. Agents ask by name, you approve, and the value is injected into the child process. The model never sees it.

Pro, £15 a month or £150 a year

Read about CLI Pro
Handpainted pair of sealed envelopes joined by a gold thread, a forged key resting on one

Hosted sync

One vault across every machine, sealed before it travels

Sync carries ciphertext only. Entries are sealed on your device, move as envelopes, and open only where your master key is held.

In build. Reservations open

Read about Hosted sync

How it starts

  1. 1

    Install

    npm install -g @stitchaxis/latchkey
  2. 2

    Open the vault

    latchkey init
  3. 3

    Deposit a key

    latchkey add OPENAI_API_KEY
  4. 4

    Run with consent

    latchkey run -- your-agent

Four lines. Usually done before the kettle boils.

1,392 npm downloads (last 30 days) for @stitchaxis/latchkey

  • libsodium secretbox
  • Argon2id passphrase
  • Append only ledger
  • No plaintext on our servers

Reading preferences

Set the page to your taste. Kept in this browser only.

Accent
Density
Illustration

1,392 npm downloads (last 30 days) for @stitchaxis/latchkey

Local vaultMCP gateCLI firstGet Pro · £15/mo →

Step 1 of 4· Scan

See what is already exposed

  • Offline leak scan in one command. npx @stitchaxis/latchkey scan runs on your machine. Nothing is uploaded.

  • Open access, no card. Use it in CI with --ci or export JSON. No licence for the scan hook.

  • Fix before agents read the repo. Find key-shaped strings in .env, source, and config before you wire MCP tools.

terminal · scan

$ npx -y @stitchaxis/latchkey@latest scan . --json

scan complete · 0 findings · nothing uploaded

$ npx -y @stitchaxis/latchkey@latest scan . --ci

exit 0 · safe for CI

Step 2 of 4· Vault

Secrets stay encrypted locally

  • libsodium secretbox on your machine. Master key in the OS keychain or an Argon2id passphrase. Data lives under ~/.latchkey.

  • Scope each repo. .latchkey.toml allowlists env names. Values never land in git.

  • Add once, reuse safely. latchkey add stores ciphertext. Plaintext stays off disk in project files.

latchkey · vault

Encrypted

OPENAI_API_KEY•••• ciphertext
ANTHROPIC_API_KEY•••• ciphertext
DATABASE_URL•••• ciphertext

.latchkey.toml · 3 names scoped

Step 3 of 4· Console

Every ask on one timeline

  • Approve or deny in the app or CLI. Same calm loop for Cursor, Claude Code, and custom agents.

  • Audit metadata, never values. Append-only log: who, which name, when. Secret plaintext is never written.

  • Hosted console preview. Billing and licence keys live on the web. Vault metadata sync is In build, not a live bridge to your CLI vault yet.

latchkey · approvals

Timeline

  • 09:14 cursor · ask · OPENAI_API_KEY
  • 09:14 you · approve · audit written
  • 09:02 mcp · deny · STRIPE_SECRET

Step 4 of 4· Gate

Inject only after you say yes

  • latchkey run wraps your command. Approved values reach the child process env only. The model never sees plaintext.

  • MCP tools use the same gate. Tools request by name. Deny means no injection and an audit line.

  • Honest limits. Latchkey does not sandbox the child. It limits which keys reach which process.

latchkey · vaultLOCAL

Your secrets

+ add
  • OPENAI_API_KEY

    sk-••••••••k4Fj

    2m ago
  • DATABASE_URL

    postgres://••••5432

    15m ago
  • STRIPE_SECRET

    rk_live_••••test

    1h ago

# agent request

agent mcp:coding-agent

asks OPENAI_API_KEY

reason: run eval suite in ./tools

Waiting for agent…

Latchkey family

Every surface, one security story

Start with CLI Pro or the hosted console. Add open-access scan, then explore modules on the waitlist. Each page shares the same calm product bar.

Core

Waitlist modules (7) live on Coming next, not in the first screens. Meter stays off the public list until decision W2.

How it starts

From scan to paid seats

Open access first, then Pro CLI, then hosted console for licences. Scale when team policy needs it.

  1. Step 1 · Scan

    Open access, no card

    npx -y @stitchaxis/latchkey@latest scan on your machine.

    Continue →
  2. Step 2 · Pro CLI

    Vault + MCP gate

    Genesis £7.50/mo for 3 months, then Pro £15/mo or £150/yr.

    Continue →
  3. Step 3 · Console

    Licences and preview UI

    Sign in for billing. Team metadata sync is In build, labelled honestly.

    Continue →
  4. Step 4 · Scale

    Seats and policy

    Pro Plus £60/mo · Business £124/mo · Enterprise on /contact.

    Continue →

Install

Open-access scan in one command

Runs offline on your machine. No licence and nothing uploaded. Then get Pro for the vault and approvals.

npx -y @stitchaxis/latchkey@latest scan
  • macOS

    1. Install Node 20+
    2. Run npx -y @stitchaxis/latchkey@latest scan in the repo folder
    3. For the vault: npm i -g @stitchaxis/latchkey then latchkey init
  • Windows

    1. Install Node 20+
    2. In PowerShell: npx -y @stitchaxis/latchkey@latest scan
    3. See docs/FIRST_RUN_WINDOWS.md if npm path is awkward
  • Linux

    1. Install Node 20+
    2. Run npx -y @stitchaxis/latchkey@latest scan
    3. Then latchkey init and latchkey login after Pro checkout

Complete control

Keep secrets secure by intercepting agent asks

Set the gate once. Instant approvals in the app or CLI. Encrypted vault. Audit trail that never leaks values.

  • ◇

    Zero-secret agents

    Agents request by name. Latchkey injects into the child process, the model never sees plaintext.

  • ◇

    Human approve gate

    Every CLI or MCP ask pauses for approve or deny. Same calm loop as a modern IDE.

  • ◇

    Encrypted local vault

    libsodium secretbox. OS keychain via keytar. Argon2id passphrase fallback.

  • ◇

    Scoped projects

    .latchkey.toml allowlists secret names per repo. Values never land in git.

  • ◇

    Immutable audit

    Append-only metadata: who, what name, when. Secret values are never written.

  • ◇

    Leak scan

    Run the scan offline in one command. It looks for key-shaped strings. Nothing is uploaded.

Try the gate

Approve a live request

Switch audiences. Same rule: nothing injects until you say yes.

latchkey · agent gate

# agent request · simulated

agent mcp:cursor-agent

asks ANTHROPIC_API_KEY

reason: MCP tool latchkey_get_secret

Waiting for your decision…

Works alongside, not a replacement for your cloud IAM. Latchkey gates what leaves the laptop.

Why Latchkey

Not paste into chat. Not a blind cloud copy.

Honest positioning for developers and security-minded teams. We do not invent customer counts or MRR.

TopicTypical approachLatchkey
Paste keys into ChatGPT or Cursor chatPlaintext in logs, training risk, no per-request gateAgents request by name; you approve; inject stays in the child process
Shared .env in a repoAny tool that reads the tree can exfiltrateCiphertext local; .latchkey.toml scope; deny by default
Low-cost generic secret SaaSCloud copy of secrets; trust their IAMLocal vault; hosted side is billing + console preview, not plaintext sync today
Read the FAQ →

Why trust Latchkey

Facts you can verify, not star ratings

We do not show testimonials or invented user counts. Trust comes from crypto choices, local-first storage, and a clear list of what never leaves your device.

  • Local encryption

    libsodium secretbox on your machine. OS keychain or Argon2id passphrase, not a cloud vault sync product.

  • You approve every ask

    CLI and MCP pause before injection. Deny means no plaintext leaves the vault; audit stores names, not values.

  • What we never see

    Vault plaintext, passphrases, or secret values in logs. Hosted side: billing, licence metadata, optional scan entitlement.

Read security & threat model →

Plans

Choose the plan that scales your workflow

Run the scan offline in one command. Genesis is £7.50 a month for 3 months at double Pro limits. Most daily-driver setups land on Pro. Pro Plus is £60. Business is £124. Unbuilt features stay Coming soon.

Popular

Pro

£15/mo

Daily flow across repos and agents. Vault, approvals, Agent Gate path.

  • ✓ 3 devices
  • ✓ 2 vaults
  • ✓ Up to 15 scoped projects
  • ✓ Local audit log
  • ✓ MCP approval mode
  • ✓ CLI + daemon

Pro Plus

£60/mo

Pro plus small-team capacity. Sharing and invites stay in build.

  • ✓ 10 devices
  • ✓ 5 vaults
  • ✓ Unlimited scoped projects
  • ✓ Local audit log
  • ✓ MCP approval mode
  • ✓ CLI + daemon
  • ✓ Team workspace in the app
  • · Team sharing & invites In build

Business

£124/mo

Higher capacity and hardened policy for procurement paths.

  • ✓ 25 devices
  • ✓ 10 vaults
  • ✓ Unlimited scoped projects
  • ✓ Local audit log
  • ✓ MCP approval mode
  • ✓ CLI + daemon
  • ✓ Hardened policy (approve every access)
  • ✓ Priority email support, 1 business day (Yusuf@yusuf-choudhury.com)
  • · SSO (SAML) In build
  • · Org-wide policy templates In build

Offline leak scan

npx -y @stitchaxis/latchkey@latest scan checks this folder on your machine. Open access, no licence, nothing uploaded. Pro at £15 a month is for the vault and approvals.

CLI docs

Enterprise

Custom terms, procurement, and deployment questions.

Book a call

Roadmap (not sold until shipped): Team sharing & invites · SSO (SAML) · Org-wide policy templates · Hosted audit export

Have questions?

What is Latchkey?
Latchkey is a local-first encrypted vault for API keys that developers and AI coding agents use. Agents request a key by name. You approve or deny. The value is injected into the child process so the model never sees the plaintext. The CLI package is @stitchaxis/latchkey. Unscoped npx latchkey is a different package.
How is Latchkey different from cloud secret managers or password managers?
Doppler-class managers and Vault host values, IAM, and often rotation or CI service tokens. 1Password-style tools fill forms for humans. Latchkey keeps ciphertext on your device, asks you to approve each agent request by name, and injects the value into the child process so the model never sees plaintext. Team sharing, SSO, Meter, and central rotation are waitlist or later, not fake parity.
Does Latchkey send my keys to the cloud?
No. Secrets are encrypted on your device with libsodium secretbox. The website handles accounts, billing, and licence delivery, never vault plaintext.
How is encryption implemented?
Vault entries use libsodium secretbox (XSalsa20-Poly1305). The master key prefers the OS keychain via keytar, with an Argon2id passphrase wrap as fallback.
Can an AI agent read every key?
Only names listed in that project’s .latchkey.toml can be requested. Each request still needs your approve or deny in the app or CLI.
All questions →

Ready to secure your agents?

Fast local vault. Ironclad approvals. Full oversight for every ask.