How it works

Requests in. Keys never out.

What Keyring does, what it doesn't, and how this demo is built.

01

The model

Keys live in an encrypted vault. Each agent gets its own agent token, which can only ask Keyring to perform an action on a key — it can never read the key. Keyring checks the request against that agent's grant for that key, then either makes the call itself, holds it for your approval, or refuses. Either way the decision is logged.

02

Policies

A grant links one agent to one key. It lists allowed actions, actions that need your approval, and optional limits. Anything not listed is denied.

SayBecomes
can read repos, open issues and pull requestsallow repo.read, issue.create, pr.open
ask me before mergingask pr.merge
never delete anythingdeny repo.delete
ask me above $150ask when the amount is over $150
max 30 calls an hourrate 30 / hour
spend at most $800 a day · up to $1500 a dayspend daily cap
for 7 daysexpires in 7 days

The playground shows the compiled grant before anything is applied, so a misunderstood sentence can't quietly grant too much.

03

Decision order

1 kill switch on? → deny 2 agent paused or revoked? → deny 3 asking for the raw key? → deny, flag (no rule can allow this) 4 no grant for this key? → deny 5 grant expired? → deny 6 action not listed? → deny 7 over the hourly rate? → deny 8 over today's spend? → deny 9 action needs approval / amount above threshold → ask 10 otherwise → allow
04

The audit log

Every entry includes the hash of the entry before it. Every 20 seconds the new entries are sealed under a Merkle root. Editing, removing or reordering any entry changes its hash, breaks the link to the next one, and makes its seal stop matching. The audit log page recomputes all of it in your browser, and lets you tamper with a copy to see the break.

In production the seal roots can be published on Robinhood Chain, so even the operator can't rewrite history without everyone noticing.

05

Threat model

Helps against:

  • Prompt injection that tries to extract keys — the agent never has them.
  • Agents doing more than their job — anything unlisted is denied.
  • Runaway loops and costs — hourly rates and daily spend caps.
  • Risky one-off actions — approval thresholds put you in the loop.
  • Quiet history edits — the hash chain and seals make them visible.

Does not help against:

  • An agent misusing an action you allowed (if it may send email, it can send a bad one).
  • A compromised device that holds your vault passphrase.
  • Approving something you didn't read.
06

$KEYS

Contract on Robinhood Chain: Not live yet

Only trust the address shown on this site and on our X.

07

About this demo

  • Everything runs in your browser and is saved on this device only. There is no server and no account.
  • Keys are fake and masked; agents and their requests are simulated, including the prompt-injection attempts.
  • Seven simulated teams share the "network" so the live page has something to show.
  • Hashes are real sha256 and the verification is real — it just runs on simulated data.
  • The MCP snippet on the home page shows how the connector is meant to be set up; it isn't a published package yet.
08

FAQ

Why not give each agent its own restricted API key?

Few services offer keys that narrow, none ask you before a risky action, and a key in an agent's config can still be leaked. A single checkpoint gives every agent the same rules, approvals and log.

What happens when I rotate a key?

Agents keep working without noticing — they never had the old key. Only Keyring needs the new one.

What does revoke do?

It kills the agent's token. Its next request is denied and logged, and no grant can be added to it again.

Can the operator change the log?

Not without breaking the chain and the seals. With seal roots published on-chain, anyone can prove the history is unchanged.

Is it audited?

No. This is a demo. Never paste real secrets into it.