Every task gets a folder of its own.

Every new workspace in a Git repository gets its own Git worktree. Agents in different worktrees do not overwrite each other’s files.

The whole Codact window with three chats of the web project working at the same time. The pointer opens them one after the other: with every chat the title bar names another branch (fix/price-rounding, feat/checkout-retry, feat/dark-mode), and the changes of that workspace stand on the right. In the end all three are done. Sample data.
Real recording from Codact with sample data. Some flows are re-enacted and shortened.
What happens in the video
  1. Three chats of the web project work at the same time; the chat on screen runs in the branch fix/price-rounding.
  2. A click opens the next chat: its own workspace, its own branch (feat/checkout-retry, then feat/dark-mode), its own changes.
  3. Back in the first chat: all three are done, each change in its own branch.

One folder per task.

A Git worktree belongs to the same repository and shares its history. Nothing has to be cloned twice.

  • What a Git worktree is

    An extra working folder that Git manages itself. It shares its history with the repository.

  • Local and on an SSH host

    A workspace can live on an SSH host. Its terminal runs there, not on your machine.

  • Two agents, two folders

    In one folder, two agents edit the same files and get in each other’s way. In separate folders, every change stays with its task.

    Automatic per workspace

    Every new workspace in a Git repository gets its own Git worktree. You start an agent inside it.

Review before anything is merged.

You read changes as a diff. Notes on single lines go to an agent you choose.

  • Changes as a diff

    You read a workspace’s changes as a diff before you take them over.

  • Notes to an agent you choose

    You write notes on single lines and send them to an agent of this workspace. You choose which one.

  • Pull requests and checks

    Pull requests and their checks are available for GitHub (with the gh CLI), GitLab (with glab), Bitbucket Cloud (with a token), Azure DevOps and Gitea (through environment variables). Tasks come from GitHub, GitLab, Linear and Jira.

    A worktree is not a sandbox

    It separates files, not the agent’s permissions. New agents start with full access by default.

Good to know.

Cloning, safety and Git hosts.

Do I have to clone the repository several times?

No. A Git worktree belongs to the same repository and shares its history. It is just another working folder.

Does a worktree protect me from harmful code?

No. A worktree is not a sandbox. It separates files, not the agent’s permissions.

So treat worktrees as a way to keep parallel work tidy, not as a protective wall. If you run code from an unknown source, you need separate isolation.

Which Git hosts and task lists does Codact support?

Pull requests and checks are available for GitHub (needs the gh CLI), GitLab (needs glab), Bitbucket Cloud (needs a token), Azure DevOps and Gitea (environment variables). Tasks come from GitHub, GitLab, Linear and Jira.

All questions