First deployment
Set up Python environment
The agent uses uv for dependency management:This creates a
.venv and installs all dependencies from pyproject.toml.Create environment file
systemd unit
The agent runs as a systemd service:- Runs as
ubuntuuser withuv runto manage the virtual environment - Listens on localhost only (Caddy handles TLS and public access)
- Auto-restarts on failure