Docs/Desktop/The HolaClaw Server inside your assistant
The HolaClaw Server inside your assistant
How HolaClaw Desktop sets up and talks to the HolaClaw Server daemon in each assistant's virtual machine, and which changes are safe to make by hand.
- Desktop
- Advanced
- VM
Warning
These guides are meant for advanced users. If you are not comfortable making low-level system changes, use the regular HolaClaw Desktop app and standard docs instead.
Every HolaClaw Desktop assistant is one virtual machine running one HolaClaw Server daemon. This page explains how the app sets that daemon up and talks to it, so you know what you are looking at when you open a shell in the VM.
How the app sets it up
When you create an assistant, the app:
- Creates the VM from the HolaClaw Server assistant image, which already holds the HolaClaw Server binary, its systemd unit and a generic configuration.
- Writes the model roles of the
mainagent for the provider you chose. - Runs
holaclaw initonce, which creates you as the owner and an admin token. - Starts the
holaclawunit, and stores the admin token on your Mac. The token never stays in the VM.
The app uses one agent, main. Every conversation you start in the app talks to it.
How the app talks to it
- HolaClaw Server listens on the VM's loopback only. The app reaches its API through a port forward, sending the admin token with every call.
- With the Local provider, the model runs on your Mac, and the VM reaches it through a reverse tunnel.
- With the app open, the forward is up as long as the assistant runs.
Inside the VM
| Where | |
|---|---|
| The user HolaClaw Server runs as | assistant |
| Config directory | /etc/holaclaw |
| Secrets | /etc/holaclaw-secrets/auth.toml |
| Logs | journalctl -u holaclaw |
| Restart | systemctl restart holaclaw, from a privileged shell |
The assistant user can also run Nix, with flakes enabled, to install the tools a skill needs.
The configuration files are the same as on any HolaClaw Server installation. See the Configuration overview and the references for config.toml and agent.toml.
Which changes are safe
The app owns parts of this configuration and may rewrite them. We recommend that you:
- Do not change the providers, the
mainagent's model roles,server.listenor the secrets. The app depends on them to reach the assistant. - Do not delete or rotate the owner's admin token. The app holds the only copy, and the assistant cannot be reached without it: you would have to delete it and create it again.
- Read freely:
holaclaw status,holaclaw check,holaclaw traceand the logs are safe at any time.
If an assistant stops answering after a manual change, restore a backup from its Backups page.
Was this page helpful?
