> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rixapi.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Zed Editor

> High-performance, open-source modern code editor with a built-in AI assistant. Connects to ePhone AI via the OpenAI-compatible interface.

[Zed](https://zed.dev/) 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](https://zed.dev/) to download and install the version for your system.

## Configure the AI Assistant

Zed is configured via `settings.json`.

<Steps>
  <Step title="Open Settings">
    Press `Cmd/Ctrl + ,` to open the Zed `settings.json` file.
  </Step>

  <Step title="Configure OpenAI-Compatible Interface">
    Add the following to your `settings.json`:

    ```json theme={null}
    {
      "language_models": {
        "openai": {
          "api_url": "https://api.ephone.ai/v1",
          "api_key": "sk-your-api-key"
        }
      }
    }
    ```
  </Step>

  <Step title="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`.
  </Step>
</Steps>

## 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`              |

<Note>
  Zed's AI assistant defaults to the OpenAI interface. By configuring the `api_url`, it seamlessly switches to ePhone AI.
</Note>
