# Hermes Agent: Zero to Personal AI Assistant (1 Hour Course)
<!--
ref: @content/youtube/nate-herk/2026-05-09-hermes-agent-zero-to-personal-ai-assistant
version: 3
updated_at: 2026-10-31T19:15:22.953Z
-->

Hermes Agent (Nate Herk | AI Automation, 2026-05-09): Hermes Agent is an MIT-licensed open-source agent from Nous Research (roughly **140,000 GitHub stars**) that runs on your own infrastructure and improves itself by writing and patching its own skills.

*Synthesized from Nate Herk on Nate Herk | AI Automation, 2026-05-09.*

Nate Herk builds AI automation systems and walks through standing up Hermes Agent — an open-source, self-hosted personal assistant — from an empty VPS to a working Telegram assistant with skills, memory, and scheduled crons.

## Core Thesis

Hermes Agent is an MIT-licensed open-source agent from Nous Research (roughly **140,000 GitHub stars**) that runs on your own infrastructure and improves itself by writing and patching its own skills. Nate's framing is that it does not replace Claude Code — Claude Code stays his desk-bound daily driver for about 90% of his knowledge work — but fills the on-the-go slot: something you talk to from Telegram on a walk, that wakes instantly, spins up a cron in a sentence, and keeps running whether or not your laptop is open. The whole system rests on five pillars (memory, skills, soul, crons, and the self-improving loop), and the loop only compounds if you actively correct the agent and tell it to persist what it learns.

## Key Insights

- **Ecosystem placement.** Claude Code lives in the terminal next to your code and you drive it. Open Claw (created by Peter Steinberger, who then joined OpenAI; over **350,000 stars**, larger team, Nvidia built Nemo Claw on top of it) and Hermes are the on-the-go tier. Nate moved toward Hermes partly because frequent Open Claw updates kept breaking his install. Hermes is lighter and pitched at people who want to tinker with open-source models alongside Claude and Llama.
- **Any harness on one repo.** All these agents work in a directory. Keep your knowledge, business context, and skills in a GitHub repo and you can point Claude Code, Codex, Open Claw, or Hermes at the same tree — the only friction is terminology (`CLAUDE.md` vs `AGENTS.md`), which each agent will convert for you on request.
- **Pillar 1 — Memory.** Two files load at session start: `user.md` (who you are, style, preferences, dislikes) and `memory.md` (environments, projects, business context). Agents wake stateless — Nate's analogy is the film *Memento* — so loading good context is your job. Hermes extracts and updates these automatically, but you should still explicitly say "put that in memory." Rules: durable preferences and facts to memory, session search for old conversations (sessions are stored in a SQL database), and **never store secrets or temporary task status** there.
- **Pillar 2 — Skills.** A `SKILL.md` with YAML front matter that tells the agent when to use it. The front matter enables **progressive disclosure** — the full skill body is not loaded into context until the agent decides it's needed. Hermes ships with a large default set (**91** built-in of **684** total documented; **85** installed on Nate's fresh box) and the skills hub carries **over 520 community skills** including **16** official Anthropic ones. Hermes will also mine your conversations and convert repeated workflows into skills unprompted.
- **Pillar 3 — Soul.** `soul.md` is personality, no YAML front matter. It is what makes six Hermes agents feel different, and it's what other people experience when your agent talks to them — Nate's YouTube-comment Hermes is instructed to be sarcastic but not rude. It evolves from your feedback like any other file.
- **Pillar 4 — Crons.** This is Nate's main value prop over Claude Code, where routines need infrastructure left running (cloud routines cap at **15/day** even on the max plan). You say "every morning at 6am do X" and Hermes creates the job. A cron fires a **fresh isolated session** that inherits none of your current conversation context, runs the skill, returns the result to the original chat, and updates local files. Useful flags: `context_from` passes one job's output into another, `work_dir` runs tools from a project folder, and a no-agent flag runs a plain script without the agentic loop. Safety constraint: **cron sessions cannot recursively create more crons**, so prompts must be self-contained.
- **Pillar 5 — The self-improving loop.** Do the work, save to memory, promote repeatable steps into skills, search past sessions when old context matters, repeat. The stated nuance is that automatic does not mean magic — it works when you correct the agent, ask it to save, and let it write skills after real work.
- **Deployment.** Nate uses a Hostinger VPS (KVM 2 plan, Ubuntu 24.04 LTS) with a **one-click Hermes install into a Docker container** rather than installing at the VPS root. The container approach is what lets multiple agents coexist on one box with isolated memory, tools, and keys — the mental model being the VPS as an office building and each container as an employee with their own desk. Hermes can also run on a Mac mini, laptop, or Android via Termux, and connects through Telegram, Discord, Slack, WhatsApp, or iMessage.
- **Inference on a subscription.** Choosing **OpenAI Codex** as the provider lets you use an existing ChatGPT plan ($20/$100/$200 a month) rather than per-token API keys — by far the cheapest path short of local open-source models. Auth is a browser sign-in plus a nine-digit code pasted back into the terminal.
- **Never paste API keys into the chat.** Exit the Hermes chat into the container shell and run `hermes config set GITHUB_TOKEN <value>`, which writes it to the `.env` at `/opt/data/`. Pasting into the conversation puts the secret in the session history even though Hermes would file it correctly. Nate also demonstrates deleting a key by nano-editing the `.env` — and hits the classic container trap: the root VPS `.env` is not the container's `.env`, and the path had to be corrected.
- **Back up to GitHub on day one.** If the VPS corrupts, a private repo means you spin up a fresh Hermes, sync, and lose nothing. Hermes researched the setup itself, requested a personal access token with `contents` read/write, wrote a `.gitignore` to keep secrets out, and then built a **nightly sync skill plus cron**. Notably it refused a fixed UTC time because the container runs UTC and that would drift at daylight saving — it scheduled hourly with a Central-time self-check instead.
- **CLI vs Telegram.** Same agent, same brain, same skills, same memory. The CLI is the cockpit: full slash commands, visible context window, better for deep work and coding. Telegram is the remote control: less visibility into where the session reset and how much is in working memory, since context is token-based and auto-compacts underneath you. Nate won't vibe-code an app from Telegram for exactly that reason, but is happy running low-risk scheduled and quick tasks there.
- **Compaction is observable.** Nate's session hit nearly **170,000 tokens** against a threshold of about **136K**; compaction attempted, failed, and inserted a fallback context marker. His advice when a system message is unclear: paste it back to Hermes and ask it to explain.
- **Credential hygiene as staffing policy.** Give each agent its own email or agent-mail account rather than yours; issue **separately named API keys per agent** for anything that spends (OpenRouter, Perplexity) so you can attribute cost; apply least privilege — a marketing Hermes has no business reading QuickBooks. Also lock down the VPS with a firewall, and consider a nightly agent-run security audit.
- **When to split into a new agent.** Nate's decision tree: does it need different permissions, secrets, or tools? Different long-term memory? Is it ongoing repeated work? Any yes means a new agent; all no means keep it in the main one. The anti-pattern is one mega-agent holding every key, skill, and cron — high confusion, high blast radius. Because skills and crons are just markdown, migrating them to a dedicated agent later is trivial, so start with one and let the split happen naturally.
- **Manage your agents from a Claude Code project.** Nate keeps a `VPS_agents` folder with a subfolder per agent holding IP, root password, env vars, container-vs-root layout, security notes, and integrations. When a Hermes goes down or he forgets where a key lives, Claude Code has the map. He is explicit that he is self-taught and learned all of it by asking the agents to explain.

