← all repositories
johannesjo/parallel-code

Git worktrees as isolation lanes for AI agents

It spawns multiple AI coding agents in isolated git worktrees so you can review their diffs and merge the winners.

parallel-code
Not currently ranked — collecting fresh signals.
star history

What it does

Parallel Code is an Electron desktop app that corrals multiple AI coding agents into a single dashboard. For every task, it automatically cuts a new git branch and worktree, symlinks in your node_modules, and drops the agent into its own directory. You review diffs and merge back to main only when an agent actually produced something useful.

The interesting bit

The app treats git worktrees as disposable agent sandboxes. Because each agent writes to its own branch and directory, they never fight over the same files. A QR-code generator even lets you watch the agents work from your phone, which feels slightly absurd for a git tool but genuinely useful.

Key highlights

  • Tiled interface for Claude Code, Codex, Gemini, Copilot CLI, and Antigravity.
  • Automatic git branch and worktree isolation per task, with a built-in diff viewer and inline review comments.
  • Keyboard-first controls for spawning tasks, merging branches, and switching layouts.
  • Optional Docker sandboxing by dropping a .parallel-code/Dockerfile into the project.
  • State persists across restarts; supports direct mode for non-git folders.

Caveats

  • Antigravity CLI cannot authenticate inside Docker isolation because it depends on the host OS keyring, so it must run natively.
  • macOS and Linux only; no Windows support is listed.

Verdict

Worth a look if you are already using Claude Code or Codex and want to run several experiments in parallel without manual git gymnastics. Skip it if you do not use AI coding agents or if you prefer staying inside VS Code for everything.

Frequently asked

What is johannesjo/parallel-code?
It spawns multiple AI coding agents in isolated git worktrees so you can review their diffs and merge the winners.
Is parallel-code open source?
Yes — johannesjo/parallel-code is open source, released under the MIT license.
What language is parallel-code written in?
johannesjo/parallel-code is primarily written in TypeScript.
How popular is parallel-code?
johannesjo/parallel-code has 885 stars on GitHub.
Where can I find parallel-code?
johannesjo/parallel-code is on GitHub at https://github.com/johannesjo/parallel-code.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.