AgentKeyAgentKeyBack to blog

Introducing AgentKey

A password vault for AI agents. Your agent signs in. It never sees the password.

The AgentKey Team · November 25, 2026 · 5 min read

We're proud to open-source AgentKey, a password vault for AI agents, available today as an npm package, a Chrome extension, and a listing in the official MCP Registry.

Your agent signs in to the sites you approve, and it never sees the password.

The "Hello World" of AgentKey

Run:

$ npx -y tryagentkey@0.6.2

Your coding agent gets a new set of tools and writes the one config line itself. Then tell it:

log in to huggingface

You get an approval request. Tap approve. The agent signs in and keeps working, and the password never appears in the chat.

This post goes into the philosophy and design decisions of the project. To learn everything the SDK can do instead, read the README on GitHub.

First we'll cover the background, then 6 basic principles:

  1. Zero setup. The agent configures itself
  2. The password never reaches the agent
  3. Approval is per login
  4. One vault for every agent
  5. Your browser, not a new one
  6. Open source, free to start

Background

People building agents keep hitting the same wall: the login screen. This morning on r/AI_Agents, someone asked how to handle it:

"i'm trying to make claude code run browser tasks more autonomously. one thing i'm stuck on is logins in chrome, it asks me to enter passwords even though they're saved in bitwarden."

"trying to understand what setup people use so they don't have to keep stepping in."

That question comes up every day, and the answers people reach for all end the same way: paste the password into the chat, drop it into a config file, or build a vault of your own. Every new agent rebuilds the same piece of infrastructure from scratch, and every copy of a password is one more copy to protect.

AgentKey is our take on how to bring this forward.

Zero setup. The agent configures itself

One command installs the SDK and hands your coding agent its tools:

$ npx -y tryagentkey@0.6.2

The agent writes the agentkeyTools line into its own config. No dashboard tour, no keys to generate, no config file to get right. No configuration unless it's needed.

The password never reaches the agent

When a login is needed, the agent asks. You enter or approve the credential on an owner-facing page, and AgentKey fills it into the browser. It is never returned to the model as text, so it never lands in a prompt, a transcript, or a config file.

The vault itself is AES-256 encrypted.

Approval is per login

Each grant is scoped to one login and one agent, and you can revoke it at any time. An agent helping with your social accounts should not need your bank login, and with per-login approval it never has to ask.

One vault for every agent

Save a login once, then grant it to the agents you choose. AgentKey works with Claude, ChatGPT, Cursor, Town, and any agent that speaks MCP or plain HTTP.

Shared accounts and a password vault across all AI agents are two very different things. The vault is the piece every agent was rebuilding on its own.

Your browser, not a new one

The Chrome extension fills logins in the browser you already use. Filling is refused unless the page's address matches the login's saved address, over HTTPS. For people, fills happen on click only. For agents, fills happen only after your approval.

Open source, free to start

The SDK is Apache-2.0 on GitHub, with a free local mode, and a cloud account is free for your first 15 logins. AgentKey is listed in the official MCP Registry.

In closing, this is our contribution to a problem every agent builder hits. We think it strikes a good balance between convenience and control, but it's certainly not a solution to every login. Sites that ask for a two-step code or a human check will still ask you, and you should start with a login you can afford to lose while you learn the flow.

If you're interested in contributing, check out our issues and help us decide where this goes next.