Zed Editor

repository·main·Indexed Aug 11, 2026

https://github.com/zed-industries/zed

A high-performance, multiplayer code editor designed for speed and collaboration. Features include Agent Skills, which allow developers to extend agent capabilities via SKILL.md files for task-specific instructions, bundled scripts, and slash commands.

Tokens
255.8K
Snippets
791
Records
1.3K
Agent score
74%

What's inside Zed

  1. Overview of Zed Agent capabilities

    main

    Zed Agent is Zed's native agentic workflow. It operates within the Agent Panel and Threads Sidebar, integrating directly with the editor, project files, terminal, and review surfaces.

    Use Zed Agent when you need an agent to perform the following tasks:

    • Project Awareness: Read and search through your project files.
    • File Manipulation: Edit files directly.
    • Command Execution: Run terminal commands.
    • Tool Integration: Use Zed-managed MCP (Model Context Protocol) tools.
    • Contextual Guidance: Follow specific Agent Profiles, Skills, and Instructions.
    • Visual Feedback: Show code changes within Zed's native review UI.
  2. Overview of AI in Zed

    main

    Zed's AI capabilities are categorized into three primary areas:

    1. Agents: Defines how agentic work is executed (e.g., Zed Agent, External Agents, or Terminal Threads).
    2. Model Access: Defines how Zed connects to language models (e.g., Zed-hosted models, API access, subscriptions, gateways, or local models).
    3. Features: The specific AI workflows available to the user (e.g., Agentic editing, inline edits, edit prediction, or Git assistance).

    Use the AI Quick Start if you have a specific task in mind, or AI by Company if you want to configure a specific provider or subscription.

  3. Overview of GPUI services

    main

    GPUI provides several specialized services to handle common application requirements:

    • Actions: User-defined structs used to map keystrokes to logical UI operations (e.g., implementing cmd-q). See the action module.
    • Platform Services: Methods on app::App to perform system-level tasks like quit the app or open a URL.
    • Async Executor: An executor integrated with the platform's event loop. See the executor module.
    • Testing: The [gpui::test] macro allows for testing GPUI applications. Tests use a TestAppContext to simulate platform input. See app::test_context and test modules.
  4. Overview of Zed AI Agent Tools

    main

    Zed's built-in AI agent uses a set of tools to interact with your codebase, the web, and your terminal. These tools allow the agent to read, search, edit, and execute commands.

    Key concepts for managing tools:

    • Availability: The specific tools available depend on your Agent Profile, the selected model provider, and your Zed version.
    • Permissions: You can configure whether tool actions are automatically approved, automatically denied, or require manual confirmation via Tool Permissions.
    • Customization: To extend the agent's capabilities beyond built-in tools, you can connect MCP servers.
    • Sandboxing: The terminal tool can be subject to OS-level restrictions when Zed Agent sandboxing is enabled.
  5. Overview of code editing features in Zed

    main

    Zed's code editing experience is built on the integration of language servers, AI-powered predictions, and multi-file editing capabilities. The core workflow combines:

    1. Language Servers: Provide the foundation for completions, diagnostics (errors/warnings), and quick fixes based on project types and structure.
    2. Edit Predictions: Suggest multi-character or multi-line changes in real-time as you type.
    3. Multibuffers: Enable simultaneous editing across multiple files using multiple cursors.

    This synergy allows for complex workflows, such as performing a rename refactor via a language server and immediately seeing/editing the impact across all affected files in a multibuffer.

  6. Overview of Zed Business features

    main

    Zed Business is a tier designed for teams requiring hosted AI access with centralized administrative controls. It provides access to hosted AI models and unlimited Edit Predictions for all members with a paid Business seat.

    Key organizational features include:

    • Enforced Data Controls: Administrators can centrally manage settings for AI models, Edit Predictions, Edit Prediction Feedback, and Agent Thread Feedback via the Data & Privacy dashboard. Individual members cannot override these organizational settings.
    • Privacy Protections: Zed is private by default. Prompts are not stored or used for training without explicit opt-in.
    • Data Sharing Control: While data sharing for AI improvement is opt-in for members, administrators have the authority to enforce this org-wide, preventing members from opting in.
    • Role-Based Access: Access is managed through roles including Owners, Admins, Billing Managers, and Members. Billing Managers can manage billing without consuming a paid Business seat or receiving Business AI access.
    • Consolidated Billing: All licenses and AI usage are managed on a single organization-wide invoice.
  7. Overview of running and testing workflows in Zed

    main

    Zed includes four primary systems for executing and inspecting code:

    1. Terminal: A built-in emulator that supports multiple sessions and shell customization. It is the environment where tasks and commands execute.
    2. Tasks: A system for defining and running shell commands. Tasks can access editor context, such as the current file, text selection, or symbols, making them ideal for builds, linting, or repeatable scripts.
    3. Debugger: A built-in debugger that uses the Debug Adapter Protocol (DAP). It supports setting breakpoints, stepping through code, and variable inspection for languages including C, C++, Go, JavaScript, Python, Rust, and TypeScript.
    4. REPL: An interactive execution environment using Jupyter kernels. It allows for inline execution of code selections or cells, supporting languages like Python, TypeScript (via Deno), R, and Julia.
  8. Overview of Zed Extensions

    main

    Zed features an extension system that allows users to add new functionality to the editor. Extensions can be used to provide:

    • Themes: Custom visual styles for the editor UI.
    • Language Support: Syntax highlighting, language server protocol (LSP) integration, and other language-specific features.
    • AI Tools: Integration with various AI models and workflows.
    • Icon Themes: Custom icons for files and directories.
    • Debugger Extensions: Support for debugging different programming languages.
    • Snippets: Code completion templates.
    • MCP Servers: Model Context Protocol (MCP) server integration to extend AI capabilities.
  9. Use existing AI subscriptions in Zed

    main

    If you already pay for an AI service, you can use it in Zed through different integration paths depending on the provider. Some subscriptions act as direct Zed model providers, while others must be used via an External Agent (via ACP) or a Terminal Thread (CLI).

    SubscriptionZed AI featuresExternal Agent via ACPTerminal ThreadNotes
    Zed Pro, Business, or StudentZed-hosted modelsNoNoBilled through Zed
    ChatGPT Plus / ProChatGPT SubscriptionCodex where supportedCodex CLISign in with OpenAI in Zed; separate from OpenAI API keys
    Claude Pro / MaxNo direct Zed LLM provider pathClaude AgentClaude CodeSeparate from Anthropic API keys
    GitHub CopilotGitHub Copilot Chat; Copilot edit predictionCopilot agent where availableCLI where availableRequires Copilot/Copilot Chat auth
    OpenCode Zen / GoOpenCode providerOpenCode agent where availableopencode CLIRequires OpenCode API key; subscription affects available models
    Cursor subscriptionNo Zed LLM provider pathCursor External Agent where availableCursor CLI/TUI where availableUse agent/CLI paths instead of Zed LLM provider settings
  10. Explore AI Features in Zed

    main

    Zed provides several distinct AI-powered workflows:

    • Agent Panel: Used to prompt agents, add context, review changes, and manage active threads.
    • Parallel Agents: Enables running multiple threads across different projects and worktrees.
    • Inline Assistant: Allows for transforming a text selection in place.
    • Edit Prediction: Provides AI-driven completions that you can accept while typing.
    • Git commit generation: Automatically generates commit messages from the Git panel.