# === Server === PORT=3000 # === Letta === # Base URL for Letta API # Dev: http://localhost:8283 # Prod (Docker): http://letta:8283 LETTA_BASE_URL=http://localhost:8283 # Password for Letta server (enables SECURE mode) # Required for production to access via Letta Cloud ADE # Generate with: openssl rand -hex 16 # Leave empty for local development (no auth) LETTA_SERVER_PASSWORD= # === Telegram === # Bot token from @BotFather TELEGRAM_BOT_TOKEN=your_bot_token_here # Webhook URL (for production) # Dev: Use ngrok or leave empty for polling mode # Prod: https://your-domain.com/webhook TELEGRAM_WEBHOOK_URL= # Secret token for webhook verification # Generate with: openssl rand -hex 32 TELEGRAM_WEBHOOK_SECRET_TOKEN= # === Anthropic Proxy === # Base URL for anthropic-proxy # Dev: http://localhost:4001/v1 # Prod (Docker): http://anthropic-proxy:4001/v1 ANTHROPIC_PROXY_URL=http://localhost:4001/v1 # Session secret for anthropic-proxy (32+ char random string) # Generate with: openssl rand -hex 32 ANTHROPIC_PROXY_SESSION_SECRET= # Session ID from OAuth flow (filled after initial setup) # Leave empty initially, will be populated after OAuth ANTHROPIC_PROXY_SESSION_ID= # === LiteLLM === # LiteLLM proxy URL (provides OpenAI-compatible API for Claude) # Dev: http://localhost:4000 # Prod (Docker): http://litellm:4000 LITELLM_URL=http://localhost:4000 # === OpenAI === # OpenAI API key (for embeddings only) # Get from: https://platform.openai.com/api-keys OPENAI_API_KEY=your_openai_key_here # === Database === # Path to SQLite database file # Dev: ./data/assistant.db (relative to project root) # Prod: /app/data/assistant.db (inside container) DB_PATH=./data/assistant.db # === Tool Webhooks === # URL for Letta's Python tool stubs to call back to our handlers # Mac/Windows (Docker Desktop): http://host.docker.internal:3000 # Linux: http://172.17.0.1:3000 (Docker bridge gateway) TOOL_WEBHOOK_URL=http://host.docker.internal:3000 # === Monitoring === # Optional: Netdata Cloud claim token for remote monitoring/alerts # Get from: https://app.netdata.cloud NETDATA_CLAIM_TOKEN= # === Development === # Set to 'development' for verbose logging NODE_ENV=development