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 dry-run、列出写入项,确认后再继续。
npx -y tokrepo@latest install 2710f17d-84f9-4dff-9839-5b32a143111d --target codex先 dry-run,确认写入项后再运行此命令。
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.
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.
How to use
- Install Zed:
# macOS
brew install --cask zed
# Linux
curl -fsSL https://zed.dev/install.sh | sh
- Open Zed and press
Cmd+Enter(macOS) to open the AI assistant panel.
- Configure your AI model in Settings > AI. Connect Claude, GPT-4, or a local model.
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.
Related on TokRepo
- AI Tools for Coding — Compare AI code editors and coding assistants
- AI Tools for Automation — Development automation tools that integrate with code editors
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.
常见问题
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.
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.
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.
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.
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)
- Zed GitHub— Zed is a GPU-accelerated code editor with 55,000+ stars
- Zed Documentation— Rust-based rendering with sub-millisecond latency
- Zed AI Features— Native AI assistant with Claude and GPT-4 support
来源与感谢
Created by Zed Industries. Licensed under GPL/AGPL.
zed — ⭐ 55,000+
讨论
相关资产
Zed — High-Performance AI Code Editor
GPU-accelerated editor built in Rust with multiplayer editing and built-in AI assistant. By the creators of Atom. 78K+ stars.
Envoy Proxy — Cloud-Native High-Performance Service Proxy
Envoy is a cloud-native high-performance edge, middle, and service proxy. Originally built at Lyft, now a CNCF graduated project. The data plane behind Istio, AWS App Mesh, and many service mesh implementations. Written in C++ for maximum performance.
Gatling — High-Performance Load Testing for Web Applications
Gatling is an open-source load and performance testing tool for web applications, built on Scala and Akka, that generates detailed HTML reports from code-defined test scenarios.
Apache APISIX — Cloud Native High-Performance API Gateway
Apache APISIX is a dynamic, real-time, high-performance API gateway built on NGINX and etcd, offering rich traffic management with a large plugin ecosystem and sub-millisecond routing updates.