Zed

Zed has a built-in agent panel that accepts OpenAI-compatible providers.

Depaza API key
Model

Your key stays in this browser (local storage) and is sent only to depaza.eu. Every config block on this page fills in automatically. Don’t do this on a shared machine.

Do not put your API key in settings.json. Zed asks for keys in the UI, or reads DEPAZA_API_KEY from the environment. Tab (Edit Predictions) stays on Zed’s own model. api_url is the base, without /chat/completions. tools: true is required for the agent panel to edit files.

Configure

Open settings.json with cmd-shift-p → zed: open settings, and add:

Zed settings.json
{
  "language_models": {
    "openai_compatible": {
      "depaza": {
        "api_url": "{{BASE_URL}}",
        "available_models": [
          {
            "name": "{{MODEL}}",
            "display_name": "Depaza {{MODEL}}",
            "max_tokens": 128000,
            "max_output_tokens": 8192,
            "capabilities": {
              "tools": true,
              "images": true,
              "parallel_tool_calls": false,
              "prompt_cache_key": false
            }
          }
        ]
      }
    }
  }
}

Then set the API key in the agent panel (choose the depaza provider), or from the environment:

shell
export DEPAZA_API_KEY={{KEY}}

Open the Agent Panel with Cmd+Shift+A (macOS) or Ctrl+Shift+A (Linux). api_url is the base, without /chat/completions. max_tokens is the context window; max_output_tokens is the reply cap (16384 for advanced).