← Videos

Hermes Agent's tools in a microVM: run them on a smol machine

Hermes Agent runs its terminal, file and code tools in a microVM on your own computer with the smolmachines plugin, a community plugin from Hermes's catalog, written by smol machines.

Chapters

  1. 0:00Tools in a microVM
  2. 0:29Setup
  3. 0:48How it works
  4. 1:09One session
  5. 1:33The next session

Transcript

0:00With the smol machines plugin, Hermes Agent runs its terminal, file and code tools in a microVM on your own computer.

0:09Hermes Agent, by Nous Research, runs commands, writes files and executes code for you, and by default it does that on your computer, as you.

0:21For a repository you found an hour ago, that means running install scripts and tests you have not read.

0:29Install the plugin from Hermes's catalog with hermes plugins install smolmachines, and answer yes to both prompts.

0:37Then pick it as the terminal backend with hermes config set terminal.backend smolmachines.

0:45It needs no Docker and no account.

0:48Hermes itself stays on your computer, and every command it runs, file it writes and script it executes goes into a smol machine.

0:58A smol machine is a small virtual machine with its own Linux kernel, booted from an ordinary container image.

1:05Nothing from your computer is mounted into it.

1:09Here, Hermes is asked to clone sqlite-utils, install it with its test dependencies, and run its tests.

1:18The machine has no git, so Hermes installs it, sets up a virtual environment with the test dependencies, and runs the suite.

1:29On the Mac, there's no sqlite-utils at all.

1:33Hermes keeps one machine per session, so the machine and what was installed on it outlive Hermes.

1:41Resume the session, and Hermes uses the same sqlite-utils to load a candy rankings dataset, with nothing reinstalled.

1:50It runs on macOS on Apple Silicon and on Linux with KVM, and the setup guide is linked below.

Links