Zed 中的并行代理
Parallel agents in Zed

原始链接: https://zed.dev/blog/parallel-agents

Zed的最新版本引入了**并行代理**,允许开发者在一个窗口内同时运行多个AI代理,流畅度达到120fps。新的**线程侧边栏**提供了对代理访问特定文件夹和仓库的控制,并提供监控功能。 此功能强调了一种平衡的AI辅助编码方法——**代理工程**,将AI的力量与人类的工艺结合起来,以实现更高质量的软件。用户可以根据线程混合和匹配代理,跨项目工作,并根据需要隔离工作树。 更新还包括重新设计的默认布局,优先显示代理线程,并使用停靠面板以改善工作流程。虽然可以自定义,但团队鼓励尝试新的布局。Zed旨在提供一个强大而精细的代理大规模使用体验,通过广泛的测试和用户体验迭代构建而成。 并行代理现已在最新的Zed版本中提供,适用于macOS、Windows和Linux。

## Zed 编辑器推出并行代理与工作树 Zed (zed.dev) 因其新的并行代理和工作树实现而备受关注,旨在彻底改变开发者工作流程。此功能允许开发者在编辑器内运行多个隔离的“线程”——本质上是虚拟化环境——非常适合测试和实验。 用户强调 Zed 的优势:不依赖特定代理(与锁定在 Claude/Codex 等特定 AI 后端的竞争对手不同),自动创建工作树以支持多仓库,以及精良的集成用户界面。一位用户成功地使用工作树自动复制数据库进行隔离测试,此功能目前仅次于 Conductor(由于公司限制而无法访问)。 然而,新的布局,优先显示代理线程,收到了褒贬不一的反馈。有些人觉得它直观易用,而另一些人则不喜欢它将代码和文件树推出视野范围,这可能会阻止新用户。尽管如此,许多人仍然对 Zed 有潜力成为编辑器领域的变革者持乐观态度。
相关文章

原文

Zed now lets you orchestrate multiple agents, each running in parallel in the same window. The new Threads Sidebar lets you control exactly which folders and repositories agents can access, and lets you monitor threads as they run.

All of this runs at Zed's famously buttery-smooth 120 fps, with whichever agents you like, and it's all open-source.

The Threads Sidebar offers an overview of all your threads at a glance, grouped by project, so you can:

  • Mix and match agents on a per-thread basis, since Zed lets you choose your agent.
  • Work across projects, with one agent thread reading and writing across repos.
  • Isolate worktrees, when you want to, and decide per thread.

The Sidebar gives you instant access to common operations like stopping threads, archiving them, and kicking off new ones. Even as your workflow grows in complexity, with several projects running multiple agents at once, the Sidebar makes it easy to stay organized as your agents work.

As the Threads Sidebar became our primary way of navigating a project, we reconsidered which panels should sit where. Threads now dock on the left by default, next to the Agent Panel, with the Project Panel and Git Panel on the right.

We think this layout works better for agentic work, keeping agent threads front and center as you move between them. If you prefer a different arrangement, right-click any panel icon in the bottom bar to change its docking position, or adjust it in the Settings Editor. For existing users, the new layout is opt-in.

If you were used to the old layout, we encourage you to give this one a try before switching back. It feels more natural once you've spent a little time with it.

Ask ten different programmers how they use AI, and you can get ten different answers. At one extreme, there's fully giving into the vibes, and at the other extreme, there's disabling all AI features. What we've found works best for crafting high-quality software is somewhere in between: using AI, and also engaging directly with code.

As our co-founder and CEO Nathan Sobo wrote in 2025, "As software engineers, we should measure our contribution not in lines of code generated, but in reliable, well-designed systems that are easy to change and a pleasure to use." That post introduced the term agentic engineering to describe the art of "combining human craftsmanship with AI tools to build better software," and we've recently seen the term grow in popularity.

Parallel agents in Zed are built around that principle. Multi-agent orchestration isn't new, but we believe we've built a great experience for working with agents at scale. We spent days loading the system with hundreds of threads, refining rough edges and polishing corners that developers may never see. We went through several UX iterations and had countless hours of internal discussions. It took us longer, and we won't lie, it drove us a little crazy. But the result feels better for it, and it lets developers do more challenging things with agents, without sacrificing their craft.

Parallel Agents is available in the latest Zed release. You can download Zed, or update to the latest version to get it.

You can open the Threads Sidebar from the icon in the bottom left, or via the keybinding option-cmd-j on macOS and ctrl-option-j on Linux and Windows. We hope you enjoy this new level of control!

Related Posts

Check out similar blogs from the Zed team.


Looking for a better editor?

You can try Zed today on macOS, Windows, or Linux. Download now!


We are hiring!

If you're passionate about the topics we cover on our blog, please consider joining our team to help us ship the future of software development.

联系我们 contact @ memedata.com