Self-hosted · bring your own key

Run AI coding agents against your own codebase, on your own keys.

A self-hosted platform for multi-turn AI coding sessions with real tool use — file edits, shell commands, git — backed by the API key you already pay for (OpenAI, Anthropic, or Google). Nothing shared, nothing stored you didn't choose to store.

Install the CLI

$npm install -g code-puppet

Requires Node.js 20+. Then run code-puppet login.

Bring your own key

Your OpenAI, Anthropic, or Google key — encrypted per user, never shared.

Real tool use

The agent reads and writes files, runs shell commands, and uses git in your workspace.

Streamed, turn-by-turn

Every response streams token-by-token over Server-Sent Events.

One CLI login

Device-code login: type a short code, approve it in the browser. No pasted tokens.

Curious about the architecture, the credential vault, and how a session actually runs?

See how it works