# Discord Bot Token (required) DISCORD_BOT_TOKEN=your-bot-token-here # Agent server URL (required) AGENT_URL=http://localhost:8000 # Channel IDs where bot responds to @mentions (JSON array, required) DISCORD_ALLOWED_CHANNELS=["123456789012345678"] # Channel IDs where bot responds to ALL messages (JSON array, optional) DISCORD_AMBIENT_CHANNELS=[] # Default roles for document access (JSON array) DISCORD_DEFAULT_ROLES=["public"] # Request sources-only mode from agent DISCORD_SOURCES_ONLY=false # Rate limiting RATE_LIMIT_USER_SECONDS=30 RATE_LIMIT_GLOBAL_PER_MINUTE=20 # Logging LOG_LEVEL=INFO ENVIRONMENT=development