Configuration
KULVEX is configured via environment variables in ~/.kulvex/.env. The installer generates this file automatically, but you can customize it.
Core Settings
| Variable | Default | Description |
|---|---|---|
KULVEX_HOME | ~/.kulvex | Installation directory |
KULVEX_ENV | production | Environment (production/development) |
JWT_SECRET | auto-generated | JWT signing secret |
CORS_ORIGINS | http://localhost:9200 | Allowed CORS origins |
Cloud APIs
Configure these in the web dashboard under Settings, or set them in .env:
| Variable | Description |
|---|---|
ANTHROPIC_API_KEY | Claude API key (for cloud reasoning) |
DEEPGRAM_API_KEY | Deepgram API key (for cloud STT fallback) |
Model Configuration
These are auto-configured by the model selector during install:
| Variable | Default | Description |
|---|---|---|
LLAMA_CPP_ENABLED | true | Enable local inference |
LLAMA_CPP_URL | http://kulvex-llama:8090 | llama-server URL |
LLAMA_MODEL_PATH | /models/mnemo-chat.gguf | Path to GGUF model |
LLAMA_MODEL_ALIAS | mnemo | Model alias for API |
GPU_COUNT | auto-detected | Number of GPUs |
Dual GPU
If you have 2+ GPUs, the installer configures a second llama-server for code:
| Variable | Description |
|---|---|
LLAMA_CPP_CODE_URL | Code model llama-server URL |
LLAMA_CODE_MODEL_PATH | Code model GGUF path |
LLAMA_CODE_MODEL_ALIAS | Code model alias |
KULVEX_CHAT_GPU | GPU index for chat model |
KULVEX_CODE_GPU | GPU index for code model |
Owner Identity
Personalize KULVEX with your identity:
| Variable | Description |
|---|---|
OWNER_NAME | Your full name |
OWNER_ALIAS | Short alias (used in voice) |
OWNER_DISPLAY_NAME | Display name in UI |
Messaging Channels
| Variable | Description |
|---|---|
TELEGRAM_BOT_TOKEN | Telegram bot token |
SIGNAL_CLI_URL | Signal CLI REST API URL |
DISCORD_BOT_TOKEN | Discord bot token |
Database
| Variable | Default | Description |
|---|---|---|
MONGODB_URL | mongodb://kulvex-mongo:27017 | MongoDB connection |
License
| Variable | Description |
|---|---|
LICENSE_KEY | Your KULVEX license key |
LICENSE_SERVER_URL | License validation server |