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.

  1. Arrange an account for each engine you will use
  2. Prepare the hosts
  3. Install the server
  4. Install a runner on each agent host
  5. Launch your first agent
  6. 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.

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).

Full list: Server install runbook, Prerequisites.

04 / Server

Install the server

  1. Clone the repository on the server host at the exact commit you intend to run.
  2. Run mix kaoiro.env in server/. It writes .env, generates SECRET_KEY_BASE and the client and runner tokens, and asks for the public host name. Keep the runner token it prints for the runner step.
  3. Start it with node server/deploy/kaoiro-server-deploy.mjs start --initialize from the checkout root.
  4. 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

  1. Build the runner tarball for the host's OS and CPU, and copy it to the host.
  2. Run kaoiro-runner-bootstrap.sh from the unpacked tarball. Its wizard is the only interactive step; it then installs the runner and starts it as a service.
  3. On Linux, enable lingering for the user so the runner starts at boot without a login.
  4. 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

07 / Daily

Run it day to day