Toolbox

Orca

Run Orca's runtime inside toolbox, so the agents the Orca desktop app starts use the bundled CLIs, the isolated ~/.toolbox credentials and the container boundary. The container that hosts it is the Orca Shell: a detached shell, one per host and profile. Why it is a command and not a recipe: ADR 0023.

Start and pair

Tell toolbox once which directory holds your repositories:

# ~/.toolbox.yaml
orca_workspace: ~/src

Then start the runtime:

toolbox orca

The first start downloads orca-server-linux-<arch>.tar.gz from the server version's release, checks it against the release's orca-server-sha256sums.txt, and installs it. The command returns once the server is ready and the desktop app lists it (see pairing). The runtime keeps running with no terminal open until you stop it.

toolbox orca <abs-dir> serves another directory, overriding orca_workspace, when it starts an Orca Shell; a running one keeps its own (run it again). With neither, the command joins a running Orca Shell on its workspace (run it again); with none running, it fails and names both. Either way the directory must exist and must not be your home itself (~, ~/, or its absolute path): the Orca Shell would otherwise mount the whole home.

Server version

The server runs the same version as the Orca desktop app on your Mac, so the two always speak the same protocol. toolbox reads the app's CFBundleShortVersionString from /Applications/Orca.app; when the app is elsewhere, it finds it through Spotlight by its bundle identifier, com.stablyai.orca. After the desktop app updates itself, toolbox orca stop and toolbox orca bring the server to the new version.

--version 1.4.262 overrides the app's version. It is required when there is no desktop app on this machine (on Linux toolbox does not look for one), or when the app is a release candidate: RC releases publish no server. With neither an app nor --version, the command joins a running Orca Shell at its version (run it again); with none running, it fails before any container work and names both.

Pairing

toolbox orca registers the runtime with the desktop app as the environment toolbox (toolbox-<profile> under a profile). When the app already lists that environment, it does nothing; otherwise it asks the server in the Orca Shell for a pairing offer (orca-ide pair --address 127.0.0.1) and adds it with Orca's CLI:

orca environment add --name toolbox --pairing-code 'orca://pair?code=…'

The pairing code sits on that command line, visible in the process list for the few seconds the call runs: that is how Orca's CLI takes it.

toolbox uses the CLI bundled inside the app (Orca.app/Contents/Resources/bin/orca), else an orca on your PATH. With neither, it opens the orca://pair link (the app registers the scheme) and prints it; when the link does not open, it only prints it. Paste a printed link in Orca under Settings → Remote Orca Servers → Add Server. Without a CLI toolbox cannot tell whether the app already lists the runtime, so every start offers the link again.

toolbox orca pair forces a fresh pairing: it removes the environment and adds it again from a new offer. Use it after the server's identity changed, for example after deleting Orca's data. With a profile: toolbox orca pair --profile work.

If an open desktop app does not show the new environment, restart it.

Open a terminal in it

toolbox orca shell

It attaches a terminal to the running Orca Shell, the agents' own workspace and tools; exit leaves Orca running. With no Orca Shell running it fails and tells you to start one with toolbox orca. A session reload from that terminal re-enters toolbox orca shell, and the recreated Orca Shell starts the server again; if the desktop app loses it, toolbox orca pair. Ordinary toolbox shell sessions run alongside it.

Run it again

A second toolbox orca on a running Orca Shell recreates nothing. It says the Orca Shell is already running and at which version, prints the endpoint, and pairs as a fresh start does. With no dir argument and no orca_workspace, the running Orca Shell's workspace stands in; with neither --version nor the desktop app, its version does. A --version, dir argument or orca_workspace that differs from the running Orca Shell's is not applied: it keeps serving its own version and tree, and the report says so (see Stop). When that server has stopped, it fails and names the log instead of reporting a dead server as ready.

Stop

toolbox orca stop

It removes the Orca Shell, and succeeds quietly when there is none, so scripts can call it unconditionally. toolbox stop --all removes it too, and toolbox list shows it marked (detached).

