servflowai start --config.
This page is the complete reference for that file. For installing the binary see Installation; for what an agent is, see Agents.
Minimal configuration
Onlyserver.config_folder is required. Everything else has a working default:
[server]
Controls how the process is hosted. One port serves everything. Agent paths are served from the root, so an agent listening on /ask answers at http://localhost:8080/ask. The dashboard is under /dashboard on the same port.
[sqlite]
Where ServFlow keeps agents, integrations, providers, secrets, workspaces, and user accounts.
When
master_key is set, stored secrets, integration credentials, and provider API keys are encrypted. Set it before you store any credentials.
[secrets]
Controls where {{ secret "name" }} resolves from at runtime.
By default, ServFlow checks an environment variable whose name exactly matches the secret name before it checks the stored secret of that name. Set
disable_env = true on a shared or hosted instance so workflows and agent tools cannot read the instance’s own environment variables through {{ secret }}.
[authentication]
Controls how the dashboard and management API are gated.
mode defaults to local. A config file that omits this section is still gated — the first time you open the dashboard you are asked to create an account. See First run.
[tracing]
OpenTelemetry tracing for debugging workflow and agent runs.
Tracing can also be configured during first-run setup.
Complete example
Environment variable overrides
Environment variables always win over the TOML file. This keeps secrets out of configuration files and lets one image serve several environments:Secrets from environment variables
A secret is looked up by name each time it is used. By default, an environment variable whose name is exactly the secret’s name, with no prefix and no change of case, is used before the stored secret of that name. A name that matches neither gives an empty value, not an error. Set[secrets].disable_env = true to skip environment lookup completely.
Viewing the active configuration
To see the settings an instance actually resolved, including defaults and environment overrides:Next steps
Installation
Install ServFlow and create your first account.
Secrets
Store a credential once and use it by name.
Agents
Learn the object model your configuration serves.