Replies: 9 comments 6 replies
-
|
I think the worktree model is the right default, but the missing piece is review/control UX. The ideal flow for me would be: each agent run still gets an isolated worktree, but Multica makes that worktree first-class. I want to open the exact folder the agent is editing, inspect uncommitted changes live, run tests locally, and decide whether to commit/push myself. For security-sensitive workflows, I would also like a mode where the agent has no GitHub credentials and cannot push. Potentially even no local commit ability, so the output is just an editable worktree plus a patch/diff artifact. Then a human or lead agent can review before any commit exists. This preserves the advantage of safe parallelism. Ten agents can still work on ten issues without touching my main checkout. But it also gives users the feeling of direct local control that they are asking for from “bind to local directory.” I would treat local-directory binding as an explicit pair-programming mode for single-agent workflows, not the default. |
Beta Was this translation helpful? Give feedback.
-
|
The worktree is excellent. List my workflow for everyone's reference.
Therefore, it would be better to isolate each task as much as possible, and it would also be more beneficial for handling multiple issues in parallel. |
Beta Was this translation helpful? Give feedback.
-
|
I think binding a single repository to the workspace and using git worktrees per task would be a better model. From my perspective, the issue is not parallel development itself — worktrees actually preserve that capability. Each task can still run in an isolated working tree and branch, so agents don’t step on each other, while avoiding the need to clone/pull the full repository for every task. Technically, this seems like a good middle ground:
So I don’t see worktrees as a trade-off against parallelism. I see them as a way to keep the benefits of parallel execution while reducing the overhead of having a separate repository checkout per task. The main thing I’m unsure about is whether there’s already a cleanup mechanism for old task directories/worktrees. If not, that would be an important part of the design, and also the ability to bind a directory to a project to avoid the agent choosing arbitrary projects to work on. |
Beta Was this translation helpful? Give feedback.
-
|
@Bohan-J I'm working on exsiting game project. The current worktree mode is a no-go for me. the worktree is 100GB just for the engine part. Creating a seperate worktree per agent per issue is impossible. |
Beta Was this translation helpful? Give feedback.
-
|
One clarification about my local workflow: I don’t personally want worktrees to be mandatory. I understand they are useful for users who run many tasks in parallel, and I agree they should remain available. But my workflow is more supervised and sequential: I prefer one canonical local repo, one current change set, review the diff myself, then decide what to commit/push. For example, in Codex I usually leave the worktree option disabled. Today I’m working around this in Multica with a local repo rule in my agent instructions/config: I explicitly tell agents that the canonical repo root is a fixed local path, and that the transient Multica workdir is not the source of truth. Agents must write artifacts into the canonical repo path, not wherever the task happens to run. That workaround works, but it is brittle because it relies on prompt/config discipline instead of a first-class project setting. So my request would be:
In short: I’m not asking to remove worktrees. I’m asking for first-class local repo binding, plus an option to disable worktrees when the user prefers to work directly in the bound local repo. |
Beta Was this translation helpful? Give feedback.
-
|
So this might be a user skill issue, in this case myself, but with regards to the multi-work tree structure. I'm working on a Laravel application, and it's been a little difficult to wrap my head around how to properly test the different work trees and view maybe the live site for them. That's been a challenge. Whereas using a single repo and local directory would be very straightforward. Again, probably a skill issue, but having the option would be great. If anyone wants to drop a guide of the ideal workflow for these types of projects, that'd be fantastic. |
Beta Was this translation helpful? Give feedback.
-
|
The worktree approach is great, in my opinion, and it's the standard approach right now for agent collaboration. I think you're trying to fix the wrong issue. The thing that's severely lacking is control and visibility over the code and workspace: As a developer, I need:
Right now, my daily work driver platform/IDE is Conductor, which has all of the features above, but none of the fine-grained Agents/Skills/Project Management features from Multica, which I badly want. If/when you add these workspace visibility features to Multica, my team and I will be ready to make the switch. |
Beta Was this translation helpful? Give feedback.
-
|
Binding an agent to a specific directory is limiting and the "old way" of doing things. That being said, agent attached to a specific folder is not a feature that requires (deterministic) code implementation. Today, an agent has access to the entire machine. It is just that its current working directory is related to the one of the working tree. That can easily be overriden by the agent by setting its description to "Dont use the working tree, use the folder XPTO." THe last point related to working trees is that working trees can be pooled. Pooled working trees for multiple repos makes "checking out" faster, tasks running in multiple working trees consume less hard disk space etc. It is another power up on top of working trees. |
Beta Was this translation helpful? Give feedback.
-
|
I think this discussion is very relevant for more persistent multi-agent setups. Right now Multica is heavily focused on the "workspace per run" model where every task gets its own generated worktree and runtime bootstrap files like AGENTS.md. That works fine for stateless task execution or Claude Code style workflows, but it becomes problematic once agents are treated as long-lived identities instead of disposable runners. My setup is closer to an "agent OS" model:
Example:
The problem is that some specialized runtimes like OpenCode or Hermes do not work well with dynamically generated workspaces because they expect a stable environment and persistent bootstrap/config locations. In practice this means:
What I would really like to see is an optional persistent-agent mode where Multica does not create and manage a temporary workspace for every execution but instead attaches the task to a pre-existing agent workspace/home. Then Multica would mainly handle:
while the agent runtime itself owns the environment. I think this would make Multica much more attractive for advanced self-hosted and MCP-heavy setups where agents are treated more like persistent digital workers than ephemeral CI jobs. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We've been hearing from a number of users who'd like the ability to bind an agent to an existing local directory, rather than the current model where each run gets its own worktree. Before we go and build it, we want to open this up — because the worktree model is doing real work for us today, and we don't want to lose what it gives us without first understanding why people are asking for the change.
How it works today: one worktree per run
Every agent run gets its own git worktree on a dedicated branch. Concretely:
For the way we build Multica itself, this has been a meaningful productivity unlock. Parallelism on the same repo just works.
What we're hearing
Some users want the agent to operate directly inside a chosen local directory — presumably so changes show up in their existing editor without pulling a branch, or so they can iterate with the agent on a single working copy they're already using.
That's a reasonable thing to want. But it would also mean giving up (or significantly complicating) the "10 agents on one repo, no conflicts" property.
What we're not yet sure about
Before adding a "bind to local directory" mode, we'd like to better understand the underlying need:
If it's (1), we want to design for it properly. If it's mostly (2), the right fix is probably docs and onboarding around parallel agents — not removing the isolation that makes parallelism safe.
We'd love to hear from you
Thanks for the input.
Beta Was this translation helpful? Give feedback.
All reactions