paneherd

Guide

Run multiple Claude Code sessions at once

By Eren Çolak, who makes Paneherd · Updated 2 December 2026

Claude Code works best on one focused task at a time, so the way to get more done is to run several sessions in parallel: one fixes a bug, one writes tests, one updates the docs. Doing that well comes down to three things: keeping each session's changes separate, noticing when one of them is waiting for you, and not running out of usage halfway through.

1. Separate terminals

The simplest way: open a terminal per task and run claude in each, or use split panes in tmux, Windows Terminal or your editor. It costs nothing and works everywhere.

What it leaves to you: every session asks for permission in its own terminal, so you have to look at each one to see which is stuck. If two sessions work in the same folder, they share the files, the branch and the uncommitted changes, so one session's half-finished edit can break the other's tests and their diffs get mixed.

The Paneherd sidebar showing the five-hour and weekly limits and a permission inbox with two panes waiting.
23 seconds: Claude Code and Codex side by side in VS Code. The video loads from YouTube only when you press play.

2. How do git worktrees keep sessions apart?

A git worktree is a second checkout of the same repository in another folder, on its own branch. Give each session that changes code its own worktree and each one edits its own copy of the files; you merge their branches when they are done. Claude Code can create one for you with claude --worktree.

What it leaves to you: each worktree needs its own dependencies installed and its own dev server port, and you still watch each session separately.

3. Claude Code's agent view

Claude Code has its own view of running sessions (claude agents), and the official VS Code extension shows the status of each session. Agent view lists background sessions by state (working, needs input, completed) and, inside a git repository, moves each session into its own worktree before it edits; the extension runs several conversations in tabs and queues a message you send while Claude works. Permission prompts are still answered in each session. See the Claude Code documentation for what your version includes.

4. Can I see every session in one VS Code window?

Paneherd is an extension that opens each session as a real terminal in the editor area and lays them out in a grid. The sidebar shows each session's status from Claude Code's own hook events, counts the ones waiting for you, and jumps to the next one. On top of that:

It can create the worktree for a pane (tick Own git worktree next to New session) or work alongside worktrees you made yourself, and shows every session in one window. It is free and runs as many sessions at once as you like.

Four Claude Code sessions in a grid in VS Code, with the Paneherd sidebar showing three permission requests and a queued prompt.

Tips that apply whichever way you choose

Next: handling permission prompts across sessions, how parallel sessions use your usage limits, running Codex and other agents alongside, and how the tools compare.

Install Paneherd free