Guides

How to run multiple Claude Code agents in parallel on a Mac

By Diego Partida, who makes Tendeck · Updated

Short answer

Give every agent its own Claude Code session and its own copy of the repository (a git worktree), then pick how you watch them all. Terminal tabs and tmux are free and manual; Claude Code's agent view (claude agents) lists your background sessions in one terminal screen; a board app like Tendeck puts each session on a card and lights it up when it needs you. Every extra agent spends your plan's usage too.

What “an agent” means here

Each agent is one Claude Code session: its own process, its own conversation, its own permissions prompts. Two sessions don’t share context. So running agents in parallel comes down to two problems:

  1. Keep their files apart, so one agent doesn’t overwrite the other.
  2. Know which one needs you, without checking every window.

Every option below solves the first the same way, with git worktrees. They differ on the second.

Option 1: terminal tabs and git worktrees

The no-install way. Open a terminal tab per task and start each session in its own worktree:

claude --worktree checkout-form

In another tab:

claude --worktree payment-rounding

Claude Code creates each worktree under .claude/worktrees/<name>/ on a new branch called worktree-<name>, so the two sessions edit separate copies of the repo. A few details from the worktrees docs:

Where it breaks: nothing tells you which tab is waiting on a permission prompt. With four or more tabs you spend your time clicking through them.

Option 2: tmux

Same sessions, one window. Start a tmux session, split it into panes and run claude --worktree <name> in each:

tmux new -s agents

Ctrl-b % splits side by side and Ctrl-b " splits top and bottom.

Where it breaks: panes get small fast, and a session waiting on you looks just like one that’s working. It also survives closing the terminal only as long as the tmux server keeps running.

Option 3: Claude Code’s agent view

Claude Code has its own screen for this. Dispatch work as background sessions and watch them in one list:

claude --bg "Fix the rounding on coupon payments"
claude agents

Agent view groups sessions by state (Needs input, Working, Ready for review, Completed), lets you peek at one, and attaches when you press Enter. A dispatched session moves into its own worktree before it edits files. Sessions run on your machine under a supervisor process, so they keep going after you close the terminal, and they stop when the machine shuts down.

Where it breaks: it’s a research preview, so its keys and screens can change. It’s a terminal screen, and it runs Claude Code sessions only.

Option 4: a board of real terminals (Tendeck)

This is the maker’s view, so weigh it accordingly. Tendeck is a native Mac app that puts each session on a card on one canvas:

Where it doesn’t help: it’s Mac only (macOS 14 or later, Apple silicon) and costs $59 once. It doesn’t raise your plan’s limits, and it won’t make two agents editing the same files a good idea.

The four options side by side

Tabs + worktrees tmux Agent view Tendeck
Install Nothing tmux Nothing Mac app
See who needs you Check each tab Check each pane State groups Gold card + notification
Real terminal Yes Yes Attach to a row Yes, one click
File isolation --worktree --worktree Automatic Per agent, optional
Codex too Another tab Another pane No Yes
Price Free Free Free $59 once

Habits that work with any setup

Questions people ask

How many Claude Code agents can I run at once?

There's no fixed number. The real limits are your machine (each session is a process with its own terminal) and your plan's usage, because every session spends it. Start with two or three independent tasks and add more once you can keep up with reviewing them.

Do parallel agents share my usage limits?

Yes. Each session draws from the same plan, so running five agents spends roughly five times as fast. Claude Code's docs say so plainly. If you have more than one account, you can spread agents across them; see the guide on multiple accounts.

Can two agents work in the same folder?

They can, but they edit the same files and can overwrite each other. Give each one its own worktree with claude --worktree <name>, or ask Claude to work in a worktree.

What's the difference between subagents, agent teams and parallel sessions?

Subagents are helpers inside one session that report back to it. Agent teams are a lead session that splits work across teammates; they're experimental and off by default. Parallel sessions are separate conversations you start and steer yourself, which is what this guide covers.

Can Claude Code agents talk to each other?

Claude Code has cross-session messaging, so sessions you run can pass findings to each other. In Tendeck, agents on the board can write to each other and start a new agent for a side task, always with your permission, and each message shows as a letter on both cards.

Tendeck lives on your Mac

You’re not on a Mac right now. Get the link by email and start the 7-day trial when you’re at your Mac: no card.

One email with the link. No list, no follow-ups.

Download the .dmg anyway