Top
Best
New

Posted by ajeetdsouza 19 hours ago

Parallel agents in Zed(zed.dev)
243 points | 135 comments
VortexLain 30 minutes ago|
I personally explicitly avoid parallel agents, since it creates too much cognitive debt, and sometimes an agent may need steering towards an architectally sane solution mid-work.
aszen 14 minutes ago|
Same here. Reviewing gets harder too and multi tasking kills any kind of productivity if you need to review the code then.

My approach these days is to do one change at a time, until I can fully merge it with confidence.

jamie_ca 18 hours ago||
I'm buying into this workflow more the more I use it, but the real gamechanger is (a) parallel threads in worktrees, with (b) enough lifecycle hooks to treat them similarly to spinning up a VM.

Specifically for me that means that after I create a worktree I get some local config files copied over and Postgres duplicating my local dev and test databases so I can test in isolation, and then when I close out a worktree it deletes those databases.

The best at that that I've found is Conductor, but I can't use it at work because we only have Copilot and they're locked to a Claude/Codex backend. Arbor is close, but it's not under as active development and has a lot of rough edges. Opencode GUI has create hooks but not teardown.

If Zed can hook that up _and_ also keep its great editor roots, that'll definitely be a game changer.

sheremetyev 25 minutes ago||
I've built multi-agent workflow on JJ workspaces - independent from specific agent. You can run Codex, Claude or anything else - https://www.visualjj.com/learn/parallel-ai-agents
Charlieholtz 12 hours ago|||
Love to hear it! (Conductor founder here).

This is helpful to know - we're working on adding more agents, Copilot and OpenCode harnesses are among the most popular requests.

We also recently built an escape hatch. If you turn on Settings → Experimental → Big Terminal Mode you can create new terminals in the center panel (with ⌘⇧T) and use any agent you'd like (Copilot, OpenCode, etc). It isn't the best experience because you don't get notifications etc (yet), but at least it lets you use the harness you'd like until we build out the first-class UI for it.

Send me feedback anytime, I'm charlie@conductor.build.

edf13 5 hours ago|||
Anyone know of a similar tool to conductor for Linux?
Atotalnoob 10 hours ago||||
I’m interested in these types of tools, but the biggest issue I am currently having in my workflow is manually verifying everything is working. Tests and stuff are nice, but typically if there is a bug, the AI agents enshrine it in th tests.

However with worktrees I am not really able to easily copy secrets, etc to run my app, ports conflict, I end up with a bunch of separate dbs and services, etc.

Does conductor help with this? Have you all found any useful ways of making this easier or more automated?

shmoogy 2 hours ago||
Conductor has a feature that lets you define a script to copy .env and other things as needed from main repo into new worktrees on creation.

I don't use it much anymore, but last I did I would run into port conflicts with docker projects.

atonse 11 hours ago||||
I was an early user of conductor and used it a lot (like from maybe oct to Jan). But then there was some bug where maybe it wouldn’t release file descriptors or something where my laptop needed to be rebooted twice a day. So I stopped using it months ago.

But I’ve tried to reinstall it since and it just gets stuck in a weird infinite loop.

I liked conductor though. Hope you are able to fix those bugs and I can try again in a few weeks.

BowBun 10 hours ago|||
Howdy, love your product. My coworker and I have literally been begging our coworkers to give it a try. To me, it was the key tool to 'get it' (coming from Cursor) when going from single threaded agentic dev to parallel agentic dev. Please keep up the great work.
Klaster_1 8 hours ago|||
In VSCode, I use https://github.com/jackiotyu/git-worktree-manager for the same purpose - the extension has before create/before destroy WT hooks which you can run anything from. Mine symlinks workspace file from main checkout, installs packages and copies over some files. Very handy.
sbysb 13 hours ago|||
You should check out Ouijit [1] - I use it regularly for work and it's nice because it focuses on the environment that you want, and just gives you a shell that you can use any tooling in, as well as VM isolation per worktree if needed.

[1]: https://github.com/ouijit/ouijit

jdkoeck 13 hours ago|||
No need for any AI-specific tool, this is exactly what devcontainer is for! Just tell your agent to use devcontainer up (and docker compose down the other way).
donmcronald 12 hours ago||
Devcontainers always disappointed me. The sales pitch is that everyone uses the same container, but that's not accurate. Everyone builds a container from the same config and it'll be similar, but it takes a ton of effort to make sure it's identical.

