- services.hermes-guest.reasoningEffort (and mkDarwin's): DeepSeek V4.1
takes only low, high, xhigh or max, and rejects Hermes's default.
- The README's examples use gateway.inference.coop and
deepseek-flash-tee, its TEE-hosted DeepSeek, which supports tool
calling.
- demo.py takes an optional MODEL and PROXY command: each connection to
Hermes's model port is handed to PROXY as its stdin, as launchd and
systemd hand them to llm-proxy.py, and only the outcome is checked.
Generated-by: Claude Opus 5.5
How to check a change (doctests, the demo, evaluation), and a
Confinement section: the claim, why it assumes nothing about Hermes or
its config, each channel a process could use and what closes it, what
the two sockets grant, the VM's added boundary, what's not claimed, and
what has and hasn't been checked, with a probe for a running host.
Generated-by: Claude Opus 5.5
A NixOS module (nix/hermes-guest.nix) layers confinement on upstream's
services.hermes-agent: no network (PrivateNetwork), an empty /run with
two Unix sockets bound back in, and no user manager. Hermes reaches the
world through host.sock, the guest's Endo methods (listMessages,
request, lookup, reply, ...) as MCP, and llm.sock, an inference proxy
that holds the API key.
The same unit runs on a Linux host (nix/linux-host.nix) and in a vfkit
microVM on macOS (nix/vfkit-vm.nix), where systemd relays the two
sockets over vsock to launchd on the host (nix/darwin-host.nix).
test/demo.py runs unmodified Hermes against a fake host and a scripted
model, and checks what the host received.
Generated-by: Claude Opus 5.5