Deployment
Talon is a Node.js daemon. The recommended production setup is a systemd service on a Linux host. A wake-only timer mode is available for low-traffic deployments.
Prerequisites
Section titled “Prerequisites”- Node.js 24+
- npm
- A Linux host with systemd
# buildnpm installnpm run build
# apply migrationsnpx talonctl migrate
# verify the setupnpx talonctl doctorsystemd service
Section titled “systemd service”The deploy/install-service.sh script installs Talon as a systemd service:
sudo ./deploy/install-service.sh
# Or with explicit optionssudo ./deploy/install-service.sh --user talon --dir /home/talon/talonThe script generates /etc/systemd/system/talond.service from deploy/talond.service with your user, directory and Node path. The unit reads environment variables from .env in the project root. It includes security hardening:
[Service]NoNewPrivileges=truePrivateTmp=trueProtectKernelTunables=trueProtectKernelModules=truePrivateDevices=trueRestrictSUIDSGID=trueRestrictAddressFamilies=AF_INET AF_INET6 AF_UNIXSystemCallFilter=@system-serviceIf you use Codex subscription sub-agents, add --codex-runner to the install command. It installs a systemd dependency that starts the contained Codex runner through Docker Compose before talond. The daemon itself gets no access to the Docker socket.
To manage the service:
sudo systemctl start talondsudo systemctl stop talondsudo systemctl status talond
# view logsjournalctl -u talond -fAuto-restart
Section titled “Auto-restart”The service unit configures Restart=on-failure and RestartSec=5. If the daemon crashes, systemd restarts it.
Signals
Section titled “Signals”The daemon shuts down gracefully on SIGTERM and SIGINT. SIGHUP reloads the config, which is what systemctl reload talond and talonctl reload use. Changes to the images block need a full restart.
Wake-only timer mode
Section titled “Wake-only timer mode”For low-traffic deployments where you don’t want the daemon running 24/7, use the systemd timer units in deploy/:
sudo cp deploy/talond-wake.service /etc/systemd/system/sudo cp deploy/talond.timer /etc/systemd/system/
sudo systemctl daemon-reloadsudo systemctl enable --now talond.timerThe timer starts talond-wake.service one minute after boot and then every 5 minutes. Adjust OnUnitActiveSec in talond.timer to change the interval. Check the paths, user and group in talond-wake.service against your install before you enable the timer. The wake service conflicts with talond.service, so use one mode or the other.
Docker
Section titled “Docker”See the Docker deployment guide for the complete setup. The quickest container path is a starter bundle with the published image ghcr.io/ivo-toby/talond (linux/amd64 and linux/arm64):
curl -fsSL https://github.com/ivo-toby/talon/releases/latest/download/talon-starter.tar.gz | tar xzcd talon-starter./install.shcp .env.example .env # fill in secretscp config/talond.example.yaml config/talond.yaml # edit for your setupdocker compose up -dTo build the image from a source clone instead:
| File | Purpose |
|---|---|
deploy/Dockerfile | Multi-stage daemon image on node:24-slim with tini, provider CLIs and a health check |
deploy/docker-compose.yaml | Example Compose setup with security hardening and resource limits |
cp config/talond.example.yaml config/talond.yaml# Edit with your channels and personascp deploy/.env.example deploy/.env# Fill in your secretsmkdir -p personas datadocker compose -f deploy/docker-compose.yaml up -dThe image runs as non-root (1000:1000). The Compose file drops all Linux capabilities. The image includes Codex CLI, Gemini CLI and GitHub CLI (gh). Claude Code ships inside the Claude Agent SDK dependency.
Browser voice behind a reverse proxy
Section titled “Browser voice behind a reverse proxy”Browser voice is off by default. When you enable it, the daemon opens an HTTP listener on voice.host and voice.port. The default host is 127.0.0.1.
- Route
/voice/on your HTTPS host tovoice.host:voice.port. - The proxy must preserve the public
HostandOriginheaders and sendX-Forwarded-Proto: https. - Set
voice.portto a fixed port. The default is0. - Set
voice.publicHostorvoice.allowedOriginsto the public origin. - Keep the loopback default when the proxy shares the daemon’s network namespace. If the proxy runs in another VM, container or network namespace, set
voice.hostto an address the proxy can reach, or to0.0.0.0, and restrict network access to the port.
Configuration
Section titled “Configuration”All runtime config lives in talond.yaml. Point the daemon at it:
node dist/index.js --config /path/to/talond.yamlOr set TALOND_CONFIG_PATH in the environment. The daemon resolves all ${ENV_VAR} references at startup from the environment and from a .env file in the working directory. Set TALOND_ENV_FILE to load a different file.
Use talonctl doctor to verify your deployment before starting:
npx talonctl doctorThis checks the Node.js version, Docker availability, config validity, database access, and the data directories.