# Orca Multi-Worktree Setup: Run Parallel Agents on QCode

[Orca](https://www.onorca.dev) (MIT, `stablyai/orca`) is an open-source desktop IDE built for running multiple AI coding agents side by side. It isolates each task inside its own **Git worktree** so you can run Claude Code, Codex CLI, OpenCode, and Gemini CLI in parallel panes without conflicting file edits.


**Short answer**: Orca exposes no separate API-key dialog of its own — instead, **every worktree terminal inherits each underlying CLI's user-level config file**. Write your `cr_` key once into `~/.claude/settings.json` (`claude-opus-5-5`) and `~/.codex/config.toml` (`gpt-6.2-sol`), and every Orca agent pane routes through QCode automatically.

| Underlying agent | Config inherited by Orca | QCode Base URL | Default model |
|---|---|---|---|
| Claude Code | `~/.claude/settings.json` | `https://api.qcode.cc/api` | `claude-opus-5-5` |
| Codex CLI | `~/.codex/config.toml` | `https://api.qcode.cc/openai` (`wire_api = "responses"`) | `gpt-6.2-sol` |
| Gemini CLI | User env vars + `~/.gemini/settings.json` | `https://api.qcode.cc/gemini` | `gemini-4-neon` |

Checked on 2026-12-04 · Orca v1.4.290 (stablyai/orca) · Windows 11 / macOS / Linux



- **Applies to**: Windows 10 / 11, macOS, and Linux
- **Software version**: Orca v1.4.290 (MIT open-source desktop app)
- **Screenshots updated**: 2026-12
- **Time needed**: ~8 minutes
- **You will need**: One `cr_` API key from QCode; Git 2.30+; at least one installed coding CLI



- Copy an active `cr_` API key from the [QCode Dashboard](https://qcode.cc/en/dashboard) (no account yet? [Sign up](https://qcode.cc/en/auth/sign-up?utm_source=docs.qcode.cc&utm_medium=tut_before&utm_campaign=knowledge_base&src=docs-ide-orca-before) and pick a [plan](https://qcode.cc/en/pricing?utm_source=docs.qcode.cc&utm_medium=tut_before&utm_campaign=knowledge_base&src=docs-ide-orca-before), 7-day [Pay-as-you-go Pack](https://qcode.cc/en/pay-as-you-go?utm_source=docs.qcode.cc&utm_medium=tut_before&utm_campaign=knowledge_base&src=docs-ide-orca-before), or 35-concurrency [Team Edition](https://qcode.cc/en/enterprise?utm_source=docs.qcode.cc&utm_medium=tut_before&utm_campaign=knowledge_base&src=docs-ide-orca-before))
- Install Git and the CLI agents you plan to orchestrate ([Claude Code](/docs/getting-started/installation) or [Codex CLI](/docs/ide/codex))
- Keep your `cr_` key in user-level `~/.claude/` and `~/.codex/` files — never hardcode keys inside tracked repo scripts


## Download and Install

**Outside Mainland China**

Download the installer for your OS from **onorca.dev** or `github.com/stablyai/orca/releases` (`.exe` on Windows, `.dmg` on macOS, `.AppImage` / `.deb` on Linux).


**Mainland China**

Open **onorca.dev** or `github.com/stablyai/orca/releases` to download the desktop installer for your platform.


## Step-by-Step Setup (3 Steps)



### Download and install Orca Desktop

Visit [onorca.dev](https://www.onorca.dev) or `github.com/stablyai/orca/releases` to grab the latest release (`v1.4.290` as of 2026-12-04). Orca is MIT-licensed and opens straight into your local repositories with no Orca cloud sign-in required.

![Official Orca website and GitHub Releases page showing v1.4.290 desktop downloads](https://docs.qcode.cc/static/images/tut/orca/202612/en/01-orca-site.webp)


Done right you will see: Orca's official download options supporting 27+ CLI coding agents out of the box.




### Configure the underlying agent CLIs once in your home directory

Because Orca spawns native CLI processes inside each Git worktree, user-level configs in your home folder apply to every worktree automatically (Windows PowerShell shown below; macOS and Linux read the same `~/.claude/settings.json` and `~/.codex/config.toml` paths):

```powershell
New-Item -ItemType Directory -Force "$env:USERPROFILE\.claude","$env:USERPROFILE\.codex" | Out-Null

@'
{
  "env": {
    "ANTHROPIC_BASE_URL": "https://api.qcode.cc/api",
    "ANTHROPIC_AUTH_TOKEN": "cr_your_key"
  },
  "model": "claude-opus-5-5"
}
'@ | Set-Content -Encoding UTF8 "$env:USERPROFILE\.claude\settings.json"

@'
model_provider = "qcode"
model = "gpt-6.2-sol"

[model_providers.qcode]
name = "QCode"
base_url = "https://api.qcode.cc/openai"
env_key = "QCODE_API_KEY"
wire_api = "responses"
'@ | Set-Content -Encoding UTF8 "$env:USERPROFILE\.codex\config.toml"

[Environment]::SetEnvironmentVariable("QCODE_API_KEY", "cr_your_key", "User")
```

![Inspecting ~/.claude/settings.json (claude-opus-5-5 with masked key) and ~/.codex/config.toml (gpt-6.2-sol) inherited by Orca worktree panes](https://docs.qcode.cc/static/images/tut/orca/202612/en/02-orca-configs.webp)


Done right you will see: both user-level config files saved cleanly, so launching `claude` or `codex` in any branch worktree connects straight to QCode.


**Stuck? Where is the API key field inside Orca Settings?**

Orca intentionally delegates model authentication to each CLI's native config rather than storing duplicate keys. Whenever `claude` or `codex` works in a regular terminal, it works identically inside Orca panes.




### Verify isolated Git worktrees for parallel agent runs

Open your repository in Orca (or inspect worktrees from the terminal with `git worktree list`) so each agent works on its own branch checkout without stepping on uncommitted edits:

```powershell
git worktree list
```

Launch **Claude Code (`claude-opus-5-5`)** in one worktree pane for architectural changes and **Codex (`gpt-6.2-sol`)** in a sibling worktree pane for test generation — both drawing from the same shared QCode `cr_` key.

![Listing isolated Git worktrees ready for parallel Claude Code and Codex sessions in Orca](https://docs.qcode.cc/static/images/tut/orca/202612/en/03-orca-worktrees.webp)


Done right you will see: `git worktree list` displaying separate checkout directories per branch, ready for side-by-side agent panes in Orca.





### All done

Orca is ready to run parallel Git-worktree coding agents on QCode under one `cr_` key. Next steps:

- [Paseo Orchestrator Setup](/docs/ide/paseo)
- [T3 Code](/docs/ide/t3code)
- [Team Edition Guide (35 Concurrency & Pooled Quota)](/docs/reference/enterprise-guide)
- [Cost Optimization Guide](/docs/usage/cost-optimization)