## Actionable Takeaways

1. Install into a **Docker container** on the VPS, not at root, even for your first agent — that is what gives each future agent isolated keys and memory.
2. Select **OpenAI Codex** as the inference provider to run on an existing ChatGPT subscription instead of paying per token.
3. Set every secret with `hermes config set KEY` from the container shell, never in chat. Remember the container's `.env` is a different file from the VPS root's.
4. Before you tell the agent anything about yourself, connect it to a **private GitHub repo** and schedule a nightly sync skill. That backup is your recovery path if the VPS dies.
5. Spend 5-10 minutes talking to a fresh Hermes about your goals, business, team, and existing skills — that conversation is what populates `user.md` and `memory.md`.
6. Watch what it does on every request. If it should have invoked a skill and didn't, tell it to fix that skill's YAML front matter so the trigger matches how you actually phrase things.
7. Maintenance rules: wrong twice → correct it and have it update the skill or memory; same instruction twice → have it write a skill; too verbose or off tone → edit the soul; something breaks → check `memory.md`, since stale memory is the leading cause of odd behavior.
8. Give agents scoped, separately named credentials and their own accounts. Ask what access you'd grant a new intern, then grant that.
9. Keep a Claude Code project as the registry for all your VPS agents — IPs, passwords, container names, env layout — so you are never locked out of your own infrastructure.
10. Crons can be temporary: "for the next 12 hours, run every 10 minutes, then kill the cron" is a valid instruction, which is how Nate monitors comments after publishing a video.

## Notable Quotes

> "Stale memory is the number one cause of weird agent behavior." — Nate Herk

> "This isn't a tool you finish setting up, it's a teammate that you keep using and you keep training." — Nate Herk

> "Pretend this is an actual intern or a new employee. What access would you give them?" — Nate Herk

> "The CLI is kind of like the cockpit, and Telegram is more like your remote control." — Nate Herk

> "Automatic does not mean magic." — Nate Herk

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*