Everything on your Docker hosts, from a browser and a terminal
One command. A web dashboard, a keyboard-driven TUI and a scriptable CLI, all clients of the same core. No separate agent, no exposed Docker API, no orchestrator, no database server, no SaaS account, no telemetry.Deploy a Compose stack, undo a bad one, follow the logs, drop into a shell, see which images carry CVEs, and do it across every server that joined the cluster. Or hand the same server to an AI agent over MCP, on the same port.
One prompt in Claude Code, four Kaio tools over MCP, and the stack lands on kaio-test-node while the dashboard watches.
Point Claude Code, or any MCP client, at the control plane once, then ask for
the result instead of the steps:
I’d like you to create a website presenting Kaio, the project’s mascot, as a voxel character.
Use Three.js and be creative. Once the site is done, deploy it on kaio-test-node.
The agent writes the page, finds kaio-test-node among the servers that
joined, deploys it there and reads the containers back. No SSH key, no Docker
socket, no deploy script: one MCP entry reaches every node, and what lands is
an ordinary stack, versioned, rollbackable and in the audit log, capped at the
rung you gave the agent.
One prompt, one deployed site
Edit a running stack and Review changes shows what is running against what
the deploy would write, with the variables and images it moves, before anything
runs. Each deploy is a numbered version of the compose file and its .env
together: the timeline shows what each one changed, a rollback brings both back
as a pair, and a failed compose up does it on its own.
Versions & rollback
Review changes: an image bump and a new variable, read before anything is deployed.
Ctrl+K (⌘K) and a few letters of each word: blog tim opens the timeline
of blog, shell ghost a shell in its container, copy blog prod-02 the copy
dialog with the destination picked.
Command palette
Ctrl+K, blog tim, Enter: the timeline of the stack. Then Ctrl+K again, blog edit, and the change reviewed before it is deployed.
kaio-cli tui on the machine itself, no browser and no port to forward. Same
stacks, same versions, same CVE counts, from the same server: create a stack,
write its compose.yml in your $EDITOR, deploy.
TUI
A stack's logs under [l], every tab under [Tab], a stack created end to end: name it, write its compose.yml in $EDITOR, add a variable, deploy. Then a hop to a node, and a shell on one of its containers under [!].
Its compose.yml, its variables, its version history and, if you ask, its
volumes, streamed through the control plane. A port already taken is caught
before anything is written, and the source is never touched.
Copying a stack
Copy to... on the blog stack: a destination, a new name, a port moved out of the way, then each volume followed as it crosses.
One column per server, one card per stack, coloured by what it needs. Drop a
stack on another server to copy it there, filter the fleet down to what needs
you, or leave it full screen on a wall.
Cluster board
The cluster board: a stack picked up on this server and dropped on prod-02, then copied there with its data.
Each host runs Kaio itself, the same Kaio you already use, not an agent of
a second kind. Run it on a host and it manages that host; run it on a second
and let them join: kaio-cli join enrols a machine with no address typed
by hand, and cluster leave takes it back out from the machine itself. A
server that changes address is recognised, not duplicated. The Docker
socket never leaves its host: the API a node already serves is the
protocol, every call between servers is signed, and there is one thing to
keep upgraded, not two.
Undo, not regret
Every deploy is a numbered version: the compose file and its variables,
captured together, read as a diff before it runs and kept until you say
otherwise. Roll back and both come back as a pair; a failed compose up
does it on its own. Editing a live stack is an undo away, not a gamble.
Move a stack, data and all
Copy a stack to another server with its variables, its whole version
history and the contents of its volumes, streamed through the control plane
so the two hosts never need to reach each other. The source is never
stopped, written to or removed, and a copy that fails undoes itself. A copy
that could never start, because a port is taken, is refused rather than
written.
Three interfaces, one truth
Click it in the browser, drive it from the TUI over SSH, script it in CI
with --json. All three are clients of the same server, which computes
every number once, so nothing can disagree with anything else. There is no
second implementation to drift.
A protocol for your agent, not a chat box
Kaio speaks the Model Context Protocol at /mcp, on the same port as
everything else. Point an agent at it and “why is the media stack partial”
is answered from the same numbers the dashboard shows, not from scraped
output. The endpoint is off by default, and KAIO_MCP is a ladder:
read where no tool can change a thing, write for deploys and copies,
admin for what has no undo. An agent only sees the tools its rung allows.
Alerted on what only Kaio knows
A dashboard helps while you are looking at it. The reason to scrape Kaio is
not another CPU graph, it is Alertmanager waking you over state nothing
else on the host can see: a stack partial for ten minutes, an image
update waiting a week, a critical CVE that appeared overnight on an
image you built in March, variables saved and never applied, a server that
stopped answering its peers. Nine rules ship written. One of them watches
Kaio itself, and fires when it stops reading the daemon while still happily
serving pages.
Nothing is held back
No paid tier, no seat count, no node limit, no feature waiting behind a
sales call. CVE scanning, the cluster, the gateway, the MCP endpoint: what
you read on this page is what one container gives you, on the first host
and on the twentieth.
Nothing is sent back about you
There is no telemetry in Kaio. No analytics, no crash reporting, no usage
ping, no update check, no account call, and no opt-out to hunt for, because
there is nothing to opt out of. Neither binary carries the address of a
service this project runs, since this project runs none. Traffic does leave
the host, but only for something you asked for and only toward a host you
chose: the registry request that checks your image tags, the pull that
deploys them, Trivy’s database, the node you joined. Deny Kaio egress and
the dashboard, the logs, the shells and the deploys carry on, because
nothing in them was ever a report about you.
Your files stay your files
A stack is a directory on the host: compose.yml next to its .env, where
plain docker compose still works on them. Nothing is locked inside a
database, so removing Kaio leaves your stacks running. SQLite keeps the
history, so data/ and the small /etc/kaio are what a backup covers,
taken with SQLite’s own .backup rather than a cp that would miss the
write-ahead log.
One fleet, one dashboard
From your entry point, see every server and every stack at once on the
cluster board, or list the servers that
answered under Manage → Nodes, in the TUI’s Nodes tab, or with
kaio-cli node ls.
Then drive any of them by name: kaio-cli node web-01 run stack deploy api ./compose.yml. Removing a node closes that path, while its own address
stays exactly as reachable as before.
A pipeline is a first-class client
The CLI is a thin HTTP client: no checkout of Kaio, no toolchain, no
Docker socket in the runner. Two lines are a deploy that verifies
itself: health refuses a server that is down before anything is written,
and stack deploy blog compose.yml --env-file .env.ci --wait writes it and
answers only once every container runs and passes its healthcheck. A stack
that does not get there is rolled back to the version it ran before and the
build fails with the containers at fault, so a bad commit leaves the last
working stack running.
Every command speaks JSON
--json turns the CLI into a data source, so a pipeline gates on what the
server already knows rather than on scraped output: jq -e over status
when the containers did not stay up, over image ls when a scan found a
critical CVE, over node ls when a server stopped answering. The same
node ls rolls one deploy across every server that answered.
Change a variable without holding your breath
A stack’s variables live in a .env at mode 0600 next to its compose
file. Names that look like one (*_PASSWORD, *_TOKEN, *_KEY) are
flagged secret on their own: reading them back gives null, and leaving
one empty keeps the stored value, so you never retype a password to change
a tag. From the CLI or the TUI an edit is saved as pending until you
apply it, so you pick the moment containers restart. And a failed
compose up puts back the previous compose.ymland the previous
.env together: a bad variable is an undo, not an outage.
The live feed, readable with curl
The feed scrolling under the dashboard is an ordinary endpoint you can read
yourself: curl/api/events and every deploy, restart and failure
arrives as it happens, one line of JSON at a time, each one saved before it
is sent rather than invented on the way out. Pipe it where you already keep
logs and you have a timeline of what the host did, with nothing to poll.
Catches a moving latest tag
The checker asks the registry for the manifest digest and compares it with
what you are actually running, so a rebuilt latest is caught where a
version string would lie. Nothing is pulled, and nothing is recreated,
until you say so.
Today's CVE, on last year's image
Trivy runs as a throwaway container, so there is nothing to install. In-use
images are rescanned on a schedule you choose, starting at boot. A
vulnerability disclosed this morning surfaces on an image you built months
ago, without anyone running a command.
From a spike to a shell
Live CPU, memory and network per container, summed per stack. When a number
looks wrong, stream the whole stack’s logs merged by service, then open an
interactive shell inside the container, without leaving the page.
Graph it in Grafana, if you want to
An option, not a dependency: Kaio draws its own charts and keeps a day of
them by default. Turn on KAIO_METRICS and it also speaks Prometheus at
/metrics, on the same port as everything else, so Grafana keeps the
history Kaio deliberately does not. A scrape costs no call to the Docker
daemon, your fleet names itself because one Kaio hands Prometheus the rest
of the cluster, and make metrics-full-run stands the whole thing up, Kaio
included, with the dashboard already loaded.
Light enough to forget it is there
Kaio is written in Rust and installs as two self-contained binaries, the
server with the dashboard compiled into it and the CLI, so there is no
runtime to install beside them, no interpreter idling on your server and no
directory of assets to keep in step. It asks the
daemon only for what it is showing you, and only about containers that are
actually running, so a quiet host stays quiet. The editor and the terminal
load the moment you open one and not before, and a host with hundreds of
containers still scrolls like a short list.
No container for Kaio itself
The image is one way in, not the only one. One command installs Kaio as an
ordinary service your system starts and restarts like any other: it picks
the right build for the machine, amd64 or arm64, checks what it
downloaded, and leaves a configuration file where every option is one
uncommented line away. Run the same command again to upgrade, and your
settings survive it. It can even run as your own user rather than as root.
What the container carried, the host then provides: Docker and its Compose
plugin, since a deploy is a real docker compose underneath.
Podman, rootless, same features
Rootless Podman speaks the same API Kaio does, so it manages a Podman host
exactly as it manages a Docker one: point KAIO_DOCKER_HOST at the Podman
socket and nothing else changes. Two caveats come with it, and both are
Podman’s: write image names in full, docker.io/library/nginx:latest,
since Podman assumes no registry; and a rootless socket shows Kaio your
containers only, so a server running them under several users wants the
rootful socket, or one Kaio per user.
It stops keeping things, deliberately
Something that grows forever is something you end up cleaning by hand, so
Kaio cleans up hourly on its own. The charts hold a day and the events a
month by default, and both stretch: the events to a year when you read
them as a deploy log. Your version history is the one thing kept until you
say otherwise. And for the disk
Docker itself fills, Manage → System prunes containers, images,
networks and volumes, each telling you what it got back.
Kaio does not build images from a git repository, run a reverse proxy, issue
certificates, turn a database into a managed resource of its own, or decide
which host a workload lands on. A PaaS owns all of that, and owning it means
choosing it for you: its builder, its proxy, its certificate flow, its database
images and the way they are backed up.
Kaio leaves each of those open. Build in the CI you already run and deploy the
tag it pushed. Front it with nginx, Caddy, Traefik or none of them. Run
Postgres, MariaDB or Redis as a stack like any other, on their own images and
your own volumes, or keep pointing at the server you already have. Because a
stack stays an ordinary Compose project on disk, the tools you already use keep
working on it, and the ones you pick next will too.
Kaio authenticates no one: no accounts, no passwords, no login page. Whatever
drives its API controls the Docker daemon, which is root-equivalent on that host.
So it is built to sit behind whatever you already trust: a reverse proxy with
basic auth, an SSO gateway such as Authelia, Authentik or oauth2-proxy, a VPN or
a mesh network, or nothing at all on a host only you can reach. It expects to be
the thing behind the door, not the door, and it checks that the door is there:
it listens on 127.0.0.1 and refuses to start anywhere else until you name
the proxy or the network it may trust;
it believes Remote-User and Remote-Groups from that proxy only, with a
shared secret so nothing else at its address can pose as it, and maps the
groups to read, write or admin, one ladder for the web UI, the CLI, the
TUI and the agents;
the servers of a cluster sign every call they send each other, so a node needs
no open door at all;
every deploy, deletion, prune, rollback and shell lands in an audit log with
the name of whoever asked, and kaio-server doctor names what is left open.
Read Security for the model and what the layer in front
needs to cover.
Then Hardening is that layer written out, four setups
end to end: a tunnel that exposes nothing, Caddy with a password, SSO for the
people with a credential for the pipelines and the agents, or a mesh where the
device is the credential. Each one carries the browser, the CLI, the TUI and
an agent through it, says what KAIO_MCP should be left at, and finishes on the
handful of curl and ss checks that tell you whether the door actually shut.