Skip to main content

Zed

Zed is a minimal code editor crafted for speed and collaboration with humans and AI. Official site: zed.dev

1.1 Usage

  1. Open Zed and run agent: open settings.

  2. Choose OpenAI API Compatible.

  3. Paste your HPC-AI API key into the provider UI.

  4. Zed stores API keys in your OS secure credential storage, not as plain text in settings.json.

  5. Open the settings file directly with zed: open settings file if you want to define the provider metadata explicitly.

  6. The default user settings file is ~/.config/zed/settings.json.

  7. Add a provider entry under language_models.openai_compatible.

  8. Set the custom endpoint to HPC-AI:

    • api_url: https://api.hpc-ai.com/inference/v1

    • available_models[0].name: minimax/minimax-m2.5

  9. If you want a per-project override, use .zed/settings.json in the project root.

Example Config

{
"language_models": {
"openai_compatible": {
"HPC_AI": {
"api_url": "https://api.hpc-ai.com/inference/v1",
"available_models": [
{
"name": "minimax/minimax-m2.5",
"display_name": "HPC-AI Minimax M2.5",
"max_tokens": 128000,
"capabilities": {
"tools": true,
"images": false,
"parallel_tool_calls": false,
"prompt_cache_key": false
}
}
]
}
}
}
}

1.2 References