Open source · Local-first · For Claude Code, Cursor, OpenClaw, Codex

Stop your AI agents from breaking when a key rotates or rate-limits

AgentPass pools your API keys, falls over to a backup on 429, retries transparently on 401 — and the raw key never leaves your machine. Drop-in for Claude Code, Cursor, OpenClaw, and Codex.

agentpass
$agentpass init
Vault initialized at ~/.agentpass/vault.db
$agentpass add openai
$agentpass add openai-2
2 keys pooled for openai
$agentpass run claude
key …A hit 429, cooldown 60s, falling over → key …B
↳ agent didn't notice. it just kept working.

Multi-key fallback

Pool N keys per provider. On 429, AgentPass cools down the spent key, retries with the next one, and your agent keeps shipping.

Transparent rotation

On 401, AgentPass retries with the next key in the pool. Drop the new key into the vault and the next request finds it — no agent restart.

Agent never sees the key

The proxy injects auth at the network layer. The raw key sits in your encrypted local vault — not in agent context, not in error logs.

Drop-in for your runtime

agentpass run claude wires OPENAI_BASE_URL and ANTHROPIC_BASE_URL automatically. Works with Claude Code, Cursor, OpenClaw, Codex.

How it works

Your agent points OPENAI_BASE_URL at the local proxy. AgentPass picks a live key, attaches the auth header, and forwards the request — falling over silently if the chosen key is throttled or rotated.

AI AgentClaude Code / Cursor
↓localhost:8888
AgentPassVault + Pool + Failover
↓live key only
Provider APIOpenAI / Anthropic

Works with

Claude Code
Anthropic's CLI agent
Cursor
AI-native IDE
OpenClaw
Open-source agent runtime
Codex CLI
OpenAI coding agent

Get the alpha

10 founder spots, no spam. We'll ping you when the CLI ships and send a security tip while you wait.