Multiple
Working on multiple development streams with Claude depends on your workflow. If you are coding in terminal workspaces with Claude Code, you can manage parallel sessions, divide work among multiple AI agents, or split tasks across different folders
When you have more than one thing in flight — a feature, a bug fix, a review — you don’t have to finish them one at a time. The Claude Code CLI gives you three ways to run work in parallel. They differ in how isolated the streams are: from sharing a single conversation to running in completely separate folders. Pick by how much the streams need to stay apart.
| Pattern | What runs in parallel | Isolation |
|---|---|---|
| Subagents | Several agents inside one session | Shared files, shared chat |
| Multiple sessions | Several claude processes, one checkout | Shared files, separate chats |
| Git worktrees | Several claude processes, separate checkouts | Fully isolated |
Many agents, one session
The lightest option: stay in a single claude session and let it delegate
independent jobs to subagents. Each subagent runs with its own context window and
reports back a short summary, so the work happens in parallel without flooding your
main conversation.
> Investigate three things in parallel: one subagent maps the auth
flow, one lists every TODO/FIXME, and one checks test coverage.Claude launches the subagents together and aggregates their answers. This shines for independent, mostly read-only jobs — search, audits, research — where you want one tidy result.
You can also define reusable agents in .claude/agents/ and manage them with the
/agents command, so a dedicated “reviewer” or “test-runner” is one prompt away.
Background tasks
For a single slow job you don’t want to wait on, run it in the background and keep working:
> Run the full test suite in the background while we refactor the
auth module.Claude keeps the main session responsive and notifies you when the job finishes.
Use /bashes to see what’s still running.
Multiple sessions, one folder
The quickest way to truly parallelize is to open another terminal tab and start
claude again. Each session keeps its own context and history.
# Terminal 1
# Terminal 2 — same repository
You rarely start from scratch. To pick up where you left off:
Estás leyendo una vista previa.
Inicia sesión para leer el artículo completo. Cualquier cuenta abre 4 artículos gratuitos al mes; el alumnado y el profesorado leen las páginas de su curso sin límite.
Iniciar sesión