How it works
Ourkite Bot is a Windows desktop app written in Rust. It runs Claude Code in terminals it owns, one per git worktree, and learns what each agent is doing from Claude Code's own hooks.
Checked 29 November 2026
Three parts
| Part | What it does |
|---|---|
| The core library | Everything that is not drawing: worktrees, terminals, the Claude Code adapter and hook installation, the control channel, orchestration rules and saved state. It has no window, so it is tested without one. |
ourkite.exe | The command agents and people call from inside an Ourkite terminal: notify for hooks, new, send, the crew and schedule commands, and hooks install. |
ourkite-app.exe | The window: the dock, terminals, changes and review, the Crew view and permission requests. It owns the control channel. |
From a hook to the window
- Claude Code fires a hook
For example
PermissionRequestwhen it stops to ask, orStopwhen a turn ends. ourkite notify <event>runsIt reads the hook's JSON, adds the agent's process id and a time, and always exits 0 without printing anything, so a hook can never slow or break the agent.
- One line over a loopback connection
The event goes to the app on
127.0.0.1with a token that is new at every start and given only to the app's own terminals. - The app updates the tile
The workspace's state, its activity path and, for a permission request, the card in the dock.
The control channel and its trust model
- It listens on the loopback address only, on a random port, so it is not reachable from other computers.
- Its address, token and pane number reach only the terminals the app opens, through environment variables. A program not started from an Ourkite terminal cannot talk to it unless you switch on Outside access.
- Messages from agents are data. The app never types one agent's text into another;
ourkite sendonly pastes, and Enter is a separate, explicit choice. - No message on the channel answers a permission request.
What is stored, and where
| What | Where |
|---|---|
| Selected workspace, pane layout, Claude Code sessions to resume (up to 8 per workspace, 30 days) | %APPDATA%\Ourkite\state.json |
| Runs, tasks, mail, gates and schedules, per repository | %APPDATA%\Ourkite\, one file per repository |
The copy of ourkite.exe that hooks call | %APPDATA%\Ourkite\bin |
| Hooks and the status line, after you click Install hooks | .claude\settings.local.json in the worktree, excluded from git |
| Worktrees | <repo>-worktrees\ next to your repository |
A state file that cannot be read is set aside, never overwritten, and a file written by a newer version is kept under its own name.
What it runs on
- Windows 10 or 11, 64-bit. No administrator rights: it installs per user.
- Claude Code installed and signed in. It is the only agent supported today.
- git on the PATH. The GitHub CLI only for pull-request triggers.
- PowerShell 7 for the terminals when installed, Windows PowerShell otherwise.
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