Skip to main content
One agent is one machine. When it stops, the dataset stops answering. Run a second agent on another machine, and Concatflow sends each request to whichever agent is connected. Every agent of a dataset gets the requests of that dataset. Concatflow hands each request to a single agent. When one agent disconnects, the next requests go to the other one, with nothing to configure.
1

Generate a token for the second agent

Each agent needs its own token. Open the dataset, go to its settings, and select Add an agent. Then Generate a token.
2

Start the agent on another machine

Use the same command as the first agent, with the new token and a different --hostname:
3

Check both are online

The dataset settings list both agents, each marked Online.
Both agents can use the same database account. They do not need to know about each other. When no agent is connected, requests to the dataset fail with no agent is connected for this dataset.
Agents on two machines protect you from a machine going down. They do not protect you from the database going down.