Configuration
Customize Movesia's behavior and preferences.
Movesia can be configured through the app's settings page, environment variables, and Unity project settings.
Movesia Settings
Open Movesia's Settings page to see all available options.
| Setting | Default | Description |
|---|---|---|
| API Key | — | Your OpenRouter API key |
| Model | anthropic/claude-sonnet | The AI model to use |
| WebSocket Port | 8765 | WebSocket port for Unity connection |
| Auto Connect | true | Automatically connect to Unity on startup |
Environment Variables
You can also configure Movesia via environment variables:
bash
# API key (alternative to app setting)
export OPENROUTER_API_KEY="your-key-here"
# Auth server URL (for self-hosted instances)
export MOVESIA_AUTH_URL="http://localhost:3000"Model Selection
Movesia supports different Claude models through OpenRouter. You can change the model in Movesia's settings:
The default model. Best balance of speed and capability for most Unity development tasks.
json
"movesia.model": "anthropic/claude-sonnet"Unity Project Settings
In Unity, go to Edit > Project Settings > Movesia to configure:
- WebSocket Port — The port used for Movesia communication
- Auto-start Server — Whether to start the WebSocket server when Unity opens
- Log Level — Verbosity of Movesia logs in the Unity Console
Settings Sync
If you change the WebSocket port in Unity, make sure to update the corresponding setting in Movesia to match.
Was this page helpful?