# Run Claude Code, Codex and OpenCode in parallel

> Run Claude Code, Codex and OpenCode in parallel on one feature with Edith's Agents extension: one space, one split tab, a saved layout and the board.

- Canonical URL: https://getedith.pro/docs/agents/tutorials/run-agents-in-parallel
- Updated: 2026-12-03

By the end of this tutorial you will have three coding agents working on one feature in the same space, side by side in one tab, with a saved layout you can reuse and a board that tells you which of them needs you. You need the Agents extension turned on with herdr installed, and Claude Code, Codex and OpenCode installed and signed in on this Mac. If you have not done that yet, follow [Set up Agents](https://getedith.pro/docs/agents/agents/setup) first.

## Check that your agents are ready

1. Open **Agents** from the sidebar.
2. Press **New agent** or ⌘N.
3. Look at the list of agent kinds. A kind whose CLI Edith cannot find on this Mac says **Not on this Mac**. Install that CLI before you go on, then close the popup.

### From the terminal

```terminal
$ ed agents models
```

It prints one table per agent kind with its models, effort levels and fast mode.

## Split the feature into separate pieces

Agents working in the same folder can step on each other. Give each one a piece of the feature that touches different files. For a CSV export on a reports page, that could be:

- Claude Code writes the export endpoint.
- Codex writes the tests for it.
- OpenCode adds the **Export** button to the page.

Write the three instructions down before you start, so each agent gets a clear first message.

## Start Claude Code in a new space

A space groups the panes for one project, so all three agents will share one.

1. On the Agents page, press **New agent** or ⌘N.
2. In the popup's header, set the layout menu to **New tab**.
3. **Agent.** Choose **Claude Code**.
4. **Machine.** Choose this Mac.
5. **Space.** Type a name such as `csv-export` and choose **Create space "csv-export"**.

Claude Code opens in its own herdr pane in a new tab. Click into its terminal and type its first instruction.

When you choose Claude Code, the popup also shows a **Claude account** picker. Leave it on **Existing CLI login** unless you saved other accounts. See [Claude accounts](https://getedith.pro/docs/agents/agents/claude-accounts).

## Add Codex and OpenCode beside it

With the Claude Code tab showing, add the next agent to the same tab:

1. Press **New agent** again.
2. Set the layout menu to **Side by side**.
3. Choose **Codex**, this Mac, and the `csv-export` space.

Codex opens beside Claude Code. Give it its instruction, then repeat the steps for **OpenCode**.

> **Tip:** The **+** button on a space header in the agent list, **New agent in** that space, starts the agent on that space's machine and in that space, so you only choose the agent.

You can also drag a card from the board, or a row from the agent list, onto a tab or into a pane.

Inside the split tab, press ⌥` to move to the next agent, or ⌥⌘ with an arrow key to move by direction. Right-click a pane and choose **Zoom** (⇧⌘↩) to give one agent the whole tab while you read it, then **Restore layout**.

## Arrange the tab

Press the adjust button in the tab bar and choose **Layout…**.

- **Arrange** lists the built-in arrangements that fit three agents, plus your saved layouts. In arrangements with a highlighted spot, the focused agent takes it.
- **Adjust** has **Rotate**, **Flip**, **Even out** and the rest.

Pick an arrangement and press **Even out** if the panes drifted apart. The arrangement has to fit the number of agents in the tab.

### From the terminal

This works while the Edith window is open. Index 0 is the board, so the first agent tab is 1:

```terminal
$ ed agents layout ls
$ ed agents layout apply columns --tab 1
$ ed agents layout even --tab 1
```

## Save the layout

Once the tab looks right, press **Save** in the layout popover, give the layout a name such as `Trio`, and save it.

A saved layout shows up in **Arrange** whenever the same number of agents share a tab, and while you drag. Saving another layout with the same shape replaces the old one. Next time, pick it from **Arrange** to apply it in one step.

To remove it, right-click it in **Arrange** and choose **Delete saved layout**.

### From the terminal

```terminal
$ ed agents layout save Trio --tab 1
$ ed agents layout apply Trio --tab 1
```

## Watch the board

Select the board, the first tab. It has one card per live agent, grouped by what the agent is doing, with **Blocked** first.

![The Agents board with Blocked, Working, Done and Idle lanes, each with a count, and cards for Claude Code, Codex, OpenCode, Gemini and Cursor Agent showing a session title and This Mac with a pane id such as w1:p1](shot:ext-agents)

| Lane        | What it means                        |
| ----------- | ------------------------------------ |
| **Blocked** | Waiting on an approval or a question |
| **Working** | In the middle of a turn              |
| **Done**    | Finished its turn                    |
| **Idle**    | At its prompt, waiting for work      |

Each card shows the agent kind, the session title, and the machine with the pane id, such as `This Mac · w1:p2`. Cards for agents already open in a tab carry an **Open** badge. Click a card to jump to that agent.

To see only this feature's agents, press ⇧⌘F and pick the kinds under **Agent**, or keep **Group by space** on in the agent list.

## Queue the next step for each agent

You do not have to wait for an agent to finish before you tell it what comes next:

1. Right-click the agent's card on the board and choose **Send message…**.
2. Write the message, such as "run the tests and fix failures".
3. Under **When to send**, choose **When done**.
4. Press **Send when it finishes**.

To message several agents at once, open the more menu (…) in the page header, choose **Send a message**, and pick a group such as **Stopped agents**, the idle and finished agents waiting at their prompt. To drop a message that is still waiting, right-click the agent and choose **Cancel waiting message**.

herdr never types into a **Blocked** agent. Open it and answer in its terminal, or connect hooks so its permission requests come to you, as the next tutorial shows.

### From the terminal

Find the pane ids, queue a message for when an agent finishes its turn, and list what is waiting:

```terminal
$ ed agents ls
$ ed agents send w1:p2 "run the tests and fix failures" --when-finished
$ ed agents hooks
```

Send to the `stopped` group to nudge every agent sitting at its prompt. Groups always send now:

```terminal
$ ed agents send stopped "pull main and rebase"
```

## Next steps

- [Approve agent requests from one place](https://getedith.pro/docs/agents/tutorials/approve-agent-requests)
- [The board](https://getedith.pro/docs/agents/agents/board) for search, filters and the details panel
- [Tabs and layouts](https://getedith.pro/docs/agents/agents/tabs-and-layouts) for every split and layout command
- [Send messages](https://getedith.pro/docs/agents/agents/messages) for delays and clock times
- [`ed agents` reference](https://getedith.pro/docs/agents/agents/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
