Skip to main content

Hermes agent fleet

Agent automation across the platform runs on Hermes Agent instances, declared in the machines flake (modules/nixos/profiles/ai.nix) and run fleet-wide — every Nix host runs a hermes-agent service, and the KubeVirt VM automata acts as the central hub.

Mesh schema​

The peer list is Nix-generated from the capability registry: cluster peers (:9900 API), workstation/bot peers (:8642 A2A), hub peers, each with per-peer sops secrets materialized through sops.templates.

The automata hub​

automata is a NixOS qcow2 wrapped as an OCI containerdisk, built by the machines flake (packages.x86_64-linux.automata) and run as a KubeVirt VM in the nishir cluster: q35 machine, EFI without secure boot, 6 GiB RAM / 2 vCPU requested, amd64 node selector, root containerDisk + a PVC workspaces disk + cloud-init over a Secret.

It is the A2A hub: peer agents register against it, and hubTrust means the hub accepts ws connections.

A2A mesh​

Peers address each other over the tailnet:

  • Peer endpoints: https://<peer>.taila659a.ts.net:8642
  • Hub expose: https://a2a.automata.i.shikanime.studio
  • Ports 9900/8642 between tailnet peers are plain HTTP; TLS terminates at the a2a.<app>.i.shikanime.studio vanity names.
  • Auth tokens per peer: sops secrets hermes-agent-a2a-token-<peer>, materialized into the agent env via sops.templates.
  • Per-peer API server keys: hermes-agent-api-server-key-<peer> injected as HERMES_PEER_<NAME>_KEY env lines.

Machine-to-workstation links are denied by tailnet ACL — the hub relays.

Hermes plugins (Nix-packaged)​

PluginRole
hermes-plugin-honchoagent memory backend (Honcho)
hermes-plugin-lcmLCM integration
hermes-plugin-memory-wikillm-wiki knowledge base
hermes-plugin-ponytaillazy-code review lens
honcho-aiHoncho AI client library

Skills​

The shikanime-labs/skills repo is a curated catalog of self-improved agent skills (the sks-* family: dev loop, PR landing, issue triage, nix authoring, sops authoring, ...). Skills are mirrored to ~/.hermes/skills as a detached git clone; resync is fetch + ff-only main, stashing local lessons.

Computer use​

ai.nix installs the cua-driver binary (AT-SPI/D-Bus) fleet-wide, so hermes' computer-use extra can drive desktop automation on any host.