r/ZedEditor

Agents in Zed

honstly, i really like Zed
However, there's one thing it's missing. When I ask the AI agent to modify something, it immediately applies the changes without for my approval first

In cursor IDE, on the other hand, it ask you to approve each block of code before applying it. I actually prefer that workflow becuase it lets you clearly see what was changed, and how it was changed

With Zed, everything happens behind the scenes and it only shows you the final result

is there any way to get the same approval workflow in Zed?

Zed:

Zed

Cursor:

Cursor

reddit.com
u/Infinite_Love5352 — 21 hours ago

Added Antigravity provider support to Zed.

Hi. I'm not really knowledgeable with rust in any facet. So, funny enough; I had Zed vibe code Antigravity provider support for itself. I used this opencode plugin as reference, and at least from my tests (~2-3 hours of total work); all the models seem to work fine.

It can be added from the same LLM providers page in settings, I neglected to show it because I do not want to show my linked email(s).

If this is something that interests you, here is my fork of the project. Star it maybe, numbers make me happy.
https://github.com/kevinbudz/zed-agy

I'll try and update it semi-regularly in the event of file conflicts. I will also update this post, and probably make a new post if I add support for Cursor, too. I am aware it has ACP support and you can open up a 'New Cursor Thread'. But, that option also prevents you from using models from other providers if you were to, let's say- use 3.5 Flash on your Antigravity sub for planning, then something like Composer 2.5 for acting, etc..

Anyways, bye now!

—- !!!
Integrations like this are against Google’s TOS and can get you blacklisted from Antigravity.

(I have been using the OpenCode plugin this project is based off of for several months without issue. But, that doesn’t mean it’s 100% safe)

u/frungygrog — 22 hours ago

made my first gpui project :)

https://preview.redd.it/h3sopg9tndbh1.png?width=1824&format=png&auto=webp&s=a0138801464247967b2d8b6a247c0460da25d647

i love zed's UI, so i wanted to create an app with similar look & feel.
Coincidentally, that's my first experience with GPUI and Rust :)

the app

Originally, i made it for myself to speed up my video editing workflow, and current solutions can't match my needs, later i decided why not share it

dev process

Not pleasant. No comprehensive docs, only examples and some unofficial tutorials.
Boilerplatey? yes, absolutely!
Edgecases? absolute abundance!

For example: drag-n-drop (same bug in zed btw). Sometimes, when you are trying to drop something into zed's panel, it starts flickering back-and-forth as you move the cursor. Same issue happened in my app — the cause was the library sending wrong (synthetic) coordinates, where it thought cursor is at.

But on the good side of things, i have decent performance and low ram usage.

Link: https://github.com/LowkeyEditing/lowcat

reddit.com
u/OffeeX — 19 hours ago

Zed Feedback

Hi there,

I want to share a piece of feedback regarding the Zed editor that is currently preventing me from using it as my primary editor.

