Skip to documentation
multicodeaiDocs
Browse documentation

Run chats in parallel

Every chat gets its own branch and folder, so several run at once; review each one and merge the work you want.

On this page

How chats run side by side

Every new chat works on a branch of its own, forked from the room when it starts, in its own folder on your computer. Start as many as you like on the same repository: each agent keeps working while you open another chat or start a new one, and none of them changes another's files.

Use this to try alternatives side by side, or to split independent tasks across agents. Each chat's work reaches the room only when someone merges it.

Start a chat

  1. Choose the repository and select New chat.
  2. Write the task and send it.

There is nothing to switch on. Your connected computer needs the current desktop app or runner; an older one is asked to update instead of running the chat. There is no limit on how many chats run at once: each runs on your computer, with your own AI account. Your workspace's hourly and monthly limits still apply. Chats started before this change keep working on the room's branch, one at a time.

Files follow the chat you open

While a chat is open, All files, the editor and Changes show that chat's branch: what its agent has written, live while it works. Changes lists what the chat would bring into the room. You can edit its files when its agent isn't working, and the edit is saved on the chat's branch, not the room's. Open tabs are kept per chat. Select New chat to see the room's own files again.

Switching chats first saves your edits. If one can't be saved, the files stay where they are and say so, so nothing you typed is lost.

Review a chat's changes

In the sidebar, a chat shows review when it has changes to merge, merged once its work is in the room, or discarded when set aside.

Open the chat and select Changes. The panel shows how many commits the chat is ahead of and behind the room, every changed file with its added and removed lines, and a line-numbered diff for the file you select. Everyone who can open the room can review; only room editors can merge.

Merge into the room

Select Merge into room. The merge only happens if neither the chat nor the room has changed since you opened the panel; otherwise refresh and review the latest changes first. It is recorded as a merge in the room's history, which keeps each turn's commit traceable.

Merging changes the room's branch only. Use Publish to share the result with the project repository, as with any other room change. If the chat continues after a merge, its new work becomes a new proposal to review.

Bring in the room's latest work

When the room has moved on, the chat's driver can select Update from room to merge the room's newer changes into the chat's branch, so the chat continues from them and merges cleanly later.

If the room and the chat changed the same lines, nothing is changed and the panel lists the files. Select Bring in changes and ask the agent to bring the room's changes into the chat's branch with conflict markers and place a prompt in the composer asking the agent to resolve them. Review and send it. Until every marker is resolved, the chat can't be merged and the panel flags the affected files. The room never receives conflict markers.

Discard, reopen, and clean up

The chat's driver or the room owner can Discard a chat. Its branch and history are kept, it stops taking new prompts, and Reopen brings it back.

Each chat has its own folder on the computer that runs it. Nothing is deleted automatically. After chats are merged, discarded, or archived, run multicode-ai-runner workspaces prune to list their folders, then add --apply to remove the ones with no unsaved edits whose commits the workspace already has. Removal includes installed dependencies in those folders. Room folders are never pruned.