Skip to main content

Core runtime

VariableDescription
VITRUVIAN_PROFILEActive profile selector
VITRUVIAN_MODEL_PROVIDERopenai, anthropic, gemini
VITRUVIAN_MODEL_NAMEModel override
VITRUVIAN_MODEL_MAX_TOKENSAnthropic max tokens override
VITRUVIAN_WORKING_DIRECTORYWorkspace for file operations
VITRUVIAN_MEMORY_CONNECTION_STRINGDurable memory/audit store

Provider credentials

VariableUsed when
OPENAI_API_KEYProvider is OpenAI
ANTHROPIC_API_KEYProvider is Anthropic
GEMINI_API_KEYProvider is Gemini

Discord mode

VariableDescription
DISCORD_BOT_TOKENBot authentication token
DISCORD_CHANNEL_IDChannel to poll
DISCORD_POLL_INTERVAL_SECONDSPoll frequency
DISCORD_MESSAGE_LIMITMax messages fetched per cycle

WebSocket mode

VariableDescription
VITRUVIAN_WEBSOCKET_URLListener endpoint
VITRUVIAN_WEBSOCKET_PUBLIC_URLPublic URL shown to users
VITRUVIAN_WEBSOCKET_DOMAINDomain tag for incoming requests

Operations and posture

VariableDescription
VITRUVIAN_SECRET_PROVIDERExternal secret provider integration

Safety note

Never commit real API keys. Store secrets in secure secret managers and inject at runtime.