Yes, it works. It is the Hermes Agent that is doing all the work, and I run it in a standalone VM with full root access, another reason why you want to run it in its own VM.
The inference engine does need to have tool calling enabled, and you need a model that supports tool calling.
The Qwen3.6 models are probably the best models you can use locally for tool calling.
I experimented with something like that as well a short while ago. But afer one or two days of updates the nvidia driver segfaulted on start up.
Did you have this problem before?
It might be a good idea to pin it?
Tested the guide yesterday. worked fine for two boots.
Started it again today and the driver crashes again.
Didn’t even update. Hope I find time to figure out why.
Edit: Now it works again. Idk. GPU drivers are just broken af.
In my system using an 4060, the first VM the GPU gets attached to will load the firmware onto the GPU, and the firmware will persist after being detached from the VM. It also persists through reboots, the firmware only resets after the entire system has been full powered down.
If you are using the GPU with multiple VMs, make sure you are using the same driver version in all the VMs, or you might get random crashed depending on what firmware got loaded onto the GPU.
Gedit is optional for editing text files easily instead of using e.g. nano in terminal
Need git nodejs npm ripgrep ffmpeg build-essential python3-dev libffi-dev for Hermes Agent (the installer would install those in the appvm, but they would be removed after reboot)
Note the --skip-browser flag was for my specific needs where I didnt want the agent doing browser stuff. You might need it, but then you might need to install additional packages in the template
I am not totally following this and would like more help understand.
Does this allow GPU passthrough when there is only 1 GPU and then use CPU to display dom0 somehow? I thought this wasn’t possible. Did you find a way around it or am I reading the guide wrong?
I’ve began to follow it, but was too hurry, so retried, and still stuck.
VGA and audio pci of the discrete GPU now have pciback, but how to be sure that the GPU has been passed through to ai-ollama VM ?
The only line i get with lspci is 00:03.0 VGA compatible controller : Device 1234:1111 (rev 02), which really doesn’t feel good.
Regards
[EDIT] ok, sorry, it was maybe obvious, but since i just followed the tutorial line after line, I did not noticed I hadn’t attached the VGA & audio to the ai-ollama VM, now it’s clear
I used it with a AppVM for paperless and had the issue with the systemd service for ollama (/rw/config/ollama.socket and /rw/config/ollama@.service) that it spawned too many sockets (ss -antup → TIME-WAIT in the ai-ollama VM) and as a result no further communication/socket was possible. The following socat command reuses the connection and worked like expected without further problems:
I guess this can be also implemented as a systemd service.
For those who use paperless with the docker compose setup, you will also need the firewall rule: sudo nft insert rule ip qubes input iifname "br-*" tcp dport 11434 accept