been working on this for a while and figured I’d share since it’s been bugging me for months so the problem was — I’m working on a big feature, and claude code is great but it’s sequential. one thing at a time. if I have 5 independent pieces to build (API endpoints, UI components, tests, db migrations), I’m sitting there watching one finish before I can start the next. felt kinda dumb. so I built a plugin called multi-swarm. you type /multi-swarm “add user auth with login, signup, password reset” and it breaks your task into parallel subtasks, spins up N concurrent claude code sessions each in its own git worktree with its own agent team. they all run simultaneously and don’t step on each other’s files. each swarm gets a feature-builder, test-writer, code-reviewer, and researcher. when they finish it rebases and squash-merges PRs sequentially. some stuff that took forever to get right: - DAG scheduling so swarms can depend on each other (db schema finishes before API endpoints launch) - streaming merge — completed swarms merge immediately while others keep running instead of waiting for everything to finish - inter-swarm messaging so they can warn each other about stuff (“found existing auth helper at src/utils/auth.ts”, “I’m modifying the shared config”) - checkpoint/resume if your session crashes mid-run - LiteLLM gateway for token rotation across multiple API keys honestly it’s not perfect. merge conflicts with shared files still suck, worktree setup is slow on huge repos, and debugging 4+ concurrent claude sessions is… chaotic. but for parallelizable work it’s been cutting my wait time significantly. oh and it works with basically any project type — auto-detects your package manager, copies .env files, all that. pnpm, yarn, bun, cargo, go, pip, whatever. if anyone wants to try it: claude plugin marketplace add https://github.com/itsgaldoron/multi-swarm claude plugin install multi-swarm@multi-swarm-marketplace bug reports, PRs, feedback all welcome. still a lot to improve tbh. anyone else running parallel claude code setups? curious how others handle this or if there’s a better approach I’m missing submitted by /u/dorongal1
Originally posted by u/dorongal1 on r/ClaudeCode
