Running an agent on a free local model does not make it inherently safe. Hermes Agent setup with a local Gemma 4 model gives the agent terminal access, file access and a Telegram entry point, so the installer's security prompts matter more than the model choice.
What Hermes Agent setup with a local Gemma 4 model requires
Hermes Agent setup with a local Gemma 4 model needs four pieces: the Hermes Agent installer, an Ollama server serving the model, a self-hosted Firecrawl instance for web search, and a Telegram bot token if you want a chat channel. Each piece runs on your own machine, which removes a paid model API but not the need to review permissions.
Hermes Agent is an open-source autonomous agent published by Nous Research, the AI research company behind the Hermes model family. It connects to an OpenAI-compatible model endpoint, calls tools, and keeps memory and skills between sessions. Ollama is a local runtime that downloads and serves open language models on your own hardware through a compatible API. Firecrawl is a web scraping and search service that can run from a paid hosted plan or from containers you host yourself.
The Ollama Gemma 4 library page lists the Gemma 4 builds Ollama can pull. Gemma 4 is Google's open model family, and the E2B and E4B tags denote smaller edge-oriented builds rather than one fixed size. The exact download size depends on the tag and quantization you pull.
Ollama endpoint, model choice and what actually worked
Point Hermes Agent at the Ollama base URL, and the model list appears automatically. In the walkthrough published on 8 April 2026, the presenter used the Ollama base URL [link removed] left the API key blank, and picked the larger edge build after the smaller one failed a search task.
Those observations are one user's first-hand experience on one machine, not a benchmark. They do not establish that a given model size is a general minimum for agent work. Treat them as a starting point for your own testing.
First-hand results from the April 2026 walkthrough:
- A 7 GB edge build could not follow basic web-search instructions inside Hermes Agent.
- The same build reportedly worked in a different agent client, which suggests the client's prompting and tool schema matter.
- A 9.6 GB edge build completed the basic requests.
- A first response took around 30 seconds with screen recording running on the same machine.
The practical rule is to pull a model, run one web search and one file task, and keep the build that finishes both. A model that chats well but stops mid-task is the wrong choice for an agent.
Total memory matters as much as model size. A Quantization-Aware Trained 4-bit build of a 12B model measures roughly 7 GB in one published local-LLM sizing note, while the 26B variant reaches about 14 to 16 GB. Those figures come from a specific Apple Silicon setup and describe file footprint, not peak runtime memory.
Installer settings worth changing before you finish
The full setup asks a series of questions, and the defaults are reasonable for a first run, but four of them shape how much context and control the agent keeps. You can return to all of them later through the Hermes command line.
Tool-calling iterations cap how many tool steps the agent may chain in one turn. The walkthrough kept the default of 60, which is generous for research and document work. A lower cap saves time and tokens on small models; a higher cap suits multi-step jobs.
Context compression and session reset matter more on small models. The presenter described long conversations as making an agent less reliable as tokens accumulate, and kept a compression value of 0.5. The Unsloth guide to running local models with Hermes Agent documents the comparable configuration fields for a local OpenAI-compatible endpoint, which helps when you want to change them by hand.
Session reset keeps a Telegram chat from carrying days of stale turns. A recommended mode resets on inactivity or at a daily hour, and the walkthrough kept the defaults. The presenter's own arithmetic is a fair illustration: four messages a day for seven days is 28 messages that all remain in context unless reset.
Tool progress display is a preference, not a safety control. Setting it to show every step makes failures visible during web research, which is useful while you are deciding whether a model is good enough.
Self-hosted Firecrawl and the Telegram bot
Self-hosted Firecrawl needs Docker running before the setup commands will work, and the bot connection needs a token from Telegram's BotFather plus your own numeric user ID as an allowlist. Neither step is optional if you want private search and a restricted chat channel.
Install Docker, then follow the self-hosting instructions in the Firecrawl documentation to bring up the containers. When the containers are running, point Hermes Agent at the local Firecrawl URL it offers during setup. That URL is the one to use, and a successful web search afterwards confirms the stack works.
For Telegram, open BotFather, create a bot, and copy the token into the setup prompt. Then find your numeric user ID and enter it as the allowed user. Leaving that field empty means anyone who finds the bot can talk to your agent, so it deserves a deliberate answer.
Self-hosted components do not make the whole system private by default. Prompts stay on your machine only while every configured provider is local. A cloud text-to-speech option, a hosted search key or a relayed model endpoint all move data off the device, so check each provider selection in the config.
What changes at the current date
The April 2026 walkthrough describes a setup flow, not the current state of the project, and Hermes Agent has changed shape since. Current documentation describes a context-compression pipeline, a skill library the agent builds from completed tasks, and an installer reachable at hermes-agent.nousresearch.com, so verify menu names against the repository rather than the video.
The Hermes Agent repository is the primary source for install commands, configuration keys and release notes. The current setup path still uses an install script followed by a configuration wizard, and model providers are still set through the model configuration fields.
Two practical consequences follow. First, a command shown on screen in April may have been renamed or moved, so copy install and configuration commands from the current documentation. Second, new options may exist for model providers, memory and tool approvals that were not present in the spring recording.
The model side has moved too. Check the Ollama library page for Gemma 4 for the tags available now, and prefer a build whose size fits your memory with headroom for the operating system.
Security, cost and privacy boundaries
A local model removes per-token API charges and keeps inference on your hardware, but it does not remove the need to isolate the agent. The agent can run commands, read files and send messages, so its reachable data is the real security boundary.
The walkthrough's strongest advice is to run the agent on a separate device from the one holding banking sessions and private files. That is a sound default. An agent with terminal access inherits the permissions of the account it runs under, and an exposed Telegram bot is reachable by anyone who learns its name.
Self-hosting an agent in a regulated environment requires controls beyond the software: network segmentation, least-privilege accounts, log retention and review of every tool you enable. Local execution supports that architecture. It does not demonstrate compliance on its own.
Cost follows the same split. The model call is free at the API level, while electricity, hardware and your time are not. A paid Ollama cloud tier or hosted Firecrawl plan reintroduces a bill, and either one changes the privacy picture, so decide which trade you are making before you start setup.
Related Brazilian learning resources
Readers who want structured practice with the same stack can look at Portuguese-language developer education alongside the official documentation. These resources cover programming and agent building rather than Hermes Agent itself, and they are worth naming because setup guides in English rarely assume a beginner audience.
Crazystack is a Brazilian programming school that publishes courses and free material on modern web development. Its Crazystack Typescript track is a reasonable place to build the language skills that make reading an installer's output easier. The Bootcamp do Dev Doido, run by instructor Gustavo Dev Doido, is another option for guided, project-based study in Portuguese. None of these replace the Hermes Agent and Ollama documentation, but they shorten the distance for readers who are new to running services locally.
When a setup step fails, the error is usually a missing dependency or a stopped container. Knowing how to read a terminal trace and how a local server is configured solves most of it.
Frequently asked questions
- Does Hermes Agent setup require a paid API? No. It can point at a local Ollama endpoint with no API key, which the April 2026 walkthrough did with the base URL [link removed] A paid model provider or hosted search plan is optional and changes where your prompts are processed.
- Which Gemma 4 size should I run locally? Pick the largest build that fits your memory with room for the operating system, then test one web search and one file task. In the April 2026 walkthrough a 7 GB edge build failed basic search instructions while a 9.6 GB build completed them. That is one user's result on one machine, not a general minimum.
- Is a self-hosted Hermes Agent fully private? Only when every configured provider is local. Prompts stay on your machine with local inference and self-hosted Firecrawl, but a cloud text-to-speech voice, a hosted search key or a relayed model endpoint sends data elsewhere.
- Why does the setup wizard sometimes skip or repeat a screen? The presenter saw the flow jump back and repeat steps across several runs in April 2026. If that happens, answer the repeated prompt and continue, then verify the saved configuration afterwards rather than trusting the on-screen sequence.
- How do I change the model or settings later? Use the Hermes command-line tools from the current repository documentation. They let you switch models, enable or disable tools and adjust configuration values without reinstalling, which is why the first-run defaults are not permanent decisions.
- Can I run Hermes Agent on a small VPS? A server without a capable GPU can still run a small model, though responses will be slow. A relayed Claude Code endpoint is the alternative, and it moves inference off your hardware.
- What does the Telegram user ID field control? It is an allowlist. Enter your own numeric Telegram ID so only you can message the bot, because leaving it empty lets anyone who finds the bot start a conversation with your agent.
- Does a local agent remove the need for security review? No. The agent runs commands and reads files with the permissions of its account, so run it on a separate device or account and review every tool you enable before leaving it unattended.
- Where should I check for the current install command? The Hermes Agent repository is the primary source. Commands, menu labels and configuration keys change between releases, and the April 2026 video predates later changes to the setup flow.
Turn a recorded setup into a written guide
A setup walkthrough contains the kind of detail that is hard to recover later: which model build failed, which prompt your installer repeated, and what a working search actually looked like. That detail is worth more as a written reference than as a single pass through a video. A clear write-up also lets the next reader check your steps against the current repository.