Skip to content

Conversation

@xipeng-jin
Copy link
Contributor

To improve agent-driven workflows in Zed, this PR introduces a tabbed Agent panel that lets users run multiple agent threads in parallel and switch between them without losing context or scroll position—eliminating blocking when one agent is busy and aligning the Agent panel’s ergonomics with the main editor. See detailed information in the discussion here #42381 (comment).
Here is a short demo

official.agent.panel.tabs.management.mov

Release Notes:

  • Automatically open a new tab whenever you start a new thread (with Zed native agent, external agents like CC, Codex ..) or load a historical chat from history.
  • The tab bar will work as the same way as the normal tab bar in the main editor. It means you are having a cleaner chrome: Tab-bar controls auto-hide unless the Agent panel is focused, reclaiming horizontal space.
  • Tabs track threads via session_id, so each tab remains bound to its underlying conversation (including historical resume).
  • The tab title will be automatically shorten by maximum 20 characters to save more spaces when you have a long title for the inactive tabs (tool-tip shows full text). For the current active tab, it is still showing the full title.
  • The History and Settings view will work exactly as previous.
  • You can edit the tab title by clicking the "Edit Title" in the options drop down menu "...", and the agent panel will show the original title editor on the top. Then you can modify the title, confirm, cancel/go back as you want, plus a new keybinding (EditTitle) added to the default keymaps (Linux/Windows/Mac).

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Nov 10, 2025
@mikayla-maki
Copy link
Member

mikayla-maki commented Nov 10, 2025

Thank you for the contribution, but we're cooking something up on this, stay tuned :D

@xipeng-jin
Copy link
Contributor Author

Hi @mikayla-maki , thank you very much for the feedback. I was acknowledged that from @danilo-leal a few weeks ago this is something your team has been actively working on. I understand you might not accept any PR for this and the reason for this PR is just to check if the team or other people will find useful from this idea.

It would be very helpful if you can share more details about the roadmap around the Agent Panel. I would be very excited to make a contribution here. Thank you!

@danilo-leal
Copy link
Member

Thanks for contributing @xipeng-jin, really appreciate you! We're still ironing out some bits of the design and should get to a more concrete roadmap super soon. You'll probably be able to find it in the form of a public channel notes in Zed. Concurrent agent threads is definitely something we should support and it's being accounted for in this new agent project.

@xipeng-jin
Copy link
Contributor Author

That would be awesome! Really love for using Zed and excited to make Zed even better with the community🎉! Looking forward to hearing any news in the near future! Much appreciate it

@wzulfikar
Copy link

@xipeng-jin thanks for the patch! I wanted to have multitabs too so I incorporated it into my zed (wzulfikar#8).

  • Tab title is animating when the chat is still generating
  • Clicking active tab title will trigger edit title mode
  • Added action CloseActiveThreadTab so I can set cmd+w to close the tab if agent panel is focused
ux-zed-multitabs.mov.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants