# How to install Orca Community and run a fleet of coding agents (Claude Code, Codex, Grok)

> AI Release · @ai_releaseorg · https://ai-release.org/guides/kak-ustanovit-orca-community-i-zapustit-flot-koding-age_en.html

## AI summary

Time to complete: ~30 minutes (installation plus a smoke test of three agents) Difficulty: Intermediate

### Key facts

1. Time to complete: ~30 minutes (installation plus a smoke test of three agents) (source: #tldr; status: заявление источника)
2. Difficulty: Intermediate (source: #tldr; status: заявление источника)
3. You will need: macOS or Linux, Node.js LTS with npm, git, one authenticated account or API key per provider (Anthropic for Claude Code, OpenAI for Codex, xAI for Grok), the Orca Community installer from its official release page (source: #tldr; status: заявление источника)
4. OS: macOS or Linux. Windows users run the same steps under WSL2 — the panel and the agent CLIs expect a POSIX shell. (source: #requirements; status: заявление источника)
5. Node.js LTS + npm: most coding-agent CLIs ship as npm packages. Check with node --version; if the command is missing, install Node.js LTS from nodejs.org first. (source: #requirements; status: заявление источника)
6. git: git --version must print a version. The smoke test creates a real repository. (source: #requirements; status: заявление источника)

### Direct answers

**What is required?** — OS: macOS or Linux. Windows users run the same steps under WSL2 — the panel and the agent CLIs expect a POSIX shell.; Node.js LTS + npm: most coding-agent CLIs ship as npm packages. Check with node --version; if the command is missing, install Node.js LTS from nodejs.org first.; git: git --version must print a… (#requirements)
**How to do it?** — Step 1. Prepare the host and authenticate the three agent CLIs → Step 2. Install Orca Community and register three agent profiles → Step 3. Verify the fleet end to end (#step-1)
**Which topics does it cover?** — orca community установка, orca кодинг агенты, запуск нескольких кодинг-агентов, orca claude code codex grok, флот ии-агентов настройка (#entities)
**What are the key points?** — Time to complete: ~30 minutes (installation plus a smoke test of three agents) Difficulty: Intermediate (#tldr)

- Canonical: https://ai-release.org/guides/kak-ustanovit-orca-community-i-zapustit-flot-koding-age_en.html
- Markdown: https://ai-release.org/guides/kak-ustanovit-orca-community-i-zapustit-flot-koding-age_en.md
- JSON: https://ai-release.org/guides/kak-ustanovit-orca-community-i-zapustit-flot-koding-age_en.json

## TL;DR

- Time to complete: ~30 minutes (installation plus a smoke test of three agents)
- Difficulty: Intermediate
- You will need: macOS or Linux, Node.js LTS with npm, git, one authenticated account or API key per provider (Anthropic for Claude Code, OpenAI for Codex, xAI for Grok), the Orca Community installer from its official release page

## What you will get

- A running Orca Community panel reachable at `http://localhost:<panel-port>` with three agent profiles — Claude Code, Codex, Grok — listed side by side in one window.
- A configuration file (`~/.orca/config.yaml`) containing the three profiles, each with its working directory and credential source.
- A smoke-test repository (`~/orca-smoke`) where each of the three agents has written its own file, proving the fleet actually executes, not just connects.

## Quick start

```bash
node --version && npm --version && git --version
claude --version; codex --version; grok --version
<orca-install-command>
orca --version
```

Details and verification are in the steps below.

## Prompt to copy

Use this as the first task you paste into the panel after all three agents connect. It verifies the fleet end to end.

```prompt
You are working inside the repository at <workspace-path>. Three agents are connected to this panel: Claude Code, Codex and Grok.

Task: produce three separate files, one per agent, without touching anything else in the repository.

- Claude Code: create docs/agent-claude.md containing the output of `git rev-parse --abbrev-ref HEAD` and the current date.
- Codex: create docs/agent-codex.md containing the list of files in the repository root.
- Grok: create docs/agent-grok.md containing the version of Node.js available in this environment.

Rules:
1. Do not modify files owned by another agent.
2. Do not run `git commit`, `git push` or any command that rewrites history.
3. When your file is written, reply with exactly one line: DONE <agent-name> <file-path>.
4. If you cannot complete the task, reply with: BLOCKED <agent-name> <reason> and stop.
```

Replace `<workspace-path>` with the absolute path of your smoke-test repo (for example `/home/dev/orca-smoke`) and `<agent-name>` / `<file-path>` with the values the panel reports.

## Requirements and setup
![Illustration: Requirements and setup](https://ai-release.org/guides/img/kak-ustanovit-orca-community-i-zapustit-flot-koding-age-en-1.jpg?v=1796373885)


- **OS:** macOS or Linux. Windows users run the same steps under WSL2 — the panel and the agent CLIs expect a POSIX shell.
- **Node.js LTS + npm:** most coding-agent CLIs ship as npm packages. Check with `node --version`; if the command is missing, install Node.js LTS from nodejs.org first.
- **git:** `git --version` must print a version. The smoke test creates a real repository.
- **Credentials:** Claude Code needs an Anthropic account or `ANTHROPIC_API_KEY`; Codex needs an OpenAI account or `OPENAI_API_KEY`; Grok needs an xAI API key. Keep keys in your shell profile, not in the panel config.
- **Orca Community installer:** download it from the project's official release page. The exact install command, the default panel port and the config schema are version-specific — confirm them in the Orca documentation before you run anything. In this guide they appear as `<orca-install-command>` and `<panel-port>`.
- **Disk/permissions:** write access to your home directory (the panel stores its config in `~/.orca/`).

## Step 1. Prepare the host and authenticate the three agent CLIs

**What to do:** verify the toolchain, install each agent CLI, and log in once per provider so the credentials are cached in the home directory.

**Why:** Orca Community is a control panel — it orchestrates CLIs that must already exist and be authenticated on the machine. If a CLI is missing or unauthenticated, the panel shows a profile that connects but fails on the first task.

```bash
node --version && npm --version && git --version
claude --version
codex --version
grok --version
```

If a binary is missing, install it with the command published in that provider's documentation (the package names change between releases, so copy the current one rather than guessing). Then authenticate:

```bash
claude   # first run opens the login flow
codex    # first run opens the login flow
export XAI_API_KEY="<your-xai-key>"   # exact variable name: check the Grok CLI docs
```

**How to check:** each `--version` command prints a version line, and re-running `claude` or `codex` does not ask you to log in again. Verify the key is visible to child processes:

```bash
printenv | grep -c XAI_API_KEY
```

**Example:** expected output is `1`. If it prints `0`, the variable was exported in a different shell than the one you will launch Orca from — export it again in the same terminal.

## Step 2. Install Orca Community and register three agent profiles
![Illustration: Step 2. Install Orca Community and register three agent profiles](https://ai-release.org/guides/img/kak-ustanovit-orca-community-i-zapustit-flot-koding-age-en-2.jpg?v=1796373891)


**What to do:** install the panel, launch it once to generate the default config, then add one profile per agent.

**Why:** the panel stores agent definitions in a config file; every profile tells Orca which binary to run, in which directory, and with which environment. Without profiles the panel starts but the fleet is empty.

```bash
<orca-install-command>
orca --version
orca   # first launch creates ~/.orca/ and the default config
```

Open `~/.orca/config.yaml` and add the three profiles. The structure below is a template — **verify the exact key names against Orca's configuration reference**, because schema keys differ between releases:

```yaml
panel:
  port: <panel-port>          # from the Orca docs, e.g. 8080
workspace_root: /home/dev/orca-smoke

agents:
  - name: claude-code
    command: claude
    workdir: /home/dev/orca-smoke
  - name: codex
    command: codex
    workdir: /home/dev/orca-smoke
  - name: grok
    command: grok
    workdir: /home/dev/orca-smoke
    env:
      XAI_API_KEY: ${XAI_API_KEY}
```

Create the working directory and a git repository so agents have something safe to operate on:

```bash
mkdir -p ~/orca-smoke && cd ~/orca-smoke && git init && git commit --allow-empty -m "init"
```

If you plan to let all three agents edit the same project at once, give each one its own checkout — the isolation pattern is described in [How to Run Multiple Claude Code Agents in One Project with Git Worktree and Isolated Workspaces](https://ai-release.org/guides/kak-zapustit-neskolko-agentov-claude-code-odnovremenno.html?utm_source=tg&utm_medium=channel&utm_campaign=guide_inline&utm_content=guide_to_guide).

**How to check:** start the panel and confirm the config parses without errors:

```bash
orca --config ~/.orca/config.yaml
```

The terminal prints the listening address. Any YAML mistake produces a parse error naming the line number instead of a startup message.

**Example:** a healthy start looks like `listening on http://localhost:<panel-port>` followed by one line per registered agent. If only two agents are listed, the third profile has a typo in `name` or a `command` that is not on `PATH`.

## Step 3. Verify the fleet end to end
![Illustration: Step 3. Verify the fleet end to end](https://ai-release.org/guides/img/kak-ustanovit-orca-community-i-zapustit-flot-koding-age-en-3.jpg?v=1796373898)


**What to do:** open the panel, send the smoke-test prompt to all three agents, and confirm each produced its file.

**How to check:** in the browser go to `http://localhost:<panel-port>`, confirm three agent cards are shown as connected, paste the prompt from the section above into the shared task box, and run:

```bash
cd ~/orca-smoke && ls docs/ && git status --short
```

**Example:** expected output is three files — `agent-claude.md`, `agent-codex.md`, `agent-grok.md` — and `git status` lists them as untracked. Each panel card should show a reply starting with `DONE`.

Final checklist:

- [ ] `orca --version` prints a version
- [ ] Panel reachable at `http://localhost:<panel-port>`
- [ ] Three agent cards show as connected
- [ ] Three files exist in `~/orca-smoke/docs/`
- [ ] Panel log contains one completed task per agent

When you want to move beyond a shared task box and assign roles, see [Claude Code Agent Teams: running a team of coding agents](https://ai-release.org/guides/claude-code-agent-teams-komanda-agentov.html?utm_source=tg&utm_medium=channel&utm_campaign=guide_inline&utm_content=guide_to_guide).

## Troubleshooting

**Problem. The panel starts but a profile is marked as failed**

- Error: `zsh: command not found: claude`
- Cause: the CLI was installed into an npm global prefix that is not on `PATH` for the GUI/panel process.
- Solution: find the prefix and add its `bin` directory to `PATH`, then restart the panel:

```bash
npm config get prefix
export PATH="$(npm config get prefix)/bin:$PATH"
which claude
```

**Problem. The panel refuses to start because the port is taken**

- Error: `Error: listen EADDRINUSE: address already in use :::<panel-port>`
- Cause: another instance of the panel, or an unrelated service, already holds the port.
- Solution: identify the process, stop it, or change the port in `~/.orca/config.yaml`:

```bash
lsof -i :<panel-port>
kill <pid>
```

**Problem. An agent connects but its first task returns an authentication error**

- Error: `401 Unauthorized`
- Cause: the panel process was launched from a shell that does not have the provider key exported, so the agent inherits an empty environment.
- Solution: export the key in the same terminal, verify it, and relaunch the panel:

```bash
export XAI_API_KEY="<your-xai-key>"
printenv | grep -c XAI_API_KEY
orca --config ~/.orca/config.yaml
```

## Summary and next steps

You now have a single panel driving Claude Code, Codex and Grok against a real repository, with a repeatable smoke test that proves the fleet works. Next, isolate each agent in its own git worktree before pointing them at production code.

## FAQ

**Do I need API keys for all three agents?**
Not necessarily — Claude Code and Codex can authenticate through their interactive login flows. Grok is typically key-based; confirm the exact variable name in its CLI documentation.

**Can three agents work in the same repository at the same time?**
They can, but they will collide on the same files. Use separate checkouts or git worktrees so each profile has its own `workdir`.

**Where is the Orca Community configuration stored?**
In `~/.orca/config.yaml` by default. If your install uses a different path, the panel prints it on first launch.

**What should I do if my Orca version's config keys differ from the template above?**
Treat the template as a shape only. Copy the key names from the configuration reference shipped with your release, then re-run the Step 3 checklist.
