kaoiro / Getting started
Getting started
From the account each engine needs to the first agent on your screen, and what running it looks like after that.
01 / Overview
The path, in order
Security. An operator credential lets its holder run commands on every machine where agents run. Treat it like an SSH key to those hosts, and read SECURITY.md first.
- Arrange an account for each engine you will use
- Prepare the hosts
- Install the server
- Install a runner on each agent host
- Launch your first agent
- Run it day to day
This page is a map. The commands and their exact order live in the repository docs, and when this page and the docs differ, the docs win. Start from the production manual.
02 / Accounts
An account for each engine
Each engine needs an account with its vendor, and it signs in through its own CLI or SDK on the agent host. For Antigravity, kaoiro supports Google Cloud authentication only.
Check each service's terms. Plans and terms change. Before you use an engine through kaoiro, read the vendor's terms and conditions.
Anthropic (Claude Code)
Claude Agent SDK overview
Using Claude Code with your Pro or Max planOpenAI (Codex)
Codex app-server (Auth endpoints)
Using your ChatGPT plan in other apps and sitesGoogle (Antigravity)
Google Cloud authentication only: Application Default Credentials, or a sign-in tied to a Google Cloud project with Pay As You Go billing. Sign-in with a personal Antigravity plan is not supported. Antigravity authentication
Antigravity additional termsxAI (Grok Build)
kaoiro itself stores no engine credentials: each engine reads its own login or credential file on the agent host, and for Antigravity the runner's configuration only names the method. The engine reference pages in the repository docs describe each one.
03 / Hosts
Prepare the hosts
Decide which machine runs the server and which run agents.
They can be the same machine (example B).
Server host
Docker Engine with the Docker Compose plugin, Elixir
~> 1.15with Phoenix, and Node.js 22 or later for the deploy CLI.Agent hosts
Node.js 22 or later. The runner's bootstrap fetches the Claude Code and Codex CLIs, so the host needs registry access. If the host will run Antigravity, install its CLI (
agy) before running bootstrap; install the Grok Build CLI before launching a Grok Build agent. Linux runs the runner as a systemd user unit.How the server is reached
Choose before writing
.env: the default is127.0.0.1behind an nginx reverse proxy, and a direct address inside a VPN is the alternative.Access
SSH access to the server host and every runner host, with each host key already known.
Full list: Server install runbook, Prerequisites.
04 / Server
Install the server
- Clone the repository on the server host at the exact commit you intend to run.
- Run
mix kaoiro.envinserver/. It writes.env, generatesSECRET_KEY_BASEand the client and runner tokens, and asks for the public host name. Keep the runner token it prints for the runner step. - Start it with
node server/deploy/kaoiro-server-deploy.mjs start --initializefrom the checkout root. - Set up the reverse proxy or the VPN address, and optionally Google, GitHub or Nextcloud login, from the network and login runbook.
Detail: Server install runbook and production manual, section 1.
05 / Runner
Install a runner on each agent host
- Build the runner tarball for the host's OS and CPU, and copy it to the host.
- Run
kaoiro-runner-bootstrap.shfrom the unpacked tarball. Its wizard is the only interactive step; it then installs the runner and starts it as a service. - On Linux, enable lingering for the user so the runner starts at boot without a login.
- Sign each engine in as the user the runner runs as. Bootstrap has already fetched Claude Code and Codex. For Antigravity, also set the authentication method in the runner's configuration (
antigravity.auth); see Antigravity authentication. Production Codex uses a dedicated home directory; see Codex home for production.
Detail: Runner install and distribution and production manual, section 2. Check the result with section 3, Verify.
06 / Launch
Launch your first agent
Sign in
Open the dashboard and sign in with a client token or with the login you configured.
Launch
Choose host, persona, engine, working directory and permission mode, and start the agent. The working directory has to be one the runner allows.
Watch and answer
The agent appears as a character card. A tool call waiting for approval comes to the browser, and you answer it there.
07 / Daily
Run it day to day
Approvals and notifications
A desktop notification and a per-state sound tell you when an agent hands control back. The dashboard collapses down to a phone, so you can answer away from your desk.
Updates and rollback
Server and runner updates have their own order. Take it from the production manual, section 4, and roll back with section 5. Restarting a runner stops every agent beneath it.
When something breaks
Start from deployment troubleshooting.
Release notes
What changed in each release is in the release notes.