文章摘要
Zed编辑器推出并行代理功能,允许在同一窗口同时运行多个代理线程,并新增了线程侧边栏来管理这些并行任务,提升开发效率。
文章总结
Zed博客:并行代理功能正式上线
核心功能亮点
多线程并行处理
Zed现支持在同一窗口并行运行多个代理程序。全新推出的"线程侧边栏"可精确控制代理访问的文件夹和代码库范围,并实时监控线程运行状态。所有操作均保持Zed标志性的120帧/秒流畅体验,并全面开源。智能工作区管理
- 支持为每个线程单独配置不同AI代理
- 跨项目协同处理能力
- 灵活的工作树隔离选项
- 侧边栏集成线程停止、归档等快捷操作
全新默认布局
采用左线程面板+右项目/Git面板的优化布局,突出代理工作流。用户可通过底部栏右键菜单或设置编辑器自定义面板位置,老用户可选择保留原有布局。
设计理念
Zed团队提出"代理工程学"概念,强调人类开发者与AI工具的协同创作。经过数月迭代和压力测试(模拟数百线程并发),该系统实现了: - 精细化的多代理编排 - 保留手工编码的创作体验 - 经优化的极端场景稳定性
获取方式
该功能已随最新版本上线,用户可通过官网下载或更新获取。快捷键支持:
- macOS: option-cmd-j
- Linux/Windows: ctrl-option-j
(注:原文中的团队介绍、相关博文推荐、招聘信息等非核心内容已精简,完整版可查看官网博客)
评论总结
评论内容总结:
1. 对Zed的积极评价
观点:用户认为Zed功能强大、速度快,且AI集成体验良好。
- 引用1:"Zed is probably the best text editor in the last 10 years... insanely powerful and capable out of the box."(作者:giancarlostoro)
- 引用2:"Its LLM integration so far has been a lot more pleasant than what I see in others... the editor is perfectly usable without using LLMs."(作者:gherkinnn)
观点:用户喜欢Zed的多线程工作树(worktree)功能,认为其生命周期钩子(lifecycle hooks)是游戏规则改变者。
- 引用1:"The real gamechanger is (a) parallel threads in worktrees, with (b) enough lifecycle hooks to treat them similarly to spinning up a VM."(作者:jamie_ca)
- 引用2:"Supporting multiple repositories on the same agent via creating a worktree for each automatically... this is the first mainstream tool that supports all of these features."(作者:2001zhaozhao)
2. 对Zed的批评与担忧
观点:部分用户对新布局(如右侧项目面板、AI工具占用空间)感到不适应,认为可能影响新用户体验。
- 引用1:"I'm having a hard time adjusting to the Project Panel on the right... seems like they're trying to bury the concept of a 'file'?"(作者:sync)
- 引用2:"If I'd seen this layout when I first installed, I never would have taken it seriously... this will push some new users away."(作者:verse)
观点:用户对Zed转向AI集成表示失望,认为其偏离了最初的“协作编辑”或“纯手工编码”理念。
- 引用1:"Yesterday, I determined to move to Zed because they weren't pushing this stuff :("(作者:jotato)
- 引用2:"I remember when Zed's main thing was 'collaborative' editing. Not as profitable as AI I suppose."(作者:fishgoesblub)
3. 与其他工具的比较
观点:用户认为Zed在并行代理和工作树实现上优于其他工具(如Warp、Conductor等)。
- 引用1:"Warp launched something similar... but the Zed implementation I find a lot more logical."(作者:testfrequency)
- 引用2:"The best at that that I've found is Conductor, but I can't use it at work... If Zed can hook that up and also keep its great editor roots, that'll definitely be a game changer."(作者:jamie_ca)
观点:部分用户仍偏好传统终端或编辑器(如Neovim、VS Code),认为Zed在某些方面(如TypeScript支持)表现不佳。
- 引用1:"Just opened nvim with lazyvim and it feels nice... since I'm in terminal anyway it just feels more natural."(作者:lfx)
- 引用2:"The way it interfaces with the TypeScript language server is dog slow compared to VS Code."(作者:tengbretson)
4. 对未来的期望
- 观点:用户希望Zed能保持编辑器核心优势,同时完善AI功能。
- 引用1:"I hope someday they get the funding they deserve... it has insane potential."(作者:giancarlostoro)
- 引用2:"What I want is a stateful file-writing layer that is aware of all clients... prevents agents from overwriting each others work."(作者:danielvaughn)
总结:
Zed因其速度、多线程工作树和灵活的AI集成获得好评,但新布局和AI优先策略引发部分用户不满。与传统工具(如Neovim、VS Code)相比,Zed在特定场景下表现突出,但仍有优化空间(如TypeScript支持)。未来需平衡编辑器核心功能与AI创新以满足多样化需求。