kaoiro / Deployments
Deployments
Three example layouts, for different purposes.
01 / Example A
Machines split by role
The layout the author uses every day.
The server, the agents and the test environment each have a host of their own.
server-host
One Linux machine. The kaoiro server runs under Docker Compose behind an HTTPS reverse proxy and is reachable from the Internet.
agent-host
One Linux machine. The runner stays resident as a systemd user unit and supervises about a dozen agents on this host, across the four engines.
test-host
A separate machine that runs heavy tests in isolated containers. It is the author's own environment, set up apart from kaoiro.
Clients and files
The operator uses the dashboard in a browser (PWA) on a PC and on a phone. The agents' deliverables are passed through a self-hosted Nextcloud cloud storage.
Each engine needs an account with its vendor; see Getting started. An operator credential lets its holder run commands on agent-host, so read SECURITY.md before you expose a server.
02 / Example B
Everything on one machine
For one person, the server, a runner and the agents can share a single host. You follow the same runbooks as for several hosts, on one machine.
Where it runs
One machine runs the server under Docker Compose, a runner, and the agents you launch. By default the server binds only to 127.0.0.1:4000 and a reverse proxy on the same host reaches it.
Answering from a phone
Decide how the server is reached before writing
.env: an HTTPS reverse proxy, or a direct address inside a VPN that must never be exposed to the public Internet. Both are in the network and login runbook.Trying it first
The README's Quick start starts every layer on one machine with
./scripts/dev.sh, with hot reload. For daily use, follow the production manual.Keep in mind
Restarting a runner stops every agent beneath it. With one host, every agent you run is beneath that runner.
03 / Example C
Offline, inside an intranet (future concept)
As of 2026-11-10, kaoiro does not support local AI agents yet. This section describes how it could work if that support arrives.
Claude Code, Codex, Antigravity and Grok Build all rely on their vendors' cloud services. Once kaoiro supports an engine that uses a local model, it can run in a fully offline environment designed with information security in mind.
What would have to change
An engine that runs a model on your own hardware. Issue 1043 proposes making engines pluggable, so that an external engine could connect over a public protocol instead of being added to the source.
What could stay inside
The server, the runners and the dashboard run on your own machines. With such an engine supported, the whole set could in principle stay inside the intranet.
04 / Compare
The three examples side by side
| A: several hosts | B: one host | C: offline (future) | |
|---|---|---|---|
| Status | In daily use | Possible today | Planned |
| Hosts | Server, agents and tests on separate machines | One | One or more, inside the intranet |
| Reached from | The Internet, through HTTPS | The same machine, or through a reverse proxy or a VPN | The intranet only |
| Engines | All four, on vendor cloud services | Any of the four | An external engine with a local model (planned) |
| Start with | Production manual | Production manual or Quick start | Issue 1043 |