@vernham/cli 0.1 is on npm

Vernam: give your next agent a key it can't leak. Your agents use your keys. They never see them.

Give your next agent a key it can't leak

Your agents use your keys. They never see them.

Vernam hands Claude Code, Codex and any other agent a placeholder token. A proxy on your machine swaps in the real key, but only for the API that key belongs to. Every request is logged.

What an agent actually sees

It prints its key and gets a placeholder. It calls OpenAI and the real key is added on the way out. It sends the Stripe token somewhere it shouldn't and gets a 403.

~/code/billing-service
Live requests 2 agents running
  • POSTapi.stripe.com/v1/refundsKey added
    codex STRIPE_SECRET_KEY
  • GETapi.github.com/repos/acme/billing/pullsKey added
    codex GITHUB_TOKEN
Requests
2
Blocked
0
Keys exposed
0

How it works

Your agent keeps calling the same SDKs with the same variable names. The values it holds just don't work anywhere else.

  1. 1

    Put your keys in the vault

    vn add stores each key encrypted on your machine, pinned to the API it belongs to.

    $ vn add STRIPE_SECRET_KEY --preset stripe
  2. 2

    Run your agent through Vernam

    The agent gets placeholder tokens, and its SDK base URLs point at a proxy on 127.0.0.1.

    $ vn run -- codex
  3. 3

    The real key is added on the way out

    A token on its own route gets the real key. On any other route it's refused before leaving your machine.

    $ vn log

Why it's called Vernam

In 1917 Gilbert Vernam invented the one-time pad: combine a message with random noise and the result is useless to anyone without the pad. Your agent holds the noisy half. The proxy on your machine holds the rest.

Real keysk_live_51HxQ2eKz8RmT4vB9nWcLp0aYs
⊕ PadiV9xI5txhysNaTaABg_Q9ycJz_fcUbJ1WU
Agent getsvn_UgDRndI72wmEK4fN8tNVIDxxAZS6QOm

One live log for your team

Run vn login once per machine. Requests stream into a shared dashboard: who ran what, which key it used, what got blocked. Values never leave the machine.

The Vernam team dashboard: requests per minute, a live request log with one blocked request, and a review queue

Compared with a secrets manager

A secrets manager is great at getting a key into a process. Once it's there, an agent can print it, paste it or post it anywhere. Vernam never puts it there.

.env fileSecrets managerVernam
Agent can read the real key
Key works against any host
Log of each request an agent makes
Cut off an agent mid-session
Secrets stored on someone else's server

If the agent turns on you

Vernam is built for the worst case: an agent running as you that has just read a malicious README. Here's what it gets.

>Prints its environment
Placeholder tokens. Your passphrase is stripped from its environment too.
>Reads the vault file
An encrypted blob: scrypt key derivation and AES-256-GCM. There is no key file to find.
>Asks the daemon for a value
There's no command that returns one. Listing keys shows the last 4 characters.
>Sends the Stripe token to OpenAI
403, and the request never leaves your machine.
>Repoints a key at its own server
Not possible without the key itself. A key and its host are always set together.
>Keeps a token for later
It stops working when the agent's session ends.

Pricing

Brokered requests are unlimited on every paid plan.

Free

$0
  • 1 developer
  • Local proxy and vault
  • 7-day audit log
Install the CLI

Team

Most teams
$49/mo
  • Up to 10 agents
  • Live team audit log, 90 days
  • Policies per key
Start free

Business

$299/mo
  • Unlimited agents
  • Key rotation for OpenAI, Stripe and GitHub
  • SSO and Slack approvals
Start free

Enterprise

Custom
  • Self-hosted dashboard
  • Audit export to your SIEM
  • Security review and SLA
Start free

Questions

Do you store my API keys?+

No. Keys live in an encrypted vault on your machine and only exist in memory while the vault is unlocked. The team dashboard receives key names, hosts, paths and status codes.

Does it slow requests down?+

The proxy runs on 127.0.0.1 and swaps a header on each request. It doesn't change where the request goes, so the API's own latency dominates.

Do I have to change my code?+

No. vn run sets the usual variables, like OPENAI_API_KEY and OPENAI_BASE_URL, so official SDKs pick up the placeholder and the proxy without changes.

Which APIs work today?+

OpenAI, Anthropic, Stripe and GitHub have presets. Other HTTPS APIs work with a custom target, as long as your SDK reads a base-URL variable.

Do I need the dashboard?+

No. The CLI works on its own and sends nothing anywhere. Run vn login when you want your team's requests in one live log.

Install it before your next agent run

Create a team