Cloud
1
Create an account
Go to app.servflow.io and sign up.
2
Create a deployment
Choose a slug for your deployment. The slug names your instance, so pick something you are happy to keep. ServFlow provisions the instance in the background, which takes a few moments.
3
Open the dashboard
When the deployment shows as running, open it. You are signed in and ready to build.
Self-hosted
Before you begin
- 100 MB of free RAM. ServFlow is a single Go binary with an embedded dashboard and a SQLite database.
- A supported platform: Linux or macOS on x86_64 or arm64, or any host that runs Docker.
- Outbound network access to the LLM providers your agents use.
Get a working configuration
ServFlow reads a TOML configuration file. You do not need to write one. The first time you runservflowai start without a --config flag, it writes a complete default configuration to ~/.servflow/config.toml and starts with it. The database lands in ~/.servflow/data/ and the server listens on port 8080.
To see the configuration an instance is using, run:
/data on first boot, so the same applies there. For what each key means, see the Configuration reference.
Install with Docker
-
Start the container with the port published and a volume mounted at
/data:The image starts the server with the dashboard enabled. The volume holds the configuration file and the database, so keep it across upgrades. -
Open
http://localhost:8080/dashboard. The first-run setup screen appears.
Install the binary
-
Download the archive for your platform from the Releases page. Archives are named by platform, for example
servflowai_Linux_x86_64.tar.gzorservflowai_Darwin_arm64.tar.gz. -
Extract it and move the binary onto your
PATH: -
Start the server with the dashboard enabled:
The log prints
servflowai started. -
Open
http://localhost:8080/dashboard. The first-run setup screen appears.
Install with npm
The npm package downloads the same binary for your platform. It supports macOS and Linux on x86_64 and arm64.-
Install the package globally:
-
Start the server with the dashboard enabled:
The log prints
servflowai started. -
Open
http://localhost:8080/dashboard. The first-run setup screen appears.
Create the first account
The dashboard requires an account. On a fresh instance the setup and registration screens are open until the first account exists, then they close.1
Set up your instance
Choose a workspace directory and whether to enable tracing. Optional: paste a ServFlow authentication token to connect the instance to servflow.io for trace export and AI assist. Your answers are written to the configuration file.
2
Create your account
Enter an email address and a password of at least 8 characters. This creates the first account. Creating further accounts requires being signed in.
3
Restart the server
Stop the running process and start it again. The settings from step 1 are read when the server starts. With Docker, run
docker restart servflowai.4
Sign in
Open the dashboard again and sign in with your credentials. The dashboard opens on the agents page.
mode = "none" under [authentication] in the configuration file.
Verify
From the terminal, list the agents in the store. On a fresh instance the list is empty and the command exits without error:Run it properly
For an instance that outlives a first try:- Encrypt secrets at rest. Set
master_keyunder[sqlite], and set it through theSERVFLOW_SQLITE_MASTER_KEYenvironment variable rather than the file. See Secrets. - Back up the database. The SQLite file holds your agents, integrations, secrets, and accounts.
- Do not expose the server directly. Put it behind a reverse proxy with TLS. The management endpoint at
/api/mcpis unauthenticated inlocalmode, so keep the instance off the public internet. - Run it as a service. Use a Docker restart policy, or a systemd unit for the binary, so it comes back after a reboot.
- Pin a version. Use a tagged image or package version rather than
latest.
Related
Quickstart
Build your first agent with the dashboard or declaratively.
Configuration reference
Every TOML key and environment variable.
Running ServFlow
What the server serves and how to deploy it.
Local environment setup
Tracing and debugging for development.