Overview
keelbox is a command-line tool that turns an Ubuntu machine into a workstation for AI coding agents such as Claude Code and Codex. It can be a new cloud server, a VPS or a machine at home. One command asks a few questions, sets the machine up from your laptop over SSH, and leaves you with an agent you can attach to from your laptop, your phone or the Claude app.
The agents run as their own account, without sudo by default, in tmux sessions that keep running when you disconnect. You sign in to each agent yourself: keelbox never sees, stores or relays those sign-ins. It holds only what you give it: a Hetzner token in your OS credential store, and root-only copies on the box of the backup and notification secrets you configure (credentials).
keelbox is pre-1.0. It runs on macOS and Linux, and sets up Ubuntu 24.04 and 26.04 on amd64 or arm64. It creates servers on Hetzner, AWS (Lightsail), DigitalOcean and Google Cloud, or sets up one you already have.
Install
curl -fsSL https://get.keelbox.dev | shThis puts a signed release binary in ~/.local/bin, without sudo. You can also read the script first, or use brew install keelbox/tap/keelbox: install keelbox.
Quick start
-
Run
keelbox upon your laptop, and answer its questions. Before it changes anything, it says what it will create and, on most clouds, the monthly price. -
Sign in to Claude Code, Codex and GitHub when it asks. Each vendor's own sign-in runs on your terminal.
-
Attach to the box, here named
acme, and start an agent:keelbox attach acme # then type claude or codex
To set up the Ubuntu machine you are on, install and start in one line: curl -fsSL https://get.keelbox.dev | sh -s -- up.
Your first box walks through every question.
What a box gets
- An
adminaccount for you, with key-only SSH and sudo, and anagentaccount without sudo (unless you choose to give it sudo) or access to the system Docker socket. - A UFW firewall and Tailscale. SSH from the internet closes once keelbox reaches the box over your tailnet.
- Docker, with a rootless daemon of the agent's own, plus the GitHub CLI, Node and pnpm.
- Claude Code and Codex from their vendors' installers, in tmux sessions restored after a reboot.
- Packages the agent can install without sudo, through
keelbox install, or only with your approval. - Unattended security updates, tested tool versions from a release manifest, and
keelbox rollbackto the previous release.
The whole box is described in one YAML file, and keelbox apply changes nothing on a second run: see how keelbox works.
What it does not protect against
keelbox limits what code an agent runs can do to the box. It does not stop an agent sending what it can read, its own tokens and your source code included, anywhere on the internet: outbound traffic is open. It does not inspect prompts or agent actions, does not protect against kernel bugs or a compromised laptop or admin key, and does not govern your tailnet. Read the security model before you give an agent credentials.
Documentation
Start with the docs index, also at keelbox.dev/docs. keelbox help lists every command, and keelbox COMMAND --help shows one with examples. keelbox on your computer checks for a newer release once a day; KEELBOX_NO_UPDATE_CHECK=1 turns that off (updates).
Contributing
Read CONTRIBUTING.md, including the rules for AI-assisted contributions, then the architecture tour. Coding agents start at AGENTS.md.
- Security policy: report vulnerabilities privately.
- Code of conduct
- Changelog
Licence
Apache-2.0. See LICENSE. Copyright 2026 Nick Martin-Kruck; see NOTICE, which also lists third-party material.
Synced from keelbox/keelbox at e9770d0, 2 December 2026
Testing
The layers run from free and fast to slow and billed. Every change needs the first two; changes to Docker, sshd, tmux environment or the agent's network need…
Changelog
The first public release of keelbox. It turns an Ubuntu machine into a box for AI coding agents such as Claude Code and Codex: a machine at home, a VPS, or a…