Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
Placement and remote execution
Load this reference before creating a new worktree or placing work through SSH, WSL, or another connected Orca server.
Placement choices
A fresh worker means a fresh agent terminal, not a new Git worktree. Use the current or an exact existing workspace by default. Create a worktree only when the user requested one or a concrete checkout or filesystem conflict makes sharing unsafe.
# Current workspace; setup is not rerun.
ORCA orchestration worker-start --task <task_id> --worktree current --agent codex --json
# Stacked child worktree.
ORCA orchestration worker-start --task <task_id> --worktree new-child --agent codex --setup run --json
# Independent top-level worktree.
ORCA orchestration worker-start --task <task_id> --worktree new-top-level --agent codex --setup run --json
--name is optional: without it Orca picks a name as it does for an unnamed
workspace, and the start output names the workspace it created.
Current and exact existing workspaces create a fresh terminal unless
--terminal is explicit. Folder workspaces are first-class; do not invoke Git
or require worktree lineage when the selected workspace is a folder.
Register a folder workspace through project setup. repo add --path <dir>
requires a valid Git repository and rejects a plain directory:
ORCA project setup-existing-folder --project <project_id> --host <host_id> --path <abs_path> --kind folder --json
Then place work on the returned workspace with an exact selector. A worktree
selector needs the full <repo-id>::<path> value Orca returned, passed as
id:<newFullWorktreeId>; a bare repo id is not a worktree id. new-child and
new-top-level are worktree creation and do not apply to a folder.
New worktrees use agent-first creation and run setup by default. Preserve the
repository's startup policy: start-immediately can report setup as running,
while wait-for-setup gates prompt delivery on success. Orca lineage, Git base,
filesystem isolation, coordination parentage, UI grouping, and execution host
are separate decisions.
Connected servers
The Run and Tasks remain authoritative on the current server. --on selects
only the worker's execution server and appears only on worker-start:
ORCA orchestration worker-start --task <task_id> --on <environment> --worktree new-top-level --repo <exact_remote_repo_selector> --name <name> --agent codex --setup run --json
Remote current and new-child are invalid because they are ambiguous across
servers. Use an exact discovered remote workspace, or new-top-level with an
exact remote repository selector. After start, route every follow-up, read,
stop, and cleanup by Dispatch ID; never repeat --on or substitute a remote
terminal handle.
ORCA orchestration worker-show --dispatch <dispatch_id> --json
ORCA orchestration worker-read --dispatch <dispatch_id> --limit 50 --json
ORCA orchestration send --to dispatch:<dispatch_id> --subject "Follow-up" --body "<guidance>" --json
ORCA orchestration worker-list --run <run_id> --include-remote --json
worker-list reads local fleet state only; enumerate remote workers with
--include-remote or every one of them reads unverifiable. Scope every list
with --run <run_id>: unscoped, it reports every Dispatch this runtime has
recorded, and the workers you are waiting on are lost in that history.
Execution-host and mixed-version floor
The execution host owns process, filesystem, transcript, stop, and cleanup
facts. Render only live, unverifiable, or exited. Connection loss, relay
absence, missing client inventory, or timeout yields unverifiable, never
synthetic exit and never a client-local substitute action.
Clients and servers update independently. Optional response fields may be absent. Forward model/effort, transcript reads, cleanup, or another new remote operation only when the peer advertises the relevant capability; unknown stream opcodes can be silently dropped. A narrow unsupported response may degrade to a documented older path, but must not broaden the target or cross the execution boundary. Changing host-published content reaches old clients even without a wire-shape change, so preserve established semantics or negotiate the behavior.
For WSL, use the exact executable and arguments returned by Orca so the distro
and packaged launcher remain bound. Do not translate a printed orca-ide
recovery command into a PATH-resolved local command.