Host-control daemon for Husarion robots, the backend of the Cockpit Manage tab.
10K+
The host-control daemon for Husarion robots: the backend the Cockpit's Manage tab talks to, through Caddy and a Unix socket. It exposes the robot's configuration as real files (.env plus DDS and Zenoh profiles) that propagate git-style across a chain of agents, and offers panels for node-local observability and actions (Health, Robot Info, Logs, Zenoh router). A config edit runs a per-concern hook that applies the change however the robot needs it: snap set, docker compose restart, systemctl reload or a custom shell script.
The same daemon serves Panther, Lynx, ROSbot and any future Husarion robot. Robot-specific behaviour is data, not code: a config seed (agent.yaml, follow.yaml, config/, hooks/, manifests/) plus panels.d/*.yaml, dropped under the agent's config root.
Multi-arch: linux/amd64 + linux/arm64.
Production robots don't run this image. Their OS image installs the daemon natively as a systemd unit, which gives it direct access to host tools (snap, docker compose and so on) without privileged-container workarounds. The static binaries for a native install are published on the public release index: https://github.com/husarion/husarion-cockpit-releases/releases.
This Docker image is for dev stacks that keep the agent in compose because it is quicker to iterate on.
husarion/agent:X.Y.Z: a pinned release (pin it by digest in production)husarion/agent:latest: tracks the most recent releaseThe Tags tab above lists every version. The same versions are on the public binary index as native-install artefacts: https://github.com/husarion/husarion-cockpit-releases/releases?q=husarion-agent/v.
services:
husarion-agent:
image: husarion/agent:X.Y.Z
network_mode: host
command:
- --socket=/run/husarion-agent/agent.sock
- --state-dir=/var/lib/husarion-agent
- --config-root=/var/lib/husarion-agent
- --panels-default=/usr/share/husarion-agent/panels.d
- --panels-overrides=/etc/husarion-agent/panels.d
volumes:
- agent-socket:/run/husarion-agent
- ./husarion-agent-data:/var/lib/husarion-agent
# robot-specific panel drop-ins (optional; same `name` overrides a shipped panel):
- ./panels.d:/etc/husarion-agent/panels.d:ro
restart: unless-stopped
volumes:
agent-socket: {}
The config root (--config-root, which defaults to --state-dir) holds the files-first config tree: agent.yaml (the node's role, source, relay or leaf, plus listen and what it publishes), follow.yaml (which upstream it pulls, and which paths), config/<concern>/{shared.env,local.env}, hooks/<concern> and manifests/<concern>.yaml. Seed it from your robot's bundle on first boot; from then on the agent reconciles it against the chain.
The webserver service of husarion/webui mounts the same agent-socket volume read-only and proxies /api/agent/* to it through Caddy.
Config (/api/agent/v1/config/*) is real files grouped into concerns (network, rmw, drive, …). An owner publishes a concern; followers pull only their declared paths and reconcile as master wins unless locally edited. Each concern applies atomically through one hook (hooks/<concern>, with HUSARION_AGENT_<KEY> set for every *.env key). Every node reports its last_applied up the chain, so the WebUI shows propagation live.
Panels (/api/agent/v1/panels/*) are node-local probes, log streams and actions declared in panels.d/*.yaml. They don't propagate. They drive the Health, Robot Info, Logs and Zenoh router views.
The config seeds and panels for each Husarion robot ship with that robot's OS image.
Built and maintained by Husarion: robotics research and commercial UGV platforms.
Static binaries for a native install on a fresh robot: https://github.com/husarion/husarion-cockpit-releases/releases?q=husarion-agent/v
License: proprietary. © Husarion S.A., all rights reserved.
docker pull husarion/agent:latest