Skip to content

Configuration

Copy .env.example to .env in console.labyrinthscout.com/.

Server

VariableRequiredDefaultDescription
SCOUT_PORTNo4444HTTP listen port
SCOUT_DATABASE_URLYes*-Postgres URL (*or DATABASE_URL)
DATABASE_URLFallback-Used if SCOUT_DATABASE_URL unset
REDIS_URLNoredis://localhost:6379Events pub/sub and control channel
SCOUT_API_KEYYes-API authentication secret
SCOUT_DASHBOARD_URLNohttp://localhost:4444Link in alert emails

Alerts (optional)

VariableDescription
SCOUT_TELEGRAM_BOT_TOKENTelegram bot for critical alerts
SCOUT_TELEGRAM_CHAT_IDTarget chat id
SCOUT_RESEND_API_KEYResend API for email alerts
SCOUT_ALERT_FROM_EMAILFrom address (default [email protected])
SCOUT_ALERT_TO_EMAILEmail recipient
SCOUT_SLACK_WEBHOOK_URLSlack incoming webhook
SCOUT_DISCORD_WEBHOOK_URLDiscord incoming webhook
SCOUT_TWILIO_ACCOUNT_SIDTwilio account SID for SMS/WhatsApp
SCOUT_TWILIO_AUTH_TOKENTwilio auth token
SCOUT_TWILIO_SMS_FROMApproved Twilio SMS sender
SCOUT_TWILIO_WHATSAPP_FROMApproved Twilio WhatsApp sender
SCOUT_ALERT_SMS_TOSMS alert recipient
SCOUT_ALERT_WHATSAPP_TOWhatsApp alert recipient

Legacy aliases TELEGRAM_BOT_TOKEN, RESEND_API_KEY, ALERT_EMAIL_TO, SLACK_WEBHOOK_URL, DISCORD_WEBHOOK_URL, and TWILIO_* still work.

Tool policy (client-side on agents)

VariableDefaultDescription
SCOUT_BLOCKLISTemptyComma-separated tool names to deny
SCOUT_RATE_LIMIT_MINUTE15Max tool calls per minute per session
SCOUT_RATE_LIMIT_HOUR200Max tool calls per hour per session

Egress filter (client-side on agents)

VariableDefaultDescription
SCOUT_ALLOWED_DOMAINSmerged with builtinsExtra HTTPS hostnames
SCOUT_BASE_URL-Scout URL for reporting blocks
SCOUT_INSTANCE_IDunknownInstance id on egress events

OpenAI proxy mode

VariableDefaultDescription
SCOUT_PROXY_ENABLEDfalseEnable /v1/chat/completions proxy
SCOUT_PROXY_PORT8080Proxy listen port
SCOUT_PROXY_KEY-Bearer token clients must send
LABYRINTH_LLM_ROUTER_URLhttp://localhost:3000Upstream OpenAI-compatible API
LABYRINTH_JUDGE_MODELdeepseek/deepseek-chatJudge model for injection layer 3

Carina-side (on the agent, not Scout server)

VariableDescription
LABYRINTH_ENABLEDtrue to activate integration
LABYRINTH_URLScout base URL
LABYRINTH_API_KEYMust match SCOUT_API_KEY
LABYRINTH_INSTANCE_IDInstance row id in Scout DB

MIT Licensed. Built by VERLOX Ltd.