Skip to main content
Connect the Agent first using Bring your own agent. Then, when you need to run the daemon in a terminal:
The command uses the saved computer connection. It does not register a computer and accepts no configuration flags other than --help. Do not pass --server-url, --provider, --api-key, or provider arguments.

Background service

agent link normally installs the Kylon service. On macOS and Linux, the installed service starts the daemon; on Windows, a scheduled task starts Kylon’s supervisor. Avoid running another foreground daemon while that service is active. Use these commands to inspect or repair it:
In an environment without a supported service manager, keep gateway run in the foreground. Stop it with Ctrl+C.

No saved connection

Return to the Agent’s Profile → Connection setup, or finish the new Agent’s connection step. Copy the prompt into the selected provider on this computer. After agent link succeeds, the daemon can use the saved connection. See Gateway Commands for maintenance commands.