# keelbox documentation

> Install keelbox, run keelbox up, sign in, reach your agents from the Claude app, and look after the box.

Source: https://keelbox.dev/docs

keelbox sets up an Ubuntu machine as a box for AI coding agents. New to it? Follow the first page under Start: it takes you from installing keelbox to an agent at work. Come back to the other sections as you need them. Output shown on these pages is an example: names, prices and times will be yours.

## Start

- [Your first box](https://keelbox.dev/docs/getting-started): install, `keelbox up`, a running agent.
- [Where a box can run](https://keelbox.dev/docs/guides/where-to-run): the four clouds, a server you have, a machine at home, and what each costs.
- [Install keelbox](https://keelbox.dev/docs/guides/installing): the installer, Homebrew, checking the download, removing keelbox.

## Other ways to set up

Read these if your box is not a new cloud server, or if you set up boxes from scripts.

- [A server you already have](https://keelbox.dev/docs/guides/adopting-a-box): over SSH, or one you create with a cloud-config.
- [A machine already in use, at home or this one](https://keelbox.dev/docs/guides/machine-in-use): what changes on it, `plan --impact`, `--adopt`.
- [Cloud sign-ins and permissions](https://keelbox.dev/docs/guides/credentials): what to install, the sign-in command, what it can reach.
- [Without the wizard: flags, CI, config by hand](https://keelbox.dev/docs/guides/automation): `--yes`, exit codes, `init`, `plan`, `apply`.

## Use it

Day-to-day work on a box that is set up.

- [Sign in](https://keelbox.dev/docs/guides/signing-in): `keelbox login` for Tailscale, Claude Code, Codex and GitHub.
- [Attach, leave and come back](https://keelbox.dev/docs/guides/sessions): `keelbox attach`, sessions, a phone.
- [The Claude app](https://keelbox.dev/docs/guides/remote-control): start sessions on the box with Remote Control.
- [Work on the box: git, packages, root](https://keelbox.dev/docs/guides/work-on-the-box): what the agent may change, `keelbox install`, `approve`.
- [Preview a dev server](https://keelbox.dev/docs/guides/previews): `keelbox expose`.
- [Your computer's agents and your boxes](https://keelbox.dev/docs/guides/agents-here): `agent-skill`, `ssh -- CMD`, `ssh-config`, `skills`.

## Look after it

- [Check the box and fix problems](https://keelbox.dev/docs/guides/troubleshooting): `status`, `doctor`, `ls`, and problems by symptom.
- [Update keelbox and the agent CLIs](https://keelbox.dev/docs/guides/upgrades): `update`, `self-update`, `apply`, `rollback`.
- [Back up and restore](https://keelbox.dev/docs/guides/backups): `keelbox backup`, `keelbox restore`.
- [Notifications](https://keelbox.dev/docs/guides/notifications): alerts from the box, `keelbox notify test`.
- [Reports](https://keelbox.dev/docs/guides/reports): problems the agent writes up for you to send.
- [Change size or pause billing: resize, park and resume](https://keelbox.dev/docs/guides/resize-park-resume)
- [Closing public SSH, and getting back in when locked out](https://keelbox.dev/docs/guides/public-ssh)
- [Remove a box](https://keelbox.dev/docs/guides/removing-a-box): `destroy`, `forget`, undoing keelbox on a machine you keep.

## Understand

- [How keelbox works](https://keelbox.dev/docs/concepts/how-it-works): one config, plan, apply, doctor.
- [Security model: what keelbox enforces and what it does not stop](https://keelbox.dev/docs/security-model): read it before you give an agent credentials.

## Reference

Every command, config key and file, for when you know what you are looking for.

- [Commands and flags](https://keelbox.dev/docs/reference/cli)
- [Config file](https://keelbox.dev/docs/reference/config)
- [Known services](https://keelbox.dev/docs/reference/services)
- [Releases and the release manifest](https://keelbox.dev/docs/reference/release)
- [Files keelbox manages on a box](https://keelbox.dev/docs/reference/box-files)
- [The four clouds](https://keelbox.dev/docs/reference/clouds)

## Contributing

- [CONTRIBUTING.md](https://keelbox.dev/docs/contributing): set-up, commit rules, AI-assisted contributions.
- [Architecture tour](https://keelbox.dev/docs/contributing/architecture)
- [Add a module](https://keelbox.dev/docs/contributing/add-a-module)
- [Add a provider](https://keelbox.dev/docs/contributing/add-a-provider)
- [Testing](https://keelbox.dev/docs/contributing/testing)
- [Maintaining](https://github.com/keelbox/keelbox/blob/main/docs/maintaining.md): release and triage runbooks.

## Project records

- [CONTEXT.md](https://keelbox.dev/docs/context): purpose, glossary, scope.
- [Issues](https://github.com/keelbox/keelbox/issues): bugs and accepted requests.
- [Architecture decision records](https://github.com/keelbox/keelbox/tree/main/docs/adr)