The idea that a devcontainer gets built on-demand instead of checked out like 'docker pull ..." has always felt weird to me. It's so close to being awesome, but ends up being barely useful.

Or maybe I'm wrong. Is there a way to checkout an immutable devcontainer?

TingPing 8 hours ago||
Just specify “image” https://containers.dev/implementors/json_reference/
rtfeldman 18 hours ago|||
> The best at that that I've found is Conductor, but I can't use it at work because we only have Copilot and they're locked to a Claude/Codex backend.

FYI, you can use Copilot directly in Zed!

anthony-eid 16 hours ago|||
We support create git worktree hooks too
saturn_vk 16 hours ago||
Is there an example of this?
jamie_ca 16 hours ago||
The worktree create hook is documented https://zed.dev/docs/tasks?highlight=hook#hooks

And then I guess setting up tasks for the cleanup part, but it'd be great to see that get automated too so I don't need to remember it.

maximilianroos 13 hours ago|||
self-promotion, but check out worktrunk.dev

by far the most popular worktree manager

kippinsula 13 hours ago|||
tried parallel agents for a sprint and bounced off it. the worktree dance is fine, real blocker for us was test data isolation. scoped postgres schemas per branch worked, but reasoning about which agent broke teh shared migration when three of them touch it got old fast. we just run one agent at a time now and go for a walk.
danelliot 15 hours ago||
[dead]
nixpulvis 1 hour ago||
The new default layout is exactly backwards of what I want.

It should go: project tree | text editor | agent view | threads

Not to mention on most laptops you'll only have room for about two panes at a time. So they should be focusing on pane management and making it easy to swap between views. Not highlighting 4 pane workflows. Unless you have an ultra-wide monitor, I'd rather have a separate Agents window.

I use Zed a lot and this is a minor (can be configured) but telling design decision that really bothers me. How long until they decide editing itself isn't worth it anymore? Stop supporting VI mode?

ubercore 59 minutes ago|
Yeah, first thing I did was change all the locations back. I really dislike the automatic layout change they pushed.

Also, watching the change notes, most effort seems to be focused on agents this days, which is a bit worrying. I love Zed because it's great editor that also knows a bit about agents; I don't want it to continue pivoting towards pushing agent management deeper and deeper into the experience.

dayjah 44 minutes ago||
$VC disagrees w/ you on this.

Unfortunately.

Personally, I still pay Zed because I think they’re doing great foundational work. However I’ve now almost entirely migrated to helix for editing needs.

2001zhaozhao 18 hours ago||
It's pretty clear by this point that everyone is going towards parallel agents and worktrees, but TBH I am surprised to see an offering from Zed, seeing how heavy they lean into being editor-heavy and having AI features be strictly optional.

