AI & LLMs · Guide · AI & Prompt Tools
How to Use Zed's AI Agent
Generate and edit code inline by turning on Zed's AI Agent Panel. Configure any provider and use Edit Predictions for free, instantly, with no sign-up required in your browser.
Zed is a high-performance open-source editor written in Rust, and its Agent Panel turns it into a full AI coding workspace backed by Anthropic’s Claude models.
Advertisement
Zed started life as a GPU-accelerated successor to Atom, built by the same team. In 2025 it shipped the Agent Panel, Edit Predictions, and multiplayer collaboration, putting it in direct competition with Cursor and Copilot while staying fully open source under a GPL/Apache mix.
What it is
Zed is a native desktop editor (macOS, Linux, Windows preview) that renders through its own GPUI toolkit. The Agent Panel is a chat pane wired into your workspace: it can read files, run shell commands, and apply multi-file edits through tool calls. Edit Predictions is an inline model (Zeta) that proposes the next edit as you type. Collaboration mode shares buffers and terminals in real time.
Install / sign up
# macOS brew install --cask zed # Linux curl -f https://zed.dev/install.sh | sh # Sign in via GitHub at https://zed.dev # Optional: add your own Anthropic / OpenAI key in Settings
First session
Open a project folder, then hit cmd-? (or ctrl-?) to toggle the Agent Panel. Pick a model — Claude Sonnet is the default — and type a request. The agent will propose a diff you can accept hunk-by-hunk.
$ zed ~/code/my-app # cmd-? opens Agent Panel > refactor src/auth.ts to use async/await and add tests # Zed shows a diff, you hit cmd-enter to apply
Everyday workflows
- 1. Ask the agent to add a feature — it edits multiple files and runs the test command.
- 2. Drop files or symbols into the chat with @ to scope context precisely.
- 3. Use Edit Predictions (tab to accept) for line-level completions while the agent handles larger tasks.
Gotchas and tips
The built-in Zed hosted plan gives you a monthly Claude quota; heavy users should plug in their own API key under Settings ’ AI to avoid throttling. Rules files (.rules at the project root) steer the agent — keep them short and specific.
Windows support is still preview, so expect rough edges around PTY and file watching. Collaboration requires everyone to be signed in and on the same Zed version.
Who it’s for
Developers who want Cursor-class agent features inside a fast, native, open-source editor, and teams that value real-time pair-programming without leaving their IDE.
Use these while you read
Tools that pair with this guide
- System Prompt BuilderCompose a focused system prompt from a role, tone, constraints, and output format — copy-ready for any LLM.AI & Prompt Tools
- AI Prompt GeneratorTurn a vague idea into a structured prompt. Pick role, task, context, constraints, and output format. Works with ChatGPT, Claude, and Gemini.AI & Prompt Tools
- AI Token CounterEstimate tokens, characters, words, and approximate API cost for GPT-4o, GPT-4, Claude, and Gemini — before you hit send.AI & Prompt Tools
- AI Prompt LibraryBrowse a curated catalog of prompt templates for writing, coding, marketing, and research. One click to copy.AI & Prompt Tools
Advertisement
Continue reading
- AI & LLMsGitHub Copilot Pricing and ComparisonCompare free vs paid GitHub Copilot tiers and analyze it against ChatGPT, Cursor, and Tabnine. Find the best value plan instantly with this free online guide.
- AI & LLMsGitHub Copilot Features and CapabilitiesTest what Copilot really does — code accuracy, scope limits, debugging, web dev, legacy code, tests, docs, team customization. Free guide, no sign-up.
- AI & LLMsGitHub Copilot Security and Data HandlingAudit where your code goes, who sees it, training-data policy, network needs, and what happens when Copilot suggests broken code. Free, no sign-up.
- AI & LLMsAI Fluency SkillsThe 8 sub-skills of AI fluency: prompt structure, model selection, tool use, quality calibration, iteration, context management, cost awareness, privacy.
- AI & LLMsAnthropic Skills ExplainedSkills as Anthropic's answer to Custom GPTs — markdown-defined, version-controlled in git, work in terminal. Anatomy + Skills vs Custom GPTs.
- AI & LLMsKimi K2 vs DeepSeek V3Two open-weight Chinese flagships. Kimi K2 = 1M context, DeepSeek V3.2 = top-tier reasoning + coding. Pick by use case.