Command line and automation API
A program, usually another agent, can see and drive Ourkite Bot while you stay the one who decides. There is one API with three ways in, and the same rules apply to each.
Checked 29 November 2026
Three ways in
| Way in | For |
|---|---|
| Control channel | The protocol: one JSON object per line over a loopback connection, with a token that is new at every start. |
| Command line | Scripts and agents with a shell: ourkite <command>. |
| MCP server | Agents that use tools: ourkite mcp. Built, not yet tried with a real MCP client. |
A rule for every new feature: it is finished only when it has a channel command, a command-line verb, an MCP tool (or a written reason why not), documentation and tests.
What a program can do
ourkite state
ourkite read [workspace] [--lines N]
ourkite wait [workspace] --for needs-you --timeout 600
ourkite changes [workspace]
ourkite show <workspace> --view changes
ourkite type <workspace> [--enter] <text>
ourkite history --search backoff
ourkite events --follow
ourkite new <branch> --base origin/mainwait --for attention returns when a terminal needs you or a turn is done, failed or ended, which makes it easy to script "start this, tell me when it is my turn".
Who may connect
By default only programs started in the app's own terminals can ask: they alone receive the address and token. Outside access, behind the Access button, is off at start; while it is on, other programs on your account may read state and, per workspace, read or type if you allowed it.
- Programs can read this workspace: needed to read a terminal, the changes or past conversations.
- Programs can type here: needed to type, press keys or resume a conversation.
- No command answers a permission request, whoever sends it.
- Pairing a phone has no command at all: a program that could add a phone could send what it sees off the computer.
ourkite phonesonly lists them.
Try the preview
The preview is shared by email while the signed installer is prepared. Tell us how many agents you run and what you would want first.
- Windows 10 or 11, 64-bit
- Claude Code, signed in
- git
Windows 10 and 11 · Claude Code · early preview