About

View as Markdown

Use daemon mode to give coding agents a shared entry point for model requests and hooks. A coding harness is the application that runs the agent, such as Codex, Claude Code, or Pi. A daemon is a background process that stays running between sessions. Each user-machine identity gets its own worker and runtime state.

Start Here When

Use this section to:

  • Run Relay at login or system startup.
  • Share one local daemon across users on a computer.
  • Connect client computers to a daemon on a Linux server.
  • Distribute the same administrator-owned settings to every user.
  • Operate workers, diagnose failed connections, and preserve streamed responses.

For a personal integration managed by nemo-relay install, use Coding Agent Installation. Managed daemon mode uses different lifecycle commands and administrator-owned configuration.

Choose a Deployment

DeploymentDaemon runs asAvailable whenGuide
Windows user taskSigned-in userUser is logged inWindows
Windows system task or serviceSystem service accountComputer is runningWindows
macOS LaunchAgentSigned-in userUser is logged inmacOS
macOS LaunchDaemonDedicated service accountComputer is runningmacOS
Linux user serviceUserUser manager is running; optional lingering starts it at bootLinux
Linux system serviceDedicated service accountComputer is runningLinux
Remote Linux daemonServer service accountServer and private network are availableServer, clients

Choose one service method per daemon endpoint. The default local endpoint is http://127.0.0.1:47632. A personal Relay sidecar can already occupy that port. Stop the existing integration before switching, or assign a different fixed port and generate a separate managed bundle for that endpoint. Multiple user services on one computer also need separate ports; one system service can serve all users.

Before You Begin

Install a Relay binary that includes nemo-relay daemon managed-bundle on the server and every client. Follow Installation for supported binaries and Support Matrix for harness versions. Check nemo-relay daemon --help on each target before setup.

An administrator must provision the system configuration, stable executable, and managed bundle, even for a user-level daemon. Workers ignore personal Relay configuration. Users need a distinct route credential for each machine-user identity, plus their normal model-provider authentication.

Remote deployments need a trusted HTTPS certificate and a private IPv4 route in both directions: clients contact the daemon, and the daemon contacts client workers. A connection that allows only outbound traffic from clients is not enough.

Reading Order

  1. Read Architecture and Startup.
  2. Prepare Configuration and Managed Clients.
  3. Follow the deployment guide for your operating system.
  4. Complete Verify Worker-Backed Operation.
  5. Keep Reference available for command and lifecycle details.