To change the server version, stop first: a second toolbox orca joins the running Orca Shell, leaves its version as it is, and says so.

Profiles

toolbox orca --profile work starts a separate Orca Shell, toolbox-orca-work, with the profile's own credentials and its own Orca data (pairing identity, paired devices) on the volume toolbox-orca-data-work. toolbox orca stop --profile work stops it. A profile name shaped like eight hex characters is refused, because it would collide with a workspace container's name.

All Orca Shells publish the same host port, so only one runs at a time.

Port and log

The runtime listens on host 127.0.0.1:6768 only; nothing outside your machine reaches it. When another container already publishes the port, the start fails before any container work and names the holder; when a process outside Docker holds it, the start fails naming the port.

Orca's data lives on a Docker volume, toolbox-orca-data (toolbox-orca-data-<profile> with a profile, the profile name lowercased with other characters turned into -, as in the container name), mounted at ~/.orca-data in the Orca Shell. A volume rather than a host directory because Orca keeps Unix sockets there, which Docker Desktop's host file sharing cannot hold. toolbox orca stop keeps the volume, so the pairing survives a restart. Inside it:

The server log, serve.log, is the only Orca file on the state mount, where toolbox reads it: ~/.toolbox/toolbox/state/orca/serve.log on the host (under ~/.toolbox/profiles/<name>/ with a profile, or your mounts_root). It holds what the installer and the server printed, with a toolbox: orca: server stopped with status <n> line when a start ends. When toolbox orca times out waiting for the server, the error names this file; the Orca Shell keeps running so you can read it. A crashed server is not restarted: toolbox orca stop, then start again.

Offline

Each start downloads the requested version unless it is already cached. When the download fails:

A checksum mismatch never falls back: it fails the same way as an empty cache.

What Orca changes in your toolbox config

Orca's runtime writes into the agent config every toolbox shell shares under ~/.toolbox (or your profile's root), not only into the Orca Shell:

To undo them, stop the Orca Shell, then remove the Orca entries from ~/.toolbox/.claude/settings.json and ~/.toolbox/.claude/keybindings.json, the Codex, Gemini and Antigravity hook config under ~/.toolbox, and run docker volume rm toolbox-orca-data (toolbox-orca-data-<profile> per profile) to drop Orca's data and credentials.

~/.toolbox/toolbox/state/orca (and the same directory under ~/.toolbox/profiles/<name>/ for each profile, or under your mounts_root) should hold only serve.log. Anything else there (server/, Orca's old identity and its unencrypted credentials) is left from a toolbox that kept Orca's data on the state mount: stop the Orca Shell and delete the whole directory. An Orca Shell created by that toolbox keeps using the old directory until toolbox orca stop and toolbox orca; the desktop app then pairs again, since nothing is migrated to the volume.

Claude Code and Orca's agent-view plugin

Orca starts Claude Code in every pane with its orca-agent-view plugin sideloaded through --plugin-dir and CLAUDE_CODE_PLUGIN_DIRS. Under Claude Code managed settings with disableSideloadFlags, Claude Code refuses those flags and does not start. Orca's own switch (Settings → Agents → Claude subagent navigation) does not reach a remote server: the server keeps its own copy of the setting (stablyai/orca#26935).

So in an Orca pane toolbox's claude wrapper drops that plugin, and only that one: the --plugin-dir pointing at a directory named orca-agent-view and its entry in CLAUDE_CODE_PLUGIN_DIRS. Your own --plugin-dir values pass through, and outside an Orca pane nothing changes. The cost is Orca's subagent navigation: the ctrl+alt+g keybinding does nothing.

To get navigation back, an organisation publishes the orca-agent-view plugin in a marketplace its strictKnownMarketplaces allows and enables it in its managed enabledPlugins; Claude Code then loads it without a sideload flag. The filter goes away once Orca honours the setting on remote servers or ships the plugin through a marketplace.

Troubleshooting