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.

2 min read Updated November 16, 2026
  • 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:

  1. Creates the VM from the HolaClaw Server assistant image, which already holds the HolaClaw Server binary, its systemd unit and a generic configuration.
  2. Writes the model roles of the main agent for the provider you chose.
  3. Runs holaclaw init once, which creates you as the owner and an admin token.
  4. Starts the holaclaw unit, 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 main agent's model roles, server.listen or 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 trace and 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?

Can’t find what you need?

Ask the community on Discord.