Zed is a high-performance modern code editor developed by the teams behind Atom and Tree-sitter. It features a built-in AI assistant that supports custom OpenAI-compatible interfaces.
Installation
Visit the Zed website to download and install the version for your system.
Zed is configured via settings.json.
Open Settings
Press Cmd/Ctrl + , to open the Zed settings.json file.
Configure OpenAI-Compatible Interface
Add the following to your settings.json:{
"language_models": {
"openai": {
"api_url": "https://api.ephone.ai/v1",
"api_key": "sk-your-api-key"
}
}
}
Select a Model
In the Zed AI panel (usually in the right sidebar), click the model name and select a model available in ePhone AI, such as gpt-4o.
Key Features
| Feature | Description |
|---|
| AI Chat | Chat with the AI directly in the editor sidebar with full code context awareness |
| Inline Edit | Select code and press Cmd/Ctrl + Enter — the AI will edit the code directly in the editor |
| High Performance | Built with Rust, providing extremely smooth AI responses and editor operations |
Recommended Models
| Use Case | Recommended Model |
|---|
| General coding | gpt-4o |
| Complex logic | claude-opus-4-5-20251101 |
| Fast queries | gpt-4o-mini |
Zed’s AI assistant defaults to the OpenAI interface. By configuring the api_url, it seamlessly switches to ePhone AI.