kaoiro / How it works
How it works
The engines kaoiro hosts, the parts it is made of, and where you can extend it.
01 / Collaborate
Four engines, working together
kaoiro supports Claude Code, Codex, Antigravity and Grok Build, and you choose the engine at launch. A message from an agent on one engine reaches an agent on another, so they can delegate, review and answer each other in the same conversation.
Claude Code
Hosted through the Claude Agent SDK.
Codex
Hosted through the Codex app-server.
Antigravity
Hosted through the Antigravity CLI.
Grok Build
Hosted as one resident ACP session.
Engines are not identical. Model and effort switching, permission modes and file uploads depend on what each engine declares, and whether a message can reach a running turn differs by engine. The dashboard follows those declared capabilities.
02 / Connect
Loosely coupled parts, flexible layouts
kaoiro is split into four parts with clear roles. One server can gather agents from several machines, each supervised by its own runner.
Server
Aggregates wrappers, keeps their state, delivers it to clients in real time and routes instructions to the right agent.
Runner
One per host. It spawns, stops and restarts wrappers and registers the host, and it stays out of the data path.
Wrapper
Launches an agent and translates engine-specific events into a common format. Wrappers connect directly to the server.
Client
Shows each agent as a character. The bundled web dashboard is one client.
03 / Extend
Room to extend
Because the parts are separate, you can change one without rewriting the others.
Build your own client
The server and client talk over a documented public protocol. The bundled dashboard is the reference implementation and uses the same protocol, so another client can be built on it.
Add an engine
Each engine has its own wrapper package on a shared core. Adding one in the source means changing the engine lists in the runner and the server; Grok Build was added this way. A runner can also declare a trusted local command as an external engine in its configuration.