I love absolutely everything about it, but there is one major blocker: when I run it from the command line to open a file or folder (e.g. zed ., it does not open in a new window but instead replaces the existing window.

I have found that doing this occasionally causes me to lose unsaved scratch files and other session data from the previous window.

This issue is disruptive enough that I have had to switch back to VS Code. Often during the day, I will open four or five different workspaces in my editor and tile them side by side to monitor different projects at the same time. It just seems like Zed isn't built for this right now.

Is there an existing setting that I have missed, or if not, please could we implement an option or something in the future, to change this behaviour?

Edit: Thank you all. This was the one thing keeping me on VSCode

reddit.com
u/nfrmn — 1 day ago

Is there any way for me to see what changes an agent would make before accepting them?

Right now I feel blind, even cli harnesses show me what they are about to do before I press accept, but I find this functionality to be missing from Zed.

reddit.com
u/OneMoreName1 — 1 day ago

Keychain issue on Windows when adding LLM Provider

So I'm trying to set up a very simple agent with the model running using llama-server but I keep running into this "Failed to write API key to keychain" error every single time.

I tried adding the keys in system environment variables (OPENAI_API_KEY, AMAZING_LOCAL_PROVIDER_API_KEY) but none of them seem to bypass that error. I configured the prediction part which is picking up the API Key properly but it doesn't predict anything, the requests don't actually seem to reach the server.

I verified the server is working fine by heading to localhost:8080 and chatting there.

Here's the command for llama-server if that's relevant

.\llama-server.exe -m "C:\Misc\Models\Ornith-1.0-9B-MTP-Q4_K_M.gguf" --n-gpu-layers 99 --ctx-size 8192 --flash-attn on --jinja --spec-type draft-mtp --spec-draft-n-max 3

I tried with Ollama and that's working fine, but I am more interested in running it via OpenAI Compatible API.

The checkboxes checked (cropped in the image) are Supports tools and Supports thinking. Tried unchecking and stuff but no dice.

RESOVLED: Credential Manager hit a limit in the no. of credentials it can store. Deleted one old useless cred and tried it again, works fine now.

u/BakaPotatoLord — 1 day ago
▲ 124 r/ZedEditor+4 crossposts

Most of my workflow already lives in Neovim — code, prose, notes, scratchpads. The piece that always lagged was querying the notes. Plenty of tools let me grep them; almost none let me ask things like "all the drafts under tasks/q2 that link to people/alice" without leaving the buffer.

Turns out you can. IWE is a Rust binary (LSP server + CLI) that treats a directory of .md files as a queryable graph. Install once, use it from the editor over LSP and from the shell over :!.

The query language is small and reads like Mongo's:

iwe find --filter 'status: draft, priority: {$gte: 8}'

iwe find --filter 'author.email: {$exists: true}'

Frontmatter is the schema. Markdown links are the relationships — and there are two kinds, which the engine actually distinguishes:

  • An inline link in body text is a reference: "see also."
  • A markdown link alone on its own line is an inclusion link: containment. The linked document becomes a structural child of this one.

Each gets its own pair of operators:

iwe find --references people/alice # docs that link to Alice inline
iwe find --included-by tasks/alpha:0 # everything under alpha's tree (unbounded)
iwe find --included-by tasks/alpha:0 --references people/dmytro --filter 'status: draft'

That last line: drafts under the tasks/alpha subtree that also mention people/dmytro inline. Three relationships, three flags.

The same predicates drive iwe count, iwe update, iwe delete. Bulk-set frontmatter from the shell:

iwe update --filter 'status: draft, reviewed: true' \
--set status=published \
--set published_at=2026-05-02

update and delete require an explicit --filter (no accidental whole-corpus rewrites). --dry-run previews.

From inside Neovim, this composes two ways.

The same iwe binary is also a markdown LSP server, so the editing side feels like working in code:

  • gd — jump to linked notes
  • gr — find references / backlinks
  • K — hover preview of a linked note without opening it
  • Code actions for extract section to a new file, inline a referenced note, rename
  • Auto-complete for link targets as you type
  • Inlay hints showing parent context and link counts

There's a dedicated plugin — iwe.nvim — that wires the LSP up and adds Telescope integration with hierarchical path search (notes show as Journal ⇒ 2026 ⇒ Week 18 ⇒ Mon notes). Lazy / packer / vim-plug all work.

For querying, you don't need a special integration — the CLI is enough:

  • Output is plain text — pipe to jq, fzf, telescope, whatever.

Same install handles both: cargo install iwe and you have the LSP server + the CLI. The LSP runs against any folder of .md files; the CLI queries the same folder.

Side note: this also turns out to be a decent shape for AI agents. They use the same CLI you do, see the same files, and git log is your audit trail for whatever they touch.

Repo: https://github.com/iwe-org/iwe · Plugin: https://github.com/iwe-org/iwe.nvim

Curious what the heavy notes-in-Neovim crowd thinks, especially on the inclusion-vs-reference link split.

u/gimalay — 2 days ago
▲ 0 r/ZedEditor+1 crossposts

Base keymaps in zed

Hello everyone,

I'm new to this community and I downloaded zed since vscode is deemed slower and also bc zed just looked cooler 😎

Which base keymap should I choose as a beginner pls help🙏

reddit.com
u/Unable-Speed152 — 1 day ago

Neovim/Emacs user here: Help me understand the appeal of Zed

I’ve been keeping an eye on Zed for a while, but I honestly just don't get who it's for or what problem it actually solves.

Whenever I see people praising it, I keep coming back to the same thoughts. If it's about performance, Neovim on LuaJIT is already ridiculously fast and uses a fraction of the RAM of any GUI editor.

If it's about being "easy to use" or out-of-the-box, you can just grab a distro like LazyVim or NvChad. You get LSPs, treesitter, and a nice UI in 5 seconds without leaving the terminal.

And if it's about IDE features and deep customization, Emacs just beats everything else. You can mold it into literally whatever you want.

So what am I missing here? I'm trying to understand the trade-off. Giving up the insane extensibility of Lua or Elisp is a big deal, so what does Zed offer that makes it worth it?

If you actually migrated from Neovim or Emacs to Zed, what exactly made you stick with it?

reddit.com
u/[deleted] — 2 days ago
▲ 116 r/ZedEditor

Thank you Zed

I have been a subscriber to Jetbrains since last 8 years. And I always wanted to have an alternate solution. Neovim/Lazyvim made me confident but that's a TUI that needs quite a bit of config before all pieces work together. I needed something that was straight up easy, just as performant (my main pet peeve with Jetbrains tools other than price), supported debugging, multiple panes, easy enough UI etc.

My projects are usually monoliths and memory consumption in VS code made my laptop cry.

Zed fixed all of those. Every single thing except the easy "refactor" in Goland, which I had stopped using because I got better at designing things from the ground up.

So again, thanks for the editor and thank you for keeping it free.

Edit: My card got renewed, and I knew it would fail automatically, so didn't bother cancelling the subscription manually.

u/Critical-Personality — 3 days ago

Can Ollama use Zed's configured MCP tools?

I configured ollama and an mcp successfully but can't seem to get the ollama agent to use the tools. Green checkmark on the mcp service connection and ollama responds with qwen2.5-coder:7b

reddit.com
u/TheJoYo — 2 days ago

Zed does not open the current version of files

I edit one source file externally and when I double click that file in zed, what's opened is the version before my edit.

I double checked with vi and many tools and I can confirm the files have been edited and saved to disk.

This is not only annoying but dangerous. If you open the file and click cmd+s it immediately overwrites the current version. I'm not sure if I am the only one experiencing it.

reddit.com
u/yuhang94 — 3 days ago

copilot github cost

does using github copilot from my company will have more cost if integrated with zed then having it on vscode or copilot cli?

if this make no sense just ignore, or say that i am stupid, but say why, thank you!

reddit.com
u/Outside-Archer7563 — 2 days ago

Zed is silently accumulating a massive Node cache on macOS - anyone else seeing this?

About two weeks ago, I manually cleaned up nearly 10 GB of Zed's Node cache on macOS.

Today I checked again, and it's already back up to around 4 GB with nearly 88,000 files from normal usage.

I dug into it a bit and opened an issue with some findings here (couldn't paste the link), but issue #59409

Curious if anyone else is seeing similar cache growth over time, or if this is specific to certain workflows/plugins.

reddit.com
u/arcanist02 — 6 days ago