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.
- Open
Droid CLI - Run:
/settings - Edit the settings file:
- macOS / Linux:
~/.factory/settings.json - Windows:
%USERPROFILE%\.factory\settings.json
- macOS / Linux:
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.
- Save the file and restart Droid if needed
Method 2: UI Configuration
- Run
/settingsinside Droid - Select custom-model or add a new custom entry
- Enter this:
- Base URL:
https://api.rygen.io/v1 - API Key: your-rygen-api-key
- Model: your-model-name
- Base URL:
- Ensure the provider is treated as an
OpenAI-compatiblechat completion API - All Done

