Run coding agents in parallel with Cline Kanban
Run several coding agents at once with Cline Kanban: each task card gets its own git worktree, then you review the diffs and commit in 20 minutes.

What you need
Kanban is a research preview. It gives agents more freedom than usual, such as fewer permission prompts, so start on a repo you can reset.
Step 1: Install the Cline CLI and sign in
3 minKanban runs the coding agent installed on your machine, and the Cline CLI works on macOS, Linux and Windows.
- Install the CLI with the command below.
- Run
cline authand follow the setup. Sign in with a free Cline account, or paste a key from a provider such as Anthropic or OpenAI. - Run
cline versionto confirm the install.
Run thisnpm i -g cline
You should see a finished setup, then a version number from
cline version.npm says your Node.js version isn't supported?
Install Node.js 22 or newer, open a new terminal window, and run the install command again.
Cline keeps your key in the system keychain. Keep API keys out of your repo, your task cards and any screenshots.
Step 2: Open the board in your repo
2 minKanban works on one git repo at a time, so start it from that repo's root folder.
- In the terminal,
cdinto the root folder of your git repo. - Run
cline --kanban. If you'd rather not install the CLI,npx kanbanopens the same board. - Wait for the board to open in your browser.
Run thiscd [PATH TO YOUR REPO] cline --kanban
You should see an empty board in your browser at
http://localhost:3484.Kanban runs a different agent than the one you want?
Kanban also runs Claude Code, Codex and OpenCode. Pick the agent in settings, or choose one for each task when you create its card.
- In the terminal,
Step 3: Create and link task cards
5 minSmall cards with one job each can run side by side, and a link makes a card wait for the task it depends on.
- Add a card and type one clear task, such as "Add a dark mode switch to the settings page."
- Or open the sidebar chat and paste the prompt below. The agent splits a bigger job into cards for you.
- To link 2 cards, hold ⌘ (Ctrl on Windows and Linux) and click a card. Then click the card it connects to.
Your promptBreak this into small tasks that can run in parallel: [YOUR PROJECT GOAL]. Create one card per task. Link any task that depends on another one. Don't start any of them yet.
You should see a column of task cards, with arrows between the ones you linked.
A card won't start?
It's linked to a task that isn't finished. Kanban won't start a card until the cards it depends on are done.
Each link has an arrowhead, so you can see which task runs first.
Step 4: Start the agents and watch the board
3 minEach card gets its own git worktree and terminal, so agents work at the same time without merge conflicts.
- Click the play button on each card that's ready to run.
- Watch the board. Each card shows its agent's latest message or tool call.
- Start more cards whenever you like. Each one works in its own copy of the repo.
You should see several cards running at once, each with a live status line.
An agent changed
node_modulesin your main project?Kanban links gitignored folders such as
node_modulesfrom your main repo instead of copying them. Run tasks that must change those files outside Kanban.Task worktrees live in
~/.cline/worktrees, so your main folder stays as it was.Step 5: Review the diff and send comments
5 minYou see every change before it lands, and a comment on a line goes straight back to the agent.
- Click a card to open it. You get the agent's terminal and a diff of every change against your base branch.
- Click a line to comment on it, or Shift+click to pick a range of lines. Your comment goes to the agent as feedback.
- To test the app, add a script shortcut such as
npm run devin settings. Then run it from the play button in the top bar.
You should see the agent working through your comments, with the diff updating as it goes.
There's no Commit or Open PR button?
Those buttons appear only once the worktree has file changes. Check the agent's terminal in case it's waiting on a question.
Step 6: Ship the work and clean up
2 minOne click turns a finished worktree into a commit or a pull request, and the agent works through any merge conflicts.
- Click Commit to add the work as a commit on your base branch. Or click Open PR to push a new branch and open a pull request.
- Move the card to the Done column. Kanban deletes its worktree to free disk space.
- Any card linked to it now starts on its own.
You should see the finished card in Done and the next linked card already running.
You moved a card to Done too early?
Restore it. Kanban saves uncommitted work as a patch when it cleans up, and puts it back when you restore the card.
Older versions of Kanban call the Done column Trash.
You get
A board of coding agents working in parallel, each on its own worktree, with every change reviewed before it ships
Try next
Did this guide work for you?
Thanks. It helps us fix the steps.