The key advantages Zed has are being agent-agnostic (so not a first party UI like Claude/Codex/Cursor Desktop), supporting multiple repositories on the same agent via creating a worktree for each automatically, and having a high quality custom agent UI rather than wrapping over CLIs (I've used their IDE's agent UI in the past and it's great). AFAIK, this is the first mainstream tool that supports all of these features.

cpill 16 hours ago|
yeah, but they don't support a lot of the features Claude does like MCP integration. we've booked this up to logfire (telemetry provider) and it's a game changer when doing optimisation or diagnosis of bugs. plugins and skills also missing. but it is nice to switch between provider easily
somnium_sn 10 hours ago|||
Little historic sidenote: Zed was the first MCP client next to Claude Desktop
logicprog 10 hours ago||||
The built in agent supports MCPs, as do the agents you can use through ACP that do already.
marton78 6 hours ago||||
This is false. Zed does support skills and also MCP servers.
teaearlgraycold 11 hours ago|||
I’m using MCPs with Claude Code in the Zed UI
jessedelira 12 hours ago||
I tried Zed and was really convinced that I could use it full-time, but the lack of extensions (TODO highlight, TabOut) + other QoL (line number goto as easy as VSCode + tab filter like another comment said).

I also thought it was odd that I can't configure the font size in the git commit message editor.

On recent additions, the dev container integration was great.

Rooting for you Zed!

samhh 5 hours ago|
FYI there is now an extension for TODO highlighting. Not at my machine but it’s something like “comments highlighter”.
qn9n 11 minutes ago||
https://github.com/thedadams/zed-comment
aranw 3 hours ago||
The Parallel agents feature seems to be built around git worktrees or local projects. But I think local project mode defeats the point. In my day to day development workflow I've switched fully to jj and jj workspaces, so this isn't something I'll be using until Zed gets jj support. Also this change ended up with a reshuffled layout I didn't really expect and I can't really figure out how to revert it now
hsaliak 12 hours ago||
I find parallel agents to be an exception rather than a norm. Maybe I’m the problem? For those exceptional cases, opening a few more terminals gets the job done. It’s unclear to me if this needs to be the primary workflow. My brain naturally does better on deep work on one problem..
caterama 11 hours ago||
I am exactly the same, except I am really excited about this update! It’s not so much “in parallel” but being able to easily jump between threads. It allows me to dive into misc investigations in a side thread without derailing some main context where I’m doing the main editing.
hsaliak 2 hours ago|||
I have a coding agent https://github.com/hsaliak/std_slop where the sessions are in SQL ledger. So /session [new, clone, deletes, undo] are supported and all sessions are persistent. Cloning lets you 'fork' the context and undo lets you roll back, basically solving the problem you state above.

Sessions are linear though, so you cant do this _while_ an existing session is cooking.

That said, I am excited about this update too, I've been playing with ACP support and Zed's UX was bare bones. I want to run my agent with multiple workers now, and see what happens.

a012 10 hours ago|||
I also have this workflow, it’s like you’re on the side quests or on the main story; those are not necessarily in parallel
hedgehog 11 hours ago||
I have historically not used them but I want to start so that some of the spin up / tear down work of doing any particular task can happen in isolation. For example, drafting a change before I start editing, checking out and setting up code from a branch before I do a review, etc.
verse 18 hours ago||
I personally don't love the idea of the default layout pushing aside my code and filetree to make space for AI tools

I really like Zed, I use it every day. But, if I'd seen this layout when I first installed, I never would have taken it seriously

I imagine this will push some new users away

rob74 5 hours ago||
Yeah, we are getting to the point where you having a 4K monitor for your editor becomes a requirement rather than a "nice to have". Until now you have the agent, the editor and files/git/whatever, if you add a fourth panel to that, it becomes pretty cramped at lower resolutions. Fortunately, I do have a 4K monitor, but until now I used to have the editor on one half of it and another window (a browser most of the time) on the other half. So having to use the editor full screen is still slightly annoying.

Of course, that's only the default layout. I'm not familiar enough with Zed, but there's probably a way to change it? In JetBrains IDEs, you can configure panels to sit at the top left/bottom left/left bottom/right bottom/bottom right/top right side and show/hide them with one click (if only one panel on the respective side is shown, it will take up the full space). So you could have files at the top left and the agent panel at the bottom left. And the code editor is of course still the "centerpiece" in the middle.

ellieh 18 hours ago|||
> I imagine this will push some new users away

I suspect it will gain them more users than it will lose

Most other tools doing this are heavy, buggy, and built on electron

mjrpes 18 hours ago|||
Luckily it's very easy to change, although a bit unintuitive for new users. You right-click the small icon for each type of panel in the bottom bar, and select where you want it to be docked. Left click toggles the panel into view.
brikym 10 hours ago|||
It will also pull more users in. I don't want to be looking at code. I want more of a codex style app where it's easy to shove all my projects in one place and context switch endlessly.
xpe 16 hours ago||
This was also my first impression. But it seems to me the changes are mostly about swapping what panels dock where (left or right) and maybe some additions/tweaks around the AI panels. On macOS these are still the same:

    ⌘B : toggle the left dock
    ⌘R : toggle the right dock
If you opt-in to the new layout, the panels that used to sit in the left dock are now in the right dock. I will give it a try even for classic coding. One can change what panels get docked where from the settings window.
alimbada 32 minutes ago||
I'll just leave this here (again): https://github.com/zed-industries/zed/discussions/36604
testfrequency 18 hours ago|
Warp launched something similar a week or so ago, but the Zed implementation I find a lot more logical. Will give Zed another try, as I’m overdue for my monthly “maybe I should try this terminal/IDE” itch.
dmix 16 hours ago|
I like Warp but something about it is very opaque and confusing. Maybe it has a learning curve I haven't committed to, or it's just very alpha and evolving often.
dewey 10 hours ago||
Agreed, I exclusively use Warp for server maintenance and ssh'ing into servers, it does that better than Claude itself but the UI is always confusing, especially after their recent changes.
More comments...