Skip to main content

Overview

Environment variables are the highest-priority configuration source — they override everything in settings.json. Set them in your shell profile, .env file, or container environment.

LLM Provider Keys

VariableDefaultDescription
ANTHROPIC_API_KEYAnthropic Claude API key
OPENAI_API_KEYOpenAI API key (GPT-4, Realtime)
OPENROUTER_API_KEYOpenRouter multi-model gateway key
GOOGLE_API_KEYGoogle Gemini API key
OLLAMA_HOSThttp://localhost:11434Ollama server URL (local models)
FERAL_LLM_PROVIDERollamaDefault provider: anthropic, openai, openrouter, gemini, ollama
FERAL_LLM_MODELllama3Default model identifier
FERAL_LLM_TEMPERATURE0.7Default sampling temperature
FERAL_LLM_MAX_TOKENS4096Maximum tokens per response

Core Settings

VariableDefaultDescription
FERAL_HOME~/.feralRoot directory for all FERAL data (config, memory, logs)
FERAL_BRAIN_PORT9090Brain WebSocket and API port
FERAL_BRAIN_HOST0.0.0.0Brain bind address
FERAL_DASHBOARD_PORT3000Web dashboard port
FERAL_LOG_LEVELinfoLogging level: debug, info, warn, error

Autonomy & Security

VariableDefaultDescription
FERAL_AUTONOMY_MODEhybridstrict, hybrid, or loose
FERAL_SANDBOX_ENABLEDtrueEnable WASM sandbox for skill execution
FERAL_APPROVAL_TIMEOUT30Seconds to wait for user approval before timing out
FERAL_VAULT_KEYOverride vault encryption key (not recommended)

Voice

VariableDefaultDescription
FERAL_VOICE_ENABLEDtrueEnable voice pipeline
FERAL_VOICE_PROVIDERopenai_realtimeopenai_realtime, gemini_live, whisper_local
FERAL_WAKE_WORDhey feralWake word trigger phrase
FERAL_VOICE_LANGUAGEenLanguage code for speech recognition

Vision & Perception

VariableDefaultDescription
FERAL_VISION_ENABLEDtrueEnable vision pipeline (screen + glasses)
FERAL_SCREEN_CAPTUREtrueAllow screen capture for computer-use features
FERAL_VISION_MODELlocalVision model: local (YOLO), openai, gemini
FERAL_VISION_INTERVAL2Seconds between vision frame analysis

Audio

VariableDefaultDescription
FERAL_AUDIO_INPUTdefaultAudio input device name or default
FERAL_AUDIO_OUTPUTdefaultAudio output device name or default
FERAL_AUDIO_SAMPLE_RATE16000Audio sample rate in Hz

Channels

VariableDefaultDescription
FERAL_TELEGRAM_BOT_TOKENTelegram bot token from BotFather
FERAL_SLACK_BOT_TOKENSlack bot user OAuth token (xoxb-)
FERAL_SLACK_APP_TOKENSlack app-level token for Socket Mode (xapp-)
FERAL_DISCORD_BOT_TOKENDiscord bot token
FERAL_FCM_SERVICE_ACCOUNT_PATHPath to Firebase service account JSON
FERAL_APNS_KEY_PATHPath to APNs .p8 key file
FERAL_APNS_KEY_IDAPNs key ID
FERAL_APNS_TEAM_IDApple Developer Team ID
FERAL_APNS_BUNDLE_IDcom.feral.appiOS app bundle identifier
FERAL_APNS_ENVIRONMENTproductionsandbox or production

Hardware

VariableDefaultDescription
FERAL_BLE_ENABLEDtrueEnable Bluetooth device scanning
FERAL_HUP_PORT9091Hardware Unified Protocol WebSocket port
FERAL_HA_URLHome Assistant URL (e.g., http://192.168.1.50:8123)
FERAL_HA_TOKENHome Assistant long-lived access token

Memory

VariableDefaultDescription
FERAL_MEMORY_BACKENDsqliteMemory storage: sqlite, postgres
FERAL_MEMORY_PATH~/.feral/memory.dbPath to the memory database file
FERAL_VECTOR_STOREchromaVector store for semantic search: chroma, qdrant
FERAL_MEMORY_SYNCfalseEnable P2P memory sync across devices

Integrations

VariableDefaultDescription
FERAL_GOOGLE_CREDENTIALSPath to Google OAuth credentials JSON (Calendar, Gmail)
FERAL_SPOTIFY_CLIENT_IDSpotify app client ID
FERAL_SPOTIFY_CLIENT_SECRETSpotify app client secret
FERAL_NOTION_TOKENNotion integration token
FERAL_WHOOP_CLIENT_IDWhoop API client ID
FERAL_WHOOP_CLIENT_SECRETWhoop API client secret
FERAL_OURA_PATOura Ring personal access token

Feature Flags

VariableDefaultDescription
FERAL_PROACTIVE_ENABLEDtrueEnable proactive intelligence engine
FERAL_GENUI_ENABLEDtrueEnable server-driven UI generation
FERAL_DIGITAL_TWINtrueEnable digital twin reasoning
FERAL_COMPUTER_USEtrueEnable computer-use (screen, browser, files)
FERAL_LOCATION_TRACKINGfalseEnable GPS geofencing triggers
Set feature flags to false to disable subsystems you don’t need — this reduces memory usage and startup time.