01Why I wanted one
I always wanted a Jarvis: an assistant of my own that knows my work, remembers what we decided yesterday and is there whenever I need it.
I called mine Veda. In Sanskrit the word means knowledge, and it is the name of the oldest books of wisdom. For me she is a small oracle: the one I ask first.
The first version ran on a paid model. Left on all day, it cost us €42 in two days. So we built it again, free, on our own Mac. This manual is how.
02One library, any brain
The idea that makes it all work: keep the agent apart from the model.
- The library is a folder of plain text notes that every agent reads: who your agent is, how you like to work, your rules, your projects, your memory. Plain text works with every tool, today and in ten years.
- The brain is the model that thinks. It can be a free one on your Mac or a bigger paid one in the cloud. You can swap it any day, and the library stays the same.
We call it one soul, many brains. Veda is the same Veda on any model, because every brain reads the same files. And when a new agent comes along, it reads the same library too.
One notes folder holds the soul, the rules, the projects and the memory. A small app of our own on Gemma reads it, searches the web and saves every conversation as a note. Hermes runs on the same Gemma. A bigger paid model reads the same folder when we build. The rule between them: the free agent reads, finds, drafts and hands off. Building, spending credits, publishing and sending go to the bigger model, when we ask for it.
Our studio Mac is a MacBook Pro with an M3 Pro chip and 18 GB of memory. Gemma 4 E4B is our free brain and uses about 10 GB of memory while it works. We chose it after a side by side test with Qwen 3 8B, the same three questions three times each: Gemma answered 9 of 9 in about 7 seconds, Qwen 6 of 9 in about 17.
The rest of this manual sets up the free part, with three tools made by others and shared openly:
- Ollama: a free app that runs AI models on your own Mac.
- Gemma: Google's open model, small enough for a laptop. The brain.
- Hermes: an open source agent from Nous Research. It keeps a memory of you, builds its own skills over time, and works with the files on your Mac when you allow it.
And one bonus at the end: Claude Code, the coding tool, on the same free brain and the same library.
03What you need
A Mac and some free disk space. Which Gemma you download depends on how much memory your Mac has. To check: Apple menu, About This Mac, then Memory.
| Your Mac's memory | The Gemma to download | |
|---|---|---|
| 8 GB | gemma4:e2b | the smallest |
| 16 GB or more | gemma4:e4b | what we run |
| 32 GB or more | gemma4:26b | a bigger brain |
Everything below uses gemma4:e4b. If you downloaded a different one, type its name instead.
You will also paste a few commands into Terminal. Open it with Cmd + Space, type Terminal and press Return. Paste each command and press Return.
04The install path · four steps
Step 01 · Ollama
Download Ollama from ollama.com/download, open the file, drag Ollama into Applications and open it. It now runs in the background. Check that it works:
ollama --version
Step 02 · Gemma, the brain
ollama pull gemma4:e4b
This downloads about 10 GB, so give it time. When it is done, talk to it:
ollama run gemma4:e4b
Type a question and press Return. The first answer takes a moment while the model loads into memory, then it is quick. Type /bye to leave.
Step 03 · Give it room to think
An agent reads a lot before it answers: its soul, your library, your conversation. All of that has to fit in the model's working memory, called the context window.
On a Mac with less than 24 GB, Ollama gives every model a small window of 4,000 tokens. An agent needs much more, and Hermes asks for at least 64,000. Open Ollama's settings and move the context length slider to 64k.
In the same settings, keep Expose Ollama to the network switched off. That way only your own Mac can use your models.
Step 04 · Hermes, the agent
ollama launch hermes
If Hermes is not on your Mac yet, Ollama offers to install it. Say yes. Then pick gemma4:e4b from the list, and Ollama connects Hermes to your local Gemma for you. When it asks about messaging apps, you can skip that for now.
Then one setting we recommend:
hermes config set approvals.mode manual
Hermes can run commands on your Mac. By default it lets a model judge which commands are safe to run without asking. With a small brain, we prefer that Hermes asks you about every risky command. You read it, then say yes or no.
Run curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash. In its setup wizard choose Quick setup, then More providers, then Custom endpoint, and enter http://127.0.0.1:11434/v1. Leave the API key and the context length empty, and confirm gemma4:e4b.
05Give it a soul and a library
The soul · who your agent is
Hermes keeps its identity in one file, SOUL.md, and makes a starter one for you. Open it:
open -e ~/.hermes/SOUL.md
Rewrite it in your own words. A short start is enough:
# Who you are
Your name is Nova. You are my studio assistant.
# How to talk to me
Short, clear answers. One step at a time.
Say "I don't know" instead of guessing.
# Rules
Use my notes first, and name the note you used.
Ask before you change or delete anything.
The library · what every agent should know
Make one folder for your notes, for example ~/Documents/my-library. Inside it, write a file called AGENTS.md: what you do, what you are working on, how you like to work, where your notes are. Many agents look for a file with this name, Hermes among them.
For Claude Code, add a second file called CLAUDE.md in the same folder, with this one line, so it reads the same library:
@AGENTS.md
Now start your agent from inside the library, and it reads the library first:
cd ~/Documents/my-library
hermes
The brain · swap it any day
hermes model
This changes the model behind Hermes. The soul and the library stay as they are, so it is still your agent, on a different brain.
06Three tests to confirm it works
Test 01 · The brain answers
ollama run gemma4:e4b "In one sentence, what are you?"
A sentence back means Ollama and Gemma work.
Test 02 · The agent knows its library
Start hermes inside your library folder and type:
The answer comes from your SOUL.md and your AGENTS.md.
Test 03 · Enough room
While Hermes is open, run this in a second Terminal window:
ollama ps
Next to gemma4:e4b, the CONTEXT column shows the size you set (64k is 65536). If you see the small default, go back to Step 03.
07Bonus · Claude Code on the free brain
Claude Code is a coding tool that works inside a folder: it reads your files, explains them and makes changes. It usually runs on Anthropic's paid models. Ollama can run it on your free Gemma instead.
curl -fsSL https://claude.ai/install.sh | bash
Then go into your library or a project folder and launch it with Gemma:
cd ~/Documents/my-library
ollama launch claude --model gemma4:e4b
It reads your CLAUDE.md, and through it your AGENTS.md: the same library as Hermes.
On Gemma, Claude Code reads a file and explains it well, and makes one small change when you say exactly what to change. Bigger jobs, like changes across many files, debugging or design work, go to a bigger model.
08What it costs
| Item | Cost | |
|---|---|---|
| Ollama | Free | |
| Gemma | Free | |
| Hermes | Free, open source | |
| Claude Code on Gemma | Free to run | |
| Total | €0 a month |
What it does use: about 10 GB of disk space, and part of your Mac's memory while it works.