Droid

Droid CLI is a terminal-based AI agent from Factory AI that brings automation and coding assistance directly into your command line. | https://docs.factory.ai/cli

1.1 Usage

Method 1: Settings JSON (Recommended)

Droid supports BYOK (Bring Your Own Key) and custom model configuration via Factory settings.

  1. Open Droid CLI
  2. Run: /settings
  3. Edit the settings file:
    • macOS / Linux: ~/.factory/settings.json
    • Windows: %USERPROFILE%\.factory\settings.json

Add a custom model entry with:

"model": "your-model-name"
"baseUrl": "https://api.rygen.io/v1"
"apiKey": "${RYGEN_API_KEY}"
"provider": "generic-chat-completion-api"

You can replace ${RYGEN_API_KEY} with your actual key if not using environment variables.

  1. Save the file and restart Droid if needed

Method 2: UI Configuration

  1. Run /settings inside Droid
  2. Select custom-model or add a new custom entry
  3. Enter this:
    • Base URL: https://api.rygen.io/v1
    • API Key: your-rygen-api-key
    • Model: your-model-name
  4. Ensure the provider is treated as an OpenAI-compatible chat completion API
  5. All Done

1.2 References