Skills2026年4月6日·1 分钟阅读

Zed — High-Performance Code Editor with AI Built-In

GPU-accelerated code editor written in Rust with native AI assistant, multi-player editing, and sub-millisecond latency. Supports Claude, GPT-4, and local models. 55,000+ GitHub stars.

Agent 就绪

先审查再安装

这个资产需要先审查。复制的指令会要求 Agent dry-run、列出写入项,确认后再继续。

Needs Confirmation · 64/100策略:需确认
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Zed — High-Performance Code Editor with AI Built-In
先审查命令
npx -y tokrepo@latest install 2710f17d-84f9-4dff-9839-5b32a143111d --target codex

先 dry-run,确认写入项后再运行此命令。

TL;DR
GPU-accelerated Rust code editor with built-in AI assistant, multiplayer editing, and sub-millisecond latency. 55,000+ stars.
§01

What it is

Zed is a high-performance code editor written in Rust with GPU-accelerated rendering, a native AI assistant, and real-time multiplayer editing. It achieves sub-millisecond latency for typing and scrolling by rendering directly on the GPU. The built-in AI assistant supports Claude, GPT-4, and local models for inline completions and chat-based code editing. The project has 55,000+ GitHub stars.

Zed targets developers who want the speed of a minimal editor with the intelligence of an AI-powered IDE. It works on macOS and Linux, with Windows support in development.

§02

How it saves time or tokens

Zed's GPU rendering eliminates the micro-lag that accumulates during long coding sessions in Electron-based editors. The native AI assistant provides code completions and chat without switching to a browser or external tool. Multiplayer editing enables real-time pair programming without screen sharing overhead. These performance and integration advantages reduce friction across the entire development workflow.

§03

How to use

  1. Install Zed:
# macOS
brew install --cask zed

# Linux
curl -fsSL https://zed.dev/install.sh | sh
  1. Open Zed and press Cmd+Enter (macOS) to open the AI assistant panel.
  1. Configure your AI model in Settings > AI. Connect Claude, GPT-4, or a local model.
§04

Example

Using Zed's AI assistant for code editing:

# In the AI assistant panel:
'Refactor this function to use async/await instead of callbacks'

# The assistant:
# 1. Reads the selected code
# 2. Generates the refactored version
# 3. Shows a diff preview
# 4. Applies changes on confirmation

# Inline completion:
# Start typing a function and Zed suggests the complete implementation
# based on your codebase context and the AI model

Multiplayer editing works by sharing a workspace link -- other developers join and edit files simultaneously with cursor presence.

§05

Related on TokRepo

§06

Common pitfalls

  • Zed is not yet available on Windows. Windows developers need to use WSL or wait for the official Windows release.
  • The extension ecosystem is smaller than VS Code's. Check if your essential extensions (language support, debuggers) are available before switching.
  • AI features require an API key for cloud models. The free tier of supported providers may have usage limits that affect heavy coding sessions.
  • Always check the official documentation for the latest version-specific changes and migration guides before upgrading in production environments.

常见问题

What makes Zed faster than VS Code?+

Zed is written in Rust with GPU-accelerated rendering, while VS Code runs on Electron (Chromium). This gives Zed sub-millisecond latency for typing and scrolling, compared to the occasional lag in Electron-based editors.

Which AI models does Zed support?+

Zed supports Claude (Anthropic), GPT-4 (OpenAI), and local models. You configure your preferred model in the settings. The AI assistant provides inline completions and a chat panel for longer interactions.

How does multiplayer editing work?+

Share your workspace with a link. Other developers join and edit files in real time with cursor presence, voice chat, and shared terminals. It works like Google Docs for code, without screen sharing.

Is Zed open source?+

Yes. Zed is open source with 55,000+ GitHub stars. The codebase is written in Rust and the rendering engine uses the GPU for performance. Community contributions are welcome.

Can I use Zed extensions?+

Yes. Zed has a growing extension ecosystem for language support, themes, and tools. The extension API is based on WebAssembly for safety and performance. The ecosystem is smaller than VS Code but expanding.

引用来源 (3)
🙏

来源与感谢

Created by Zed Industries. Licensed under GPL/AGPL.

zed — ⭐ 55,000+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产