How to run several Claude Code sessions in parallel
Running Claude Code sessions in parallel means giving several agents separate tasks at the same time, each in its own conversation, while you watch and steer them. Run in terminal windows, that’s a window or tab per session, and switching between them to see how each is doing. In Moontors, an agentic development environment (ADE), each session is a card on one board, and the ones that need you say so.
What goes wrong in terminals
Section titled “What goes wrong in terminals”- With sessions spread across terminal windows, you only see which one is waiting for an answer by switching to it.
- Two sessions in the same folder edit the same files, and one’s changes land in the other’s work.
- A session in a terminal window ends when that window closes, unless you send it to Claude Code’s background.
Run them side by side
Section titled “Run them side by side”- Choose Create session, pick the project or folder, and pick Claude Code as the agent. Give the session a title that says its task: it names the card, and the worktree’s folder if you use one and name no branch for it.
- Repeat for each task. Every session starts on the board, in Sessions, its first row or column. Save as preset keeps the dialog’s picks, such as the folder, the agent and Run in a new worktree, never the title or the branch, and choosing the preset fills the dialog with them for the next task (see Presets).
- Write each session’s first prompt. Each card streams its session’s work as it happens.
Sessions in different folders or repositories need nothing more. For several sessions in one repository, give each its own worktree (below).
Keep their changes apart
Section titled “Keep their changes apart”When the folder is in a git repository, turn on Run in a new worktree as you create the session. The session then works in a folder of its own, on a branch if you name one, so no two sessions edit the same copy of a file. You review and merge each session’s work as you would anyone’s. See Worktrees.
Sessions working in one folder share its terminals and its Git view too, and so do a worktree session and its fork. A session in a worktree of its own has its own.
See which one needs you
Section titled “See which one needs you”Each card shows its status. Waiting means the session is waiting for you: a question, or a permission request you can answer right in its transcript. Moontors also sends a desktop notification when a session needs you; see Notifications for when they arrive with the window closed. The header counts the sessions in each state you act on or watch, such as 1 waiting; click a count to go to the next of them (see The header).
Sort the board into your own sections, such as one for review and one for what’s next, and drag cards between them as their work moves on. See Sessions and the board.
Things to know
Section titled “Things to know”- Every session is a full Claude Code session on your account, so parallel sessions share your plan’s usage limits. The Status tab shows them, and when they reset, and from 75% a ring beside Profile shows each one near its end. See Insight and code workflows.
- Each session’s permission mode is its own. A session you trust with a well-defined task can run with fewer questions; see Permission modes.
- A session’s agent can message your other sessions, such as to hand one a task and hear back. See Sessions messaging each other.
- Closing the window doesn’t stop the sessions. See How to keep coding agents running when the window closes.
Questions
Section titled “Questions”How many Claude Code sessions can run at once?
Section titled “How many Claude Code sessions can run at once?”As many as you create. They all use your Claude plan, so they share its usage limits; the Status tab shows them, and when they reset.
Can parallel sessions work in the same repository?
Section titled “Can parallel sessions work in the same repository?”Yes. Sessions in the same folder share its files, so give each session its own worktree when their tasks might touch the same files.
Will I know when a session needs me?
Section titled “Will I know when a session needs me?”Its card shows Waiting, and a desktop notification says so while Moontors is open, unless you’re looking at that session (see Notifications). The session waits for you, so answer it to keep its work going.
Related
Section titled “Related”- What is an agentic development environment (ADE)?
- How to use git worktrees for AI coding agents
- A Claude Code Desktop alternative with Codex, Gemini CLI, Grok Build and OpenCode
- A Conductor alternative for Mac, Windows and Linux
- An opcode (Claudia) alternative with Codex, Gemini CLI, Grok Build and OpenCode
- A Google Antigravity alternative with other vendors’ agents on one board
- A T3 Code alternative with every session live on one board