Every environment variable you can set on a self-hosted Kroos deployment, grouped by area, with defaults.
Kroos reads configuration from environment variables (or a .env file next to the app). Every provider is optional: without a key, Kroos uses its built-in behavior and reports the integration as placeholder in GET /api/status.
Warning
Treat every *_KEY, *_SECRET and *_TOKEN value as a secret. Use your secrets manager in production.
Set production in production (stricter checks, no development shortcuts)
PORT
8787
Website and API port
KROOS_API_PORT
8788
AI host port
KROOS_ROLE
all
all (everything in one process), or one independent service: web (website, accounts, console, organization and admin APIs), api (the AI host) or docs (developer docs and help center, no database)
KROOS_RELEASE
dev
Release identifier reported by /healthz (set by the deploy pipeline)
KROOS_DOCS_CHATBOT_KEY
—
Publishable key for the chatbot on the docs sites when they run as their own service (otherwise fetched from the website)
PUBLIC_BASE_URL
http://localhost:8787
The website host's public address
KROOS_API_BASE_URL
derived
The AI host's public address
KROOS_API_ORIGIN_HOST
—
Extra host name(s) the AI host accepts, comma-separated: the origin name your CDN sends (e.g. api-origin.example.com)
KROOS_DEV_DOCS_URL
<PUBLIC_BASE_URL>/developers
Address of the developer docs (e.g. https://dev.kroos.ai)
KROOS_HELP_URL
<PUBLIC_BASE_URL>/help
Address of the help center (e.g. https://help.kroos.ai)
Claude on Amazon Bedrock. Calls go through the Bedrock Mantle (Messages API) endpoint, so IDs use the anthropic. prefix, e.g. anthropic.claude-sonnet-5-5. Other Bedrock models (e.g. Amazon Nova, us.amazon.nova-2-lite-v1:0) work too, through the Converse API
KROOS_CONVERSE_MAX_TOKENS
10000
Output cap for non-Claude Bedrock models
KROOS_NOVA_GROUNDING
on
Live web search with sources for Amazon Nova 2 answers (US inference profiles); off disables it
Every service answers GET /healthz with 200: JSON ({ "ok": true, "service": "...", "version": "..." }) on the website and docs services, plain ok on the AI host. Add ?deep=1 on the website to also check the database.