Skip to content

Installeren

Installeer de Droid CLI:

bash
curl -fsSL https://app.factory.ai/cli | sh

Opmerking

Droid vereist een groter contextvenster. Het wordt aanbevolen om een contextvenster van minimaal 64k tokens te gebruiken. Zie Contextlengte voor meer informatie.

Gebruik met Ollama

Snelle installatie

bash
ollama launch droid

Om te configureren zonder te starten:

shell
ollama launch droid --config

Handmatige installatie

Voeg een lokale configuratieblok toe aan ~/.factory/config.json:

json
{
  "custom_models": [
    {
      "model_display_name": "qwen3-coder [Ollama]",
      "model": "qwen3-coder",
      "base_url": "http://localhost:11434/v1/",
      "api_key": "not-needed",
      "provider": "generic-chat-completion-api",
      "max_tokens": 32000
    }
  ]
}

Cloudmodellen

qwen3-coder:480b-cloud is het aanbevolen model voor gebruik met Droid.

Voeg het cloudconfiguratieblok toe aan ~/.factory/config.json:

json
{
  "custom_models": [
    {
      "model_display_name": "qwen3-coder [Ollama Cloud]",
      "model": "qwen3-coder:480b-cloud",
      "base_url": "http://localhost:11434/v1/",
      "api_key": "not-needed",
      "provider": "generic-chat-completion-api",
      "max_tokens": 128000
    }
  ]
}

Verbinding maken met ollama.com

  1. Maak een API-sleutel aan op ollama.com en exporteer deze als OLLAMA_API_KEY.

  2. Voeg het cloudconfiguratieblok toe aan ~/.factory/config.json:

    json
    {
      "custom_models": [
        {
          "model_display_name": "qwen3-coder [Ollama Cloud]",
          "model": "qwen3-coder:480b",
          "base_url": "https://ollama.com/v1/",
          "api_key": "OLLAMA_API_KEY",
          "provider": "generic-chat-completion-api",
          "max_tokens": 128000
        }
      ]
    }

Voer droid uit in een nieuw terminal om de nieuwe instellingen te laden.