Orchestrator

A Windows desktop app for running a team of Claude Code agents on one project. You give the work to a lead agent; it breaks the work into tasks and hands each one to a thread, a full Claude Code session working in your project folder. Several threads run at once.

Built with
Claude Code (AI-assisted development): designed, directed and shipped by Jacob Wynhof
Platform
Windows 10 and 11
Stack
Rust (Tokio, Axum), WebView2, JavaScript/CSS
Release
MIT-licensed, with a Windows installer

Architecture

  1. Window

    • Interface

      HTML, JavaScript and CSS compiled into the exe, shown in WebView2

    • Tray icon

      closing the window keeps everything running

  2. WebSocket for live updates and a JSON API, with a random token per launch

  3. Local server on 127.0.0.1

    • Web server

      local web server; checks the Host header and the token on every call

    • App core

      threads, message queues, the orchestrator for each workspace, the plan/API mix

    • Runner

      starts each turn and reads its streamed output

  4. Each turn runs claude -p --output-format stream-json; sessions call back over MCP (streamable HTTP) for task lists, questions, media and, for the lead agent, thread tools

  5. Claude Code sessions in your project folder

    • Lead agent

      plans the work, starts threads and reviews their results

    • Threads

      several at once, each a full Claude Code session with your login, settings and rules

  6. Through Claude Code, per turn: your Claude plan or API credits

  7. Anthropic

    • Claude models

      Haiku, Sonnet or Opus, chosen per thread

How a request moves through Orchestrator, from the window down to Claude. Everything above the last tier runs on your PC, in one executable.

How it works

The lead agent talks with its threads while they work. It answers their questions, redirects them, passes results from one thread to another and reviews what each one did before it reports back. Messages you send while an agent is working go straight into its current turn.

Each thread is your own Claude Code: it uses your login, settings, CLAUDE.md files, MCP servers and permission rules. The app drives it with claude -p --output-format stream-json and gives every session a set of MCP tools for task lists, questions, media and, for the lead agent, thread management.

Cost and model choice

A slider per project sets how much work runs on a Claude Pro or Max plan and how much on API credits; when the plan hits its usage limit, turns can switch to the API. The lead agent picks Haiku, Sonnet or Opus and an effort level for each thread, and each turn records its model, effort, time and cost so later choices can be tuned.

The lead agent also estimates how long work will take. The app times the real work and shows it how its estimates compared, by kind of work.

Permissions and safety

Each project has a permission level, from full access down to plan only. Approval requests show up as cards in the chat, where you can allow, always allow or deny with a note.

Business workspaces add an approval queue: agents can only propose actions that reach the outside world, and only you can approve them, from the app window or a paired phone with a signed approval. An approval stores a hash of the payload and its attachments, so any change afterwards voids it. Every queue event goes into an audit log where each line is hash-chained to the one before. Secrets are encrypted with Windows DPAPI and redacted from transcripts and logs.

Under the hood

One executable holds the window, tray icon and a local web server bound to 127.0.0.1 with a random token per launch. The interface and first-run setup are compiled into the exe. The installer needs no admin rights, and updates are checked against the release checksum before the app restarts into them.

Notes

More