← Build an AI Team Lesson 6 of 12

Hermes on your laptop

✏️ Quick basics: the terminal

From here on, we live on your laptop, not in a browser. You'll set us up by typing a few commands.

The terminal is a window where you type commands instead of clicking. You type (or paste) one line after the $, press Enter, and the computer prints its answer. Spelling matters: one wrong letter and it says command not found.

Try it. Type a command, press Enter.
$
Try:

On a Mac, open the app called Terminal. On Windows, you'll get a Linux terminal on the next page.

Now: what are we installing?

What Hermes is

Hermes Agent is a free, ready-made app that does everything you built by hand: the loop, tools, the chat, memory, MCP and A2A. It runs on your laptop and works with almost any LLM. It also adds what a real team needs every day: bots with their own roles, messages from your phone, and jobs on a schedule.
Hermes = the program around the LLM, already built

Where does each idea you built live in Hermes?

Let's install it.

Install it

One command downloads and installs Hermes and everything it needs. On Windows, you first add WSL2, then run the same command inside it. When it's done, open a new terminal and check the version.
install → open a new terminal → hermes --version

Pick your laptop. Copy each line into your terminal, in order.
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash

Then close the terminal, open a new one, and check:

hermes --version

Checked against Hermes Agent v0.23 (November 2026). Hermes changes often: if a command doesn't work, see the Hermes docs.

Hermes is in. Now it needs a brain.

Local or online?

Hermes needs an LLM. A local model runs on your own laptop with Ollama: free and private, but it needs memory (about 8 GB for a small model, 16 GB for a medium one) and is weaker and slower. An online model is reached through a service like OpenRouter: stronger and faster, and you pay per use, usually a few dollars a month.

Cost is counted in tokens (pieces of words), priced per million:
cost per month = million tokens per month × price per million
200,000 tokens a day × 30 = 6 million. At $0.50 per million: 6 × 0.50 = $3 a month.

Try your own numbers.

Local model: $0, but only if your laptop has the memory.

Or both: a local model first, and an online one only when it fails. That's called a fallback.

Count it on new numbers.

✏️ Practice 6.1

Remember:
cost per month = million tokens per month × price per million
A month is 30 days. A local model: about 8 GB of memory for a small one, 16 GB for a medium one.

Work each one out. Type the answer, press Check.
Your team uses 300,000 tokens a day. How many million tokens is that a month?
Same team, a model at $0.10 per million tokens. What does it cost a month, in dollars?
Same team, a stronger model at $1.00 per million. What does it cost a month?
Same team, a local model with the $1.00 model as fallback. 20% of the tokens go to the fallback. What does it cost a month?

Chosen? Let's connect it.

Connect the model

Run hermes model and answer its questions. Hermes saves your answers in two files. Settings go in ~/.hermes/config.yaml. Secrets, like an API key (the password for an online model), go in ~/.hermes/.env, kept apart so you can share settings without sharing secrets.
settings → config.yaml · secrets → .env

Pick one. See what hermes model asks, and what it saves.

~/.hermes/config.yaml

~/.hermes/.env

~ means your home folder. A name starting with a dot, like .hermes, is hidden in normal file windows.

Now say hello.

Your first chat

Type hermes and press Enter. You're now chatting with an agent that runs the same loop you built: it thinks, uses a tool, looks at the result, and answers. One difference is big: its tools are real. It can read files and run commands on your laptop.

Step through a first chat.

Real tools on your real laptop: that's why, before your bots work all day, each gets its own safe space (Lesson 8).
hermes → chat · /exit → leave

And when something doesn't work?

When it goes wrong

Most first-day problems are one of a few. Your first move is always hermes doctor: it checks your setup and says what's missing. The rest you fix by reading the error, slowly.

Match each error to its fix.

Quick check: did it all make sense?

Lesson 6 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.

1. IdeaWhat is Hermes Agent?
2. StepsYou're on Windows. What comes first?
3. Work it out4 million tokens a month, at $0.25 per million. What does it cost?
4. WhereWhere does Hermes keep your OpenRouter API key?
5. Fix itRight after installing, you type hermes and get command not found. What do you do?

What's next.

One agent, not a team

You have one agent on your laptop. Tick what you've really done:

One agent doing everything? Where are the rest of us?

This leaves a question
One agent runs. How do you make it a team?
Lesson 7 answers it.
For your business: which model will you start with, local or online, and why? Ask your agent one real question about your business, and note how good the answer was.