Lockpin documentation#

Lockpin is a spend cap for AI agents. It runs on your machine, between your agent and its model provider. It prices every call at its worst case before the call is sent, and refuses the one that would not fit the budget, so an agent cannot spend past the limit you set. Your keys and prompts go straight from your machine to the provider.

Get started

Install Lockpin, run it, and put your first agent under a budget in a few minutes.

Get started
Connect an agent

Claude Code, Codex CLI, Cursor, Aider, the Anthropic and OpenAI SDKs, and any tool with a base URL.

Connect an agent
User guide

How the cap works, budgets and tasks, approvals at the cap, the meter, the VS Code extension and receipts.

User guide
Teams

Per-person and service keys, team budgets, a team node, remote admin, policy and the hosted dashboard.

Teams
Providers

Anthropic, OpenAI, Gemini, Amazon Bedrock, Google Vertex AI, Azure and more, plus corporate proxies.

Providers
Reference

Every command and flag, configuration, what leaves your machine, security and troubleshooting.

Reference