Skip to main content
ServFlow is an agent builder: you define AI agents and the workflows they run, and a Go engine serves them. The instance itself — ports, storage, authentication, tracing — is configured with a single TOML file passed to servflow-pro start --config. This page is the complete reference for that file. For installing the binary see Installation; for what an agent is, see Agents.
Every option can also be set with an environment variable. Environment variables take precedence over the TOML file, which makes them convenient for containers and CI.

Minimal configuration

Only server.config_folder is required. Everything else has a working default:
Start the instance with:

[server]

Controls how the process is hosted. One port serves everything. The workflow engine owns the root path, so a workflow listening on /hello answers at http://localhost:8080/hello. When you pass --dashboard, the builder UI is mounted under /dashboard on this same port — there is no second port.

[sqlite]

Persistent storage for agents, workflow configs, secrets, integrations, and user accounts.
Never commit master_key to version control. Set it with SERVFLOW_SQLITE_MASTER_KEY in production. Changing it makes previously encrypted secrets unreadable.
SQLite backs the dashboard, secrets, and user accounts. Without it, ServFlow falls back to file-based storage and those features are unavailable. See Secrets Management.

[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.
mode = "none" leaves the dashboard and management API open to anyone who can reach the port. Use it only on a trusted local machine.
Sessions are opaque tokens stored in the database, so they survive restarts and can be revoked by logging out.

[tracing]

OpenTelemetry tracing for debugging workflow and agent runs.
Tracing can also be configured during first-run setup, which offers a hosted collector, a custom endpoint, or disabling it.

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:

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.

Running ServFlow

Understand what the server serves and how to deploy it.

Secrets Management

Store API keys and credentials for your agents.

Agents

Learn the object model your configuration serves.