import { createFileRoute } from '@tanstack/react-router' export const Route = createFileRoute('/docs/configuration')({ head: () => ({ meta: [ { title: 'Configuration - Paseo Docs' }, { name: 'description', content: 'Configure Paseo via config.json, environment variables, and CLI overrides.', }, ], }), component: Configuration, }) function Configuration() { return (
Paseo loads configuration from a single JSON file in your Paseo home directory, with optional environment variable and CLI overrides.
By default, Paseo uses ~/.paseo as its home directory.
The configuration file is:
You can change the home directory by setting PASEO_HOME{' '}
or passing --home to paseo daemon start.
Paseo merges configuration in this order:
config.json
Lists append across sources (for example, allowedHosts and
cors.allowedOrigins).
Minimal example that configures listening address, host allowlist, provider keys, and MCP:
{`{
"$schema": "https://paseo.sh/schemas/paseo.config.v1.json",
"version": 1,
"providers": {
"openai": { "apiKey": "..." }
},
"daemon": {
"listen": "127.0.0.1:6767",
"allowedHosts": ["localhost", ".localhost"],
"mcp": { "enabled": true }
}
}`}
Voice is configured through features.dictation and{' '}
features.voiceMode, with provider credentials under{' '}
providers.
For voice philosophy, architecture, and complete local/OpenAI setup examples, see{' '} Voice docs.
PASEO_HOME — set Paseo home directoryPASEO_LISTEN — override daemon.listenPASEO_ALLOWED_HOSTS — override/extend daemon.allowedHostsOPENAI_API_KEY — override OpenAI provider keyPASEO_VOICE_LLM_PROVIDER — override voice LLM provider (claude, codex, opencode)PASEO_DICTATION_STT_PROVIDER, PASEO_VOICE_STT_PROVIDER, PASEO_VOICE_TTS_PROVIDER — override voice provider selection (local or openai)PASEO_LOCAL_MODELS_DIR and PASEO_LOCAL_AUTO_DOWNLOAD — control local model directory and download behaviorPASEO_DICTATION_LOCAL_STT_MODEL — override local dictation STT modelPASEO_VOICE_LOCAL_STT_MODEL, PASEO_VOICE_LOCAL_TTS_MODEL — override local voice STT/TTS modelsPASEO_VOICE_LOCAL_TTS_SPEAKER_ID, PASEO_VOICE_LOCAL_TTS_SPEED — optional local voice TTS tuning
For editor autocomplete/validation, set $schema to: