Claude Code Zed UI #25498
Replies: 29 comments 41 replies
-
Related #24028 personally I think it would be really cool if the editor were decoupled from the agent experience. If I could just plug in Claude Code or whatever else comes out into any editor that supported some common protocol for agents, that would be sweeeet. |
Beta Was this translation helpful? Give feedback.
-
I would like to add to this that the source code for claude-code has been leaked and this could be extremely useful for the zed team to look into for inspiration as claude code really is amazing: https://leehanchung.github.io/blogs/2025/03/07/claude-code/#bootstrap-confidence-interval |
Beta Was this translation helpful? Give feedback.
-
The Claude Code SDK (aka " |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
-
Agreed - but doesn't Anthropic need to include support for Zed as well such that it displays as an option for IDE integration? You can run CC within Zed terminal and it looks pretty, but it has no formal integration, just CC in the zed terminal. Can the Zed team work something out with Anthropic? |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
I would love even a basic version of this as it also means I can leverage my Claude subscription instead of paying for API tokens. What would it take for an MVP release? |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
-
I've gotten a proof of concept working, although it's pretty slow right now. Basically, there are two approaches
I've had to lean on the latter after a lot of mucking about trying the former. (Former should be doable but you need an application ID for oAuth and I didn't want to just clone the Claude Code one. There's probably more to explore here RE sharing credentials with a previously-authenticated Claude Code setup and thereby avoiding the authentication step.) The CLI Docs demonstrate usage of the -P flag, which can provide streaming JSON output. I'm currently working in that direction. If I can get it working reasonably snappily, I'll let y'all know. |
Beta Was this translation helpful? Give feedback.
-
This Neovim plugin might be relevant:
in particular the how it works section and protocol info. |
Beta Was this translation helpful? Give feedback.
-
It would be awesome! |
Beta Was this translation helpful? Give feedback.
-
claude code already have support for vscode. would be awesome to add zed. basic things like share opened file and selected lines and make coding more fun |
Beta Was this translation helpful? Give feedback.
-
Right now I'm continuing the related discussion here: I think it's a relatively complex add for core (especially from an unknown developer like me) but it wouldn't require nearly as much change to add the ability to do this as an extension. Mainly we need a way to add an agent to the agents dropdown in the panel. (And route the conversation / express capabilities like tool use etc. ...not nothing but I think it's relatively constrained and there is lots of example code already from the existing implementations.) |
Beta Was this translation helpful? Give feedback.
-
So correct me if im wrong. What your pushing for is to allow another agent in zed. At this rate how do you expect the company to successful financially?. You would rather pay $100 to anthropic to use their agent while giving zed $0 per month. Why not we contribute to making zed's agent better than claude code so you pay one agent provider? If im missing anything lemme know. |
Beta Was this translation helpful? Give feedback.
-
This has been bothering me as well. It's a good question and I don't know of a clear answer. But it seems pretty clear from the many other agents that have been (and keep getting) added to Zed that this is not a blocker for Zed leadership. |
Beta Was this translation helpful? Give feedback.
-
Looks like Zed team has been busy: #33180 (comment). 😉 It's based on the Gemini CLI for now, but appears to be well positioned to allow for more integrations in the future, including Claude Code, assuming it takes off. 👍 |
Beta Was this translation helpful? Give feedback.
-
NOW The claude-code-zed now supports basic functionality: (@Kaligraphy247)
🚧 Limitations
|
Beta Was this translation helpful? Give feedback.
-
hey nice work! do u know when it's going to be integrated? |
Beta Was this translation helpful? Give feedback.
-
This and a better completions model and i'd completely drop Cursor for you guys |
Beta Was this translation helpful? Give feedback.
-
I love Zed and want it to succeed. But as a developer, I’ll always choose the best tool for the job — right now, that happens to be Claude Code for me, but in two weeks it might be something else. This is exactly why I believe supporting multiple agent providers including CLI's is crucial. Even if some aren’t part of Zed Pro subscription today, that could change in the future (different affiliate models, licensing, etc.), and it would be short-sighted to ignore the need for a flexible multi-agent setup. What makes Zed stand out — and could become its killer feature — is its ability to aggregate the entire conversation into layer of clear and transparent summary of changes . This is huge. It shifts the paradigm from “accepting every small incremental update” to “accepting an entire coherent set of changes” which is very powerful for code review and transparency. And adding an option to accept all changes + manual tweaks at the end to its own commit directly would be a sweet cherry on top. If Zed could extend this into an isolated layer for multi-agent usage, it would be transformative. We wouldn’t need to juggle multiple worktrees or branches when using multiple agents — instead, we could seamlessly leverage them in a single workflow while Zed handles each conversation aggregations. This would make multi-agent workflows much more practical and open the door to entirely new ways of working. |
Beta Was this translation helpful? Give feedback.
-
Does anyone know why https://github.com/jiahaoxiang2000/claude-code-zed was archived? |
Beta Was this translation helpful? Give feedback.
-
It appears this is coming. |
Beta Was this translation helpful? Give feedback.
-
Related request: anthropics/claude-code#6686 |
Beta Was this translation helpful? Give feedback.
-
I installed the official zed acp for claude-code https://www.npmjs.com/package/@zed-industries/claude-code-acp and added the following to settings.json to get it working
Direct integration is obviously better, but had got used to seeing the terminal with https://github.com/jiahaoxiang2000/claude-code-zed (RIP) so I guess will take some time to adjust and see improvements in the workflow. |
Beta Was this translation helpful? Give feedback.
-
@abishekmuthian I doubt that that is an official package, there is no reference to the source for example. In addition to that there is activity in this repo on what looks like official, native support: https://github.com/zed-industries/zed/blob/main/crates/agent_servers/src/claude.rs Edit: it could actually be official as they too reference that NPM package: https://github.com/zed-industries/zed/blob/main/crates/agent_servers/src/claude.rs#L18 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be absolutely killer if you guys were able to move claude code into the assistant panel.
I know it's a terminal interface so it already works with Zed but handling all of these changes via a terminal versus through the editor where you can easily make fine tuned edits would make a large difference in my opinion.
It doesn't seem to be open source so it may not be feasible but I wanted to throw this idea out there anyways.
Beta Was this translation helpful? Give feedback.
All reactions