A computer for each bot
One laptop, one set of files
Right now, when a bot runs a command, it runs on your laptop, with your files. Its own folder keeps its memory and keys apart, but its commands can reach everything you can. One wrong command from one bot can delete another bot's work, or yours.
What if each bot had a computer of its own?
A computer inside your computer
A container is a small, separate computer that runs inside your laptop, made with a free tool called Docker. It has its own files. Commands run inside it can't see your laptop's files, and deleting something there deletes nothing of yours. Hermes calls this a sandbox.
what happens in the sandbox stays in the sandbox
your laptop
Marketing's sandbox
Hermes also locks the container down: no extra system powers, and a cap on how many programs it can start.
First, Docker itself.
Install Docker
On a Mac or on Windows, install the free Docker Desktop app and start it. On Linux, or inside WSL2's Ubuntu, one command installs it. Then check with a tiny test container: if it prints a hello message, Docker works.
install Docker → docker run hello-world
- Download Docker Desktop from docker.com and install it.
- Start it, and wait until it says it's running.
- On Windows, in its settings, turn on WSL2 for your Ubuntu.
- In your terminal (Ubuntu on Windows):
docker run hello-world
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USER
Log out and back in (or close and reopen Ubuntu), then:
docker run hello-world
The second Linux line lets you use Docker without typing sudo every time.
Docker works. Now move a bot into it.
Switch a bot to its sandbox
Where a bot runs its commands is one setting in its own config.yaml: terminal.backend. It starts as local (your laptop). Set it to docker, and Hermes starts a container for that bot the first time it needs one, and keeps it for next time. Each bot gets its own.
terminal.backend: local → docker
But now the bots can't share files at all.
Share one folder, on purpose
Some work has to pass between bots: Production writes the packing list, Operations reads it. So you mount one chosen folder into each container that needs it: the same folder, seen from inside. Everything else stays out of reach.
a bot sees only the folders you mount
your laptop
Operations' sandbox
Files a bot makes anywhere else stay inside its container. To hand you a file, it must save it in a mounted folder.
One more thing: how big is each sandbox?
Set its limits
Containers share your laptop's memory. So give each one a cap with container_memory, in MB (1,024 MB = 1 GB), so one runaway bot can't freeze the laptop. Everything must fit together:
memory caps + local model + you ≤ laptop memory
4 bots × 1 GB + an 8 GB model + 3 GB for you = 15 GB: fits in 16 GB.
In config.yaml: container_memory: 1024. container_cpu and container_disk cap processor and space the same way.
Count it on new numbers.
✏️ Practice 8.1
Remember:
memory caps + local model + you ≤ laptop memory
1,024 MB = 1 GB. Allow 3 GB for you and your apps.
container_memory: 1024. How many GB can the sandboxes use in total?And when the sandbox won't start?
When it goes wrong
Most sandbox problems are Docker not running, permissions, or a file in the wrong place. Read the error, then match it.
Checked against Hermes Agent v0.23 (November 2026). See the Hermes Docker docs if a setting has moved.
Quick check: did it all make sense?
Lesson 8 test
5 questions, one for each idea in this lesson. Answer them all right to pass. A wrong answer tells you why, and which page to look at again.
rm *_old.csv. What happens to your laptop's files?labels.pdf, but it isn't on your laptop. Why?What's next.
Out of the house
Each bot now works in its own sandbox, sharing only the folders you chose. Tick what you've really done:
An order just came in, and you're at the market. How do I tell you?