One process, one port
A ServFlow instance is a single process listening on one port (server.port, default 8080).
The workflow engine owns the root path. A workflow whose entry listens on /hello answers at http://localhost:8080/hello — there is no prefix. Everything else is mounted alongside it:
Earlier versions ran the dashboard as a second server on its own port. They no longer do — one port serves everything, and the dashboard is a path on it.
With or without the dashboard
The--dashboard flag is the main deployment choice. It changes what is mounted, not how workflows execute — an agent behaves identically either way.
With the dashboard
Without the dashboard (headless)
Comparison
Where configuration lives
Agents, workflow configs, secrets, and user accounts live in SQLite (sqlite.path). This is what the dashboard reads and writes, and what the CLI operates on.
The server.config_folder directory holds workflow configuration files on disk. An instance can serve configs from files, from the store, or both — and --import-configs performs a one-time import of files into SQLite so they become editable in the dashboard.
Without SQLite, ServFlow falls back to file-based storage. Secrets management, OAuth integrations, and user accounts are unavailable in that mode.
How access is gated
A dashboard-enabled instance is gated by default:authentication.mode = "local" requires a username and password, with the first account bootstrapping the instance.
Setting mode = "none" removes the gate entirely. Because the management API sits behind the same gate, an open instance should never be reachable from an untrusted network.
Headless instances expose no management API, so this setting matters most when the dashboard is enabled.
A typical lifecycle
Most teams move from visual building to a reproducible deploy:- Build with the dashboard, creating agents and workflows interactively
- Export or author the resulting configs as JSON/YAML and commit them
- Deploy headless, with configuration supplied by environment variables
- Update by changing configs in version control and letting CI apply them
Next steps
Deploy with the dashboard
Walk through building an agent and its first endpoint visually.
Deploy declaratively
Define a workflow as a config file and deploy it from the CLI.
Configuration Reference
Every TOML option and environment variable.
Agents
The object model an instance serves.