Modern Creator
Nate Herk | AI Automation · YouTube

Hermes Agent: Zero to Personal AI Assistant (1 Hour Course)

A 58-minute live walkthrough taking you from nothing to a self-improving AI assistant running on your own VPS, accessible from anywhere via Telegram.

Posted
2 weeks ago
Duration
Format
Tutorial
educational
Views
158.3K
3.8K likes
Big Idea

The argument in one line.

Hermes Agent lets you build a self-improving AI assistant on your own VPS that learns your workflows, automates recurring tasks via cron jobs, and scales to multiple specialized agents by storing memory, skills, and configuration as version-controlled markdown files.

Who This Is For

Read if. Skip if.

READ IF YOU ARE…
  • A complete Hermes beginner who wants a single end-to-end walkthrough: VPS provisioning, install, Telegram connection, cron setup, and the self-improving loop — all in one session.
  • Someone who was put off by the Mac mini requirement and wants to learn that a cheap Hostinger VPS is enough to run a persistent, always-on Hermes instance.
  • A creator or community manager who wants to automate daily AI news briefings, YouTube comment responses, and morning business summaries via scheduled Hermes crons.
  • A builder who already understands what Hermes is and wants to see the five core pillars (memory, skills, soul, crons, self-improving loop) applied in a live working system.
SKIP IF…
  • You are already running Hermes on a VPS with Telegram connected and crons active — this course is foundational and covers ground you have likely already covered.
  • You want a deep dive into multi-agent orchestration or advanced skill development; this is a zero-to-one setup course, not a power-user optimization guide.
TL;DR

The full version, fast.

Hermes Agent is an open-source, self-improving AI assistant from Noose Research that runs on your own VPS and reaches you anywhere through Telegram, Discord, or Slack. It rests on five pillars: persistent memory files that carry context across sessions, reusable skills written as markdown recipes, a soul file that defines personality, cron jobs that turn it from reactive to proactive, and a self-improving loop where corrections become durable skills and memory. Set it up with a Hostinger VPS using the one-click Docker install, authenticate through your ChatGPT subscription to avoid API costs, and connect Telegram via BotFather. Immediately sync everything to a private GitHub repo as a backup, store API keys in the .env rather than chat, and let one agent grow before splitting roles into separate containers.

Members feature

Chat with this breakdown.

Modern Creator members can chat with any breakdown — ask for the hook, quote a framework, find the exact transcript moment. Unlocks at T2: refer 3 friends + add your own API key.

Create a free account →
Chapters

Where the time goes.

00:0003:19

01 · Live demo intro

Shows live Hermes in Telegram: cron jobs, voice replies, hyperframes video the agent self-generated. Hook and promise established.

03:1907:36

02 · What is Hermes + comparison to Claude Code and OpenClaw

Open-source MIT from Nous Research, 140K GitHub stars. Mental model: Claude Code = desk work; Hermes = on the go. Comparison breakdown of all three tools.

07:3616:20

03 · The Five Pillars

Memory (user.md + memory.md), Skills (YAML front matter + Skills Hub 520+ community skills), Soul (soul.md personality), Crons (natural language scheduling, fresh isolated sessions), Self-Improving Loop. Each shown as Excalidraw diagram.

16:2025:30

04 · VPS setup on Hostinger

KVM 2 plan, Ubuntu 24.04 LTS, Docker one-click install vs root install. Nate strongly recommends Docker for agent isolation. Shows Claude Code VPS-agents management project pattern.

25:3033:00

05 · Onboarding + Telegram connection

Choose OpenAI Codex (cheapest, uses existing ChatGPT subscription). BotFather bot creation. Set allowed user ID. Launch CLI. First voice message auto-builds user.md.

33:0043:13

06 · GitHub backup + first cron job

Secure API key flow: hermes config set in VPS terminal, NOT chat window. Creates private repo. Auto-generated nightly-github-sync skill + midnight cron from natural language request.

43:1346:20

07 · CLI vs Telegram mental model

CLI = cockpit (deep work, slash commands, context visibility). Telegram = remote control (quick tasks, voice, scheduled reports). Same agent, same brain — Telegram hides context management.

46:2050:30

08 · Best practices + security

Treat agent like an intern: narrow API scopes, own accounts per agent, VPS firewall via Hermes research, nightly security audit cron. Context compression demo at 167K tokens.

50:3058:22

09 · Scaling multiple agents

Each agent in own Docker container. Decision tree for when to spin up a new agent. Bad pattern: one mega-agent with all keys. Good pattern: Personal Manager Hermes routing to specialist agents.

Atomic Insights

Lines worth screenshotting.

  • Hermes Agent's five core pillars are memory, skills, soul (personality configuration), crons (scheduled automations), and a self-improving loop that writes and updates its own skills.
  • Claude Code is for sitting at your desk doing knowledge work; Hermes is for being on the go and having an agent that wakes up immediately and responds through Telegram.
  • Hermes comes with 684 total skills and 91 pre-installed out of the box — Excalidraw diagrams, voice transcription, and video generation are available without any additional configuration.
  • Hermes running on a $5 VPS via Hostinger is the cost-optimal setup for 24/7 availability without tying up your local machine.
  • A daily AI news briefing, YouTube comment monitoring, school community engagement, and morning business summaries are all examples of production crons running inside one Hermes instance.
  • When you ask Hermes to make a video and it cannot do it well the first time, it researches the correct tool, installs it, and produces a significantly better second result — the self-improvement is observable.
  • Hermes can respond to YouTube comments using a transcript-aware agent that has full knowledge of the video's content and the creator's background.
  • The installation is a one-command setup — the agent provisions itself with tools, creates its memory database, and connects to Telegram without manual configuration of each component.
  • GitHub backup automation ensures that all of Hermes's learned memory, custom skills, and configuration is version-controlled and recoverable.
  • Multiple specialized agents (one for business research, one for content, one for personal tasks) can be scaled from a single Hermes instance using the same infrastructure.
  • Hermes's SQLite memory database is searchable in real time — even tasks that did not make it into long-term memory can be found by searching the full conversation log.
  • Asking Hermes to do an audit of its own security setup is the correct way to verify that API keys are stored safely and that the configuration is hardened.
Takeaway

Your agent is only as good as its context files.

Steal this system

Nate's Claude Code VPS-agents project — one repo, one .env per agent, all passwords and IPs in one place — is the missing organizational layer most builders skip on day one.

  • Create a Claude Code project called vps-agents right now. One subfolder per agent. .env with IP, root password, admin creds, API keys.
  • Five pillars first, tools second. Before installing anything, write user.md and memory.md. The agent is useless without durable context.
  • Pass API keys via 'hermes config set KEY value' in the VPS terminal, never in the chat window.
  • First cron = nightly GitHub backup. Natural language request, Hermes builds the skill automatically. Do this on session one.
  • CLI for building, Telegram for running. Use Claude Code to set up and debug; use Telegram when you're walking.
  • One agent, one job. Start with your personal/manager Hermes. Spin off specialist agents only when you hit the decision tree criteria.
  • Correction + memory = the actual training loop. When the agent gets something wrong twice, correct it on the spot and tell it to update the skill or memory.
Glossary

Terms worth knowing.

VPS (Virtual Private Server)
A rented computer in a data center that you control remotely. It gives you a dedicated slice of CPU, memory, and storage to run apps, services, or agents around the clock.
Hermes Agent
An open-source personal AI assistant from Nous Research that runs on your own infrastructure, supports skills, memory, and scheduled automations, and can be reached through messaging platforms like Telegram.
Skill
A reusable instruction file (skill.md) that tells an AI agent how to perform a specific task consistently. Acts like a recipe the agent follows so the same job produces the same quality every time.
Cron / Cron Job
A scheduled automation that runs at a set time or interval, such as every morning at 6 a.m. Agents use crons to handle recurring work without being asked each time.
Soul.md
A markdown file that defines an agent's personality, tone, and voice. It shapes how the assistant talks so different agents on the same system can feel distinctly different.
Memory.md / User.md
Markdown files that store durable facts about you and your environment so the agent does not start from scratch each session. User.md holds personal style and preferences; memory.md holds project and context details.
Agents.md / Claude.md
A per-project context file (named agents.md for Codex, claude.md for Claude Code) that describes the project's goal and structure so an AI coding agent has the right working context loaded.
Stateless
A property of large language models where each session starts with no memory of previous interactions. Persistent files like memory.md exist to compensate for this fresh-start behavior.
Progressive Disclosure
A design pattern where an agent only loads the full contents of a skill when it actually needs it, using short metadata to decide. This keeps the working context lean and avoids bloat.
YAML Front Matter
A small block of structured key-value data at the top of a markdown file, fenced by triple dashes. Agents read it to learn what a skill is for and when to invoke it.
Context Window
The maximum amount of text, measured in tokens, that a language model can consider at once. Once the limit is hit, older content must be summarized or dropped.
Auto-Compaction
An automatic process where an agent summarizes earlier parts of a long session to fit within the context window. It preserves continuity but may lose detail.
Context Rot
The degradation of an AI's response quality as a session's context grows too long or cluttered. Important instructions get diluted and the model starts missing or confusing details.
CLI (Command Line Interface)
A text-based way to interact with software by typing commands in a terminal. Many agentic tools expose their fullest controls and slash commands through a CLI.
Claude Code
Anthropic's terminal-based coding assistant that lives next to your code and is driven interactively by a developer. Often used as a daily driver for hands-on knowledge work.
OpenClaw
An open-source agent project, created by Peter Steinberger, designed for running AI assistants on personal infrastructure with messaging integrations. Often compared to Hermes Agent for similar use cases.
Codex
OpenAI's coding agent tooling and accompanying CLI workflow. Uses an agents.md file to describe project context, similar to how Claude Code uses claude.md.
NemoClaw
An enterprise-focused agent stack built by NVIDIA on top of the OpenClaw open-source project. Targets larger organizations rather than individual hobbyists.
Open-Source Model
A large language model whose weights are publicly released so anyone can run it locally or on their own server. Examples include Qwen and Llama, useful when privacy or cost is a concern.
Docker / Docker Container
A lightweight, isolated environment that packages an application with everything it needs to run. Multiple containers can live on one server without sharing files or credentials.
Resources Mentioned

Things they pointed at.

Quotables

Lines you could clip.

00:03
Hermes agent is one of the most powerful AI agents that I've ever played with.
Strong authority opener, no setup neededTikTok hook↗ Tweet quote
04:22
Cloud Code is still my daily driver. That's where I do 90% of my knowledge work throughout the day.
Precise self-aware positioning — doesn't hype Hermes at expense of credibilityIG reel cold open↗ Tweet quote
08:11
If you guys have ever seen the movie Memento — that's kind of like how agents work.
Best explanation of stateless AI in 10 wordsnewsletter pull-quote↗ Tweet quote
43:50
CLI is the cockpit. Telegram is the remote control.
Memorable two-line framework, immediately usable standaloneTikTok hook↗ Tweet quote
58:10
This isn't a tool you finish setting up. It's a teammate that you keep using and you keep training.
Perfect closer — reframes the product philosophyIG reel cold open↗ Tweet quote
The Script

Word for word.

metaphoranalogy
00:00Hermes agent is one of the most powerful AI agents that I've ever played with. So in today's video, I'm gonna take you from absolutely nothing to being able to get one set up. And by the end, you're gonna understand exactly how to actually get the most out of the super powerful AI agent.
00:11This is the landing page for Hermes agent. It is an agent that grows with you, so it has, like, sort of that self improving loop with skills and stuff. So it's very, very cool.
00:19And it's a lot easier to set up than you'd think. We're not gonna have to use a Mac mini or anything. I'm gonna show you how you can just set one up on a private server.
00:24Now this thing out of the box is already super powerful. If I go to docs and then I click on skills, you can see that there's, like, 684 total skills, but there's 91 that are already basically just built in once you install Hermes.
00:36So for example, you can see that it generated me some Excalidraw diagrams, which we'll look at in a sec, but I didn't have it install any sort of Excalidraw skill. It just had that already. And I never gave it a transcription skill or a voice skill, but take a look at this.
00:48Hey there, sir. Can you just go ahead and tell YouTube who you are, what you do, and what some of your crons are? By the way, when I say cron, that basically just means, like, an automation.
00:56It's a scheduled automation. And don't worry, we're gonna dive into all of that later in the video. I'll also talk about Hermes compared to Cloud Code, compared to Open Claw, the differences and why in this specific video I'm going with Hermes.
01:07So you can see that it shot back an actual voice note as well as text. So this is a full minute and sixteen seconds. I'm not gonna play the whole thing, but let's take a quick listen.
01:14Here's a YouTube friendly version. Hey, YouTube. I'm Hermes' agent.
01:17I'm Nate's AI assistant running on his own infrastructure. I'm not just a chatbot in the browser. I can use tools, remember preferences, write reusable skills, run scheduled automations, search past conversations, work through Telegram, and help manage real workflows.
01:26The way I Alright. Thank you so much, Hermes. But, anyways, take a look at some of these crons that my Hermes is running.
01:31A daily AI news briefing, which is posted inside of my school community, YouTube comment monitoring. So if you guys have noticed on my YouTube videos lately, I've had an AI agent that has access to the transcript and knowledge about me, and it's been responding to your guys' comments. And that is this Hermes agent.
01:44School community engagement, morning business summaries, server checks, research reports, follow-up reminders, and that's just some of the crons that I have this agent working on. And if you guys have seen my videos on my channel about hyperframes with Claude code, basically to edit videos, I wanted to see if Hermes could do that.
01:57So I said, hey. Can you make me a video using hyperframes about what Hermes agent is, how you work, how you remember things? It ran all of these different things.
02:04So it has a skill called creative. It had a skill called manim video. It was searching for hyper.
02:09It ran all these terminal commands, and it also you can see here, it's using vision to analyze the actual video to see how it turned out. Now its first pass wasn't great. It didn't even use hyperframes.
02:19I'm not exactly sure what this used. But as you can see, some of the spacing is off. It's not amazing, but, you know, it's not terrible for the fact that I just said, hey.
02:25Make me a video. So basically then I said, What tool did you use? I wanted you to use hyperframes, so it had to look into it.
02:31It did the research on its own. It asked me if it could install hyperframes. I said yes, and then it comes back with a video that's actually much, much better.
02:37So I'm not gonna play the whole thing, but here's the video that it actually came up with. It looks a lot better. The spacing is a lot better.
02:43It just has these diagrams that actually, like, don't overlap, and they're not going out of bounds. So think about this. One natural language request.
02:49It did the research. It wrote this, and all I said, as you guys can see, is, hey. Make me a video about what Hermes agent is and how your memory and skills work.
02:58It should feel fast paced and exciting. So that's one mindset shift here is if you are confused about anything to do with Hermes, Hermes probably understands it the best, and it can also look up its own documentation. So just ask it, hey.
03:10Can you do this? If you see something cool on x, grab that x post, give it the link, say, hey. Read this, and then help me implement it.
03:16It's really going to be your best friend here by just brainstorming, and then you tell it to go figure out how to do it. Okay.
03:21So that was just a quick demo about what Hermes agent looks like when I'm using it through Telegram. You can use it through tons of other platforms as well. Let's just actually dive into this video here.
03:29Hermes agent from zero to your own assistant. Okay. So what is Hermes agent?
03:33It is an open source AI agent from Noose Research, and it is an MIT licensed, like I said, open source project. Right now, has a 140,000 GitHub stars, and that is growing really fast. It's one the fastest growing open source projects on GitHub.
03:45It runs on your own infrastructure, whether that is a Mac mini, a laptop, a VPS. It can run inside a Docker container, wherever you wanna put it. It can even run on Android via Termux.
03:54There are tons of different messaging platforms. I'm gonna be showing you guys Telegram today. You could also do Discord, Slack, WhatsApp.
03:59You could even do iMessage if you wanted to connect it to that. And really the big thing that got me interested in trying it out was the self improvement over time by writing its own skills and updating those. And it's kind of built on top of five main pillars, which I'm going to talk to you guys about in just a sec here.
04:13But before we get into that, I wanted to cover Hermes versus Cloud Code versus Open Claw and kind of even like Codex too. So this is just my comparison of the way that I compartmentalize them in my head.
04:23So Cloud Code is still my daily driver. That's where I do 90% of my knowledge work throughout the day. But there's a clear distinction in my mind between the way that I'm gonna use Cloud Code and OpenClaw or Hermes.
04:32So this is obviously Anthropic's coding assistant. It lives in your terminal next to your code, and you basically sit there and you drive it. You could enact like dispatch or remote control to use it on the go, but honestly, I don't really do that too much.
04:45The way I think about Cloud Code is when I'm sitting down at my desk or I'm on my laptop and I'm doing work. Now OpenClaw is where I started to play around with it. Did the training video if you guys saw that with OpenClaw.
04:54And the way that I started to think about this was I'm not gonna use OpenClaw or Hermes to sit down and do, like, my knowledge work and my coding. I'm gonna use OpenClaw and Hermes when I'm on the go, when I wanna be on my phone and be able to set up crons really quick and have everything kind of just be managed right there in Telegram where I can talk to something and it wakes up immediately and responds to me back.
05:13And it's truly been a game changer for being able to go on a walk and still do work or, you know, be out and about. This was created by Peter Steinberger. He then joined OpenAI, and OpenClaw is still an independent, once again, also an open source project that has over 350,000 GitHub stars now.
05:28There's a much larger team around OpenClaw compared to Hermes, and they are also doing frequent updates. Also, NVIDIA built NemoClaw on top of OpenClaw as a separate enterprise stack.
05:37Now Hermes and OpenClaw may seem kind of similar when you just kind of take a first glance, but there are a lot of differences. Hermes is also lighter, faster, focused on self improvement, and they've come out and say like, hey. You know, this is built for people that wanna tinker with open source models, Quen, Llama.
05:51I'm not necessarily using Hermes right now with open source models, but definitely something that I'm gonna start experimenting with. But one of the main reasons that I started kind of switching over to Hermes was my OpenClaw was just kind of breaking a lot. They would push a lot of updates and changes, and sometimes it would just like crash my OpenCLAW, and I'd have to get in there and fix some stuff.
06:07And Hermes doesn't seem to do that as much. Fingers crossed. But a lot of people are using these altogether, and I'm definitely using Cloud Code with Hermes together for sure.
06:16Because, I mean, if you think about what are your coding agents actually working in, they're working in some sort of directory, which is just a file structure, a folder structure. And all of that, we wanna sync to GitHub. So if you have a GitHub repo of all of your knowledge, all of the business context, all of your skills, you can pick out any of these agents, even codecs, and just plop it on top of your GitHub repo, and now you can play with all these different tools and see how they interact.
06:38There's just a little bit of difference sometimes with terminology, whether that's like a claud.md or an agents.md or, you know, a couple little tiny things, but each agent understands its own terminology. So if you say, hey. Take this repo and make sure you can use it, it should be able to make all the changes for you very quick.
06:52And I'm gonna show you guys a way that I use Cloud Code to help me manage all of my Hermes agents and OpenClaw agents, which makes me stay way more organized. I never forget things. And trust me, it's definitely a game changer.
07:02So anyways, before we jump in and we start doing the install and the onboarding to Hermes, I just want you guys to understand some of these, you know, main concepts to think about, which are the five pillars. And what I did is I actually copied this exact five pillar structure, which by the way, my Hermes agent helped me think of.
07:18I copied this, I pasted it into Hermes, I scroll up a little bit here, and I said, hey, can you just use the Excalidraw skill to generate diagrams for all of these and make sure that all of this information is correct? It gave me a ZIP file right here, and I took that ZIP file, I put it into Excalidraw, and let's now take a look at these five pillar diagrams.
07:36Okay. So the first pillar is memory. Memory is the small, durable context that Hermes should carry across sessions.
07:43So there's two main files to be thinking about when it comes to memory. The first one is the user dot m d. Who you are, your style, your preferences, and things that you don't like.
07:51The second one is the memory dot m d. This is like the environment, the projects you're working on, some of your business context potentially, and these two files get loaded at the session start so that it always kind of knows what's going on. Because the way that you wanna think about AI in general is that it wakes up stateless, meaning it wakes up with basically no memory.
08:09If you guys have ever seen the movie Memento, that's kind of like how agents work. So it's your job to make sure that the context that gets loaded in, cloud dot m d, user dot m d, memory dot m d, agents.md.
08:19It's your job to make sure that those files are pretty holistic so that every time you wake up an agent, you don't feel like you're repeating yourself. And don't worry. These files, Hermes agent understands, and it's automatically gonna start extracting things about you and extracting things from your projects and putting these files together so you don't actually have to, like, manually consciously think about it.
08:37As you can see, the session would start. You would go ahead and start talking, building skills, doing knowledge work. And as you're starting to add tools and as you're starting to give more info and make changes, it's going to automatically come back and update these files for you.
08:49Now that doesn't mean to just be completely oblivious to it. You still wanna say, hey, by the way, chuck that in the memory. Or hey, make sure you don't ever do this again.
08:55Throw that in the user.md. Stuff like that. And you can see the Ascala jaw diagram wasn't perfect.
08:59I had to expand that a little bit. But here's some beginner nuance. Save durable preferences and facts to memory.
09:04Use session search for old conversations. So it's basically able to store all of your sessions into a SQLite database, and it can go search through those. And do not store secrets or temporary task status.
09:14So we'll talk about API keys and the way that you should be putting them into your Hermes agent responsibly once we get into the setup. So that is the first pillar, memory. The second pillar we have here is skills.
09:24So skills are procedural memory, reusable playbooks for how to do a task well. If you guys have already been working with Codex or ClaudeCode or all these other things, you probably understand skills, but I'll give you the real quick lowdown. Basically, of a skill as a recipe.
09:35Someone asks you, hey, can you make me some chocolate chip pancakes? You wanna pull up a recipe, and then you're gonna follow that recipe to a tee. That's And how your pancakes turn out the same and, you know, yummy every time.
09:46Otherwise, if you were just going off of memory of how to make the chocolate chip pancakes, sometimes they might be a little more burnt than the other times, sometimes they would have less chocolate chips than other times. You just want them to be consistently done in the same way, and that is your skill or your recipe. So all of these skills are in a file called skill dot m d.
10:02They have a YAML front matter, which is basically just like a little front matter that that tells the agent, hey, this skill does this, so use it for x, y, and z. And that's basically a concept called progressive disclosure, which helps make sure that you're not loading full skills, full context bloat into a session if you don't actually need to use that skill.
10:19So Hermes will understand the use case for skill. It will then invoke the skill and read it, and then it will ship that information into the session and then invoke the skill and do what you need.
10:29And what's cool about the Hermes agent is that if you're doing things frequently, if you forget, hey, let's build a skill out of this, it will analyze conversations, it will analyze your workflow, and it will turn things into skills. And then of course, as you use skills more and more, if you're giving feedback, it's going to update those skills as well.
10:42As you can see, these Excalidraw diagrams keep messing up right here, which is basically just the beginner nuance. So memory equals what to remember. Skill equals how to do it again.
10:52Hermes can create or patch skills after real work. So super cool. And, of course, there's a skills hub.
10:58So any skills you've already built can be used in Hermes, or you could go to the skills hub and you can see that there's over 520 community skills. There's different categories, so you can definitely search through here to see what you can add to your Hermes to make it even more powerful.
11:11It looks like there's actually 16 right here that are anthropic official skills. We have canvas design, front end design.
11:19We have a skill creator skill. So you can pull all of these into your Hermes agent super, super easily. You just have to basically run this command, or, you know, you could drop in this URL to your Hermes agent and say, hey.
11:30Install this skill right now. Alright. So that's pillar two.
11:32Pillar three is the soul. Now soul m d basically shapes the assistant. This shapes your Hermes agent.
11:38So that if you have six different Hermes agents, they all have basically a different vibe. Some can be concise.
11:44Some can be rude. Some can be I don't know.
11:47But anyways, the soul. Md is another markdown file that gets put into the context of the agent, and now it's able to just have a bit of a personality. So if you're also letting other people interact with your Hermes, they will feel the personality.
11:58If your Hermes is, you know, commenting on YouTube videos like mine, there will be some sort of personality. The one in my YouTube comments, I told it to be, like, very sarcastic, but not rude. And by the way, guys, it's not super super important that you need to, like, know what a skill file looks like or know exactly what a markdown file looks like, but don't get intimidated.
12:16Here is a skill. So this is skill dot md. This one's called generate image.
12:20So everything in between these two lines up here, that is the the YAML front matter that I was talking about. This is what your agent reads in order to understand, okay, should I use this skill or not? If it then decides, yes, I should use this skill, then it's going to read all of this other stuff, which is just markdown.
12:35And markdown just basically means that it's using, like, headers and bullets, and it's just a way for agents to read structure within a block of text. Like, this means bold.
12:44Anyways, that is what a markdown file is, that's what a skill file looks like. So a sole file would look like that, but there wouldn't be that YAML front matter. But as you might have guessed, the sol file will also evolve over time based on the feedback that you're giving your Hermes.
12:57So what is pillar number four? This is where it gets super cool, and this is one of the main value props for me over something like Cloud Code is the fact that I can just say, hey. Spin up a cron job to do this at this time, and it just does it.
13:09Cloud Code, obviously, you have your routines. You have your loops, but that usually requires you to leave some sort of infrastructure on. Unless you're using, like, the that new Cloud routine, but you're only limited to 15 of those, at least on the the max plan, 15 of those a day.
13:22So once again, Hermes doesn't replace Cloud Code for me, but it's kind of my on the go spin up things really quick, and that's why I love it. So cron's turn Hermes from reactive into a proactive scheduled automation, and you're still getting that full agentic loop if you want it. So you could say in natural language, hey.
13:37Every morning at 6AM, I want you to do x, y, and z. It will go ahead and use a skill and use its tools to create that cron job.
13:44And then when that time hits, it will basically invoke, a fresh isolated session. It doesn't inherit any of the context that you're currently, you know, having that conversation about, and then it will just run that skill. After that happens, it will send that result back to the original chat, and it will maybe update any local files or do whatever it needs to do based on the skill requirements.
14:02So some useful pieces of advice down here. Context underscore from is to pass one job output into another. Workdir is, you know, work directory, and it runs tools from a project folder.
14:13And then you can do this flag for no agent, which is just a script. So, hey. I just want you to run this Python script.
14:18I don't want the agentic harness loop inside of that. I just want the script to be ran. So if you think back to the WAT framework, workflow, agent tools, you'd basically just be deploying the workflow on something like modal.
14:28You're not deploying the agent as well. So safety nuance, cron sessions cannot recursively create more cron jobs, so the prompts need to be self contained. And if any of this is starting to feel a little bit overwhelming, I just want you to understand this terminology so that when we hop into setup and the onboarding, it all clicks a little bit better.
14:45So just stick with me. Alright. And then the last pillar here is the self improving loop.
14:49Hermes improves when useful experience gets persisted as memory, skills, and searchable history. So if you think about the loop like this, you do the work, the agent learns. You save things to memory or to agents dot m d or to, you know, user dot m d.
15:02And then you turn those repeatable steps into skills or your preferences into more memory. And then the agent's able to search past sessions when old context matters, and then you basically just go in that loop over and over. So the more you use your Hermes agent, the better it's going to get and the more it's going to understand you.
15:18So the nuance here is that automatic does not mean magic. The loop works best when the user corrects Hermes, asks it to save things to memory, and lets it create and update skills after you've done some complex work. And there is one more kind of honorable mention, which is the context file.
15:32So agents dot m d, if you're using codex, you know what that is. If you're using Cloud Code, this is the Cloud dot m d, which is kind of just like the overall project goal, kind of like the structure of the project. So this is something that you're more so gonna use if you're, like, coding in different projects with Hermes, and I would say more so if you're in, like, the terminal using Hermes.
15:51And in today's video, I'm not gonna focus too hard on the terminal. I am gonna talk about the difference between using it in the terminal or using it through Telegram or whatever other channel you use. But this is not gonna be a deep dive on Hermes in the terminal because once again, any terminal style work that I'd be doing, I would just be doing that in Cloud Code.
16:06That's the way that my workflow currently exists. But anyways, this honestly works pretty similar to the way, like, the memory or the soul file works, but those are all global.
16:15And this one's more of like a local project. This is what we're working on in this contained environment. So anyways, hopefully, you guys aren't too bored yet.
16:23Let's actually go ahead and get your guys' hands on. I am gonna say before we jump into this, all of this video, I'm gonna have broken down into a resource guide, which might even be helpful for you to just give your Hermes agent the document and say, hey. Help me get all this set up.
16:36But if you wanna access that free resource guide that breaks down everything that we're gonna talk about today, that will be in my free school community. The link for that is down in the description. You'll go into here.
16:43You'll click on classroom. You'll click on all YouTube resources, and you'll be able to find every doc, skill, GitHub repo, everything I've ever dropped for free on YouTube right in there. Okay.
16:52So now let's get into the setup of Hermes agent. Alright.
16:56So the way that we're gonna be doing this is on a VPS, which stands for a virtual private server. Now I'm gonna be using Hostinger for my Hermes agent. I have been using Hostinger for hosting n n n and for OpenClaw and for Cloud Code.
17:07So this is my VPS provider of choice. There's a link in the description if you guys wanna go here. You can see there's also basically, like, a one click install for Hermes agent when you spin up one of these VPS.
17:16So very, very cool. Now the first thing you have to do is choose the plan. So on here, can see KVM one, two, four, or eight.
17:23I'm just gonna go ahead and start with two for now. This basically just changes, like, how much CPU and RAM you have and your bandwidth in your server. So you could definitely start on one, and if you need to just scale up, you can scale up later.
17:34But I'm just gonna go ahead and pick KVM two, and then I'm just gonna go ahead and click on deploy. So you have to choose your period. So twenty four months, twelve months, or one month.
17:43I think that you should just probably go for the annual at least because you're gonna save more money. But also, you know, you pay about a $100 and then you have this just set up forever. And you can also or for a year, I guess.
17:54But you can also deploy multiple different Hermes agents or even multiple OpenClaws and Cloud codes on your VPS as long as you can support the RAM and the CPU. And if you choose an annual plan, so twelve months or twenty four, you can use code NATE HERC, and you can save an additional 10% on that plan.
18:10So you can see right here, it says Hermes agent auto deploys with your VPS. You can also get daily auto backups, and then you're gonna choose your server location. And then once you've made your payment, you just have to go ahead and get started with setting up your VPS.
18:21So you'll choose your server location. Click on next. This is where you can see the actual OS that you wanna use.
18:26So I'm gonna do Ubuntu, and I'm gonna do 24 o four LTS. What And what else you can see here is that there's tons of different apps that you could also deploy, NNN, NemoClaw, and this is where you could come in here and you could search Hermes Agent as well.
18:37And if you do wanna do the one click install, then go ahead and do Hermes Agent. But if you wanna do it on the root of your VPS, then just stick with me here. I'm gonna do a breakdown of the differences there in just like a minute.
18:45So if you wanna wait until you see that, just wait for a sec. So you're gonna have to go ahead and create a root password. I'm gonna go ahead and click next.
18:52If you forget that later, you can obviously just regenerate it. So it's not a huge deal, but obviously, you probably wanna remember that.
18:58You can add a malware scanner for free, so I'll just check that box and hit finish setup. And now this will take just a couple minutes to actually spin up your VPS. So while we're waiting for that, let me talk about the difference between setting it up kind of with the one click or setting it up directly at the root of your VPS.
19:14Okay. So a VPS is basically just a computer in the cloud that you will be renting from Hostinger. You will get an IP address and you will get a password in order to basically SSH in, which means you were just, like, getting into that virtual private computer so that you can manage the files and install things, stuff like that.
19:30So if you install Hermes directly on the VPS, it will be at the root level. And if you install it using the one click Docker image, it will be in a containerized Docker environment within your VPS.
19:40So I know that might make, like, no sense at all, but here's a quick visual. Your VPS has data. It has, like, services.
19:46It has other files, and then you could also put the Hermes agent right there, or you could have all of your files and stuff, you know, locked into the root of your VPS, and then you can spin up an individual container for all of your different Hermes agents or OpenClaw agents within the actual different Docker containers.
20:02So for the sake of the video, I'm gonna be doing the Docker container approach because it's just a one click install and it's much simpler, but even the root VPS is very, very simple. Now here is something that I am very, very strong on that some people might disagree with me and think that it's over engineering, but I think it's like, why would you not do this?
20:19For all of my VPS agents, I have created a my own Cloud Code project to help me manage them. So right here, can see this is called Upit agents. If I click on VPS agents, you can see that I have my bull, which is my trading bot.
20:30I have my main Hermes. I have my Upit OS, and I have Klaus, which was, my main personal assistant. And so for each of these, I can see my passwords and my environment variables, and I can see, you know, like, what's the IP address of this VPS, and how do we have this set up in the docker or at the root, and it has an information about security and integrations.
20:46And basically now, I have one clean place to manage all of my different agents I've got a lot of different VPSs running, and I don't wanna forget my passwords, and I don't wanna forget, like, which agent is on which server. So I just have this project set up. So I would definitely recommend you guys do this.
20:59And I'm actually gonna do this live with you guys here to show you what I mean. So alright. We are gonna go ahead and set up a new VPS, and we're gonna do a new Hermes agent.
21:07So in the VPS underscore agents folder, create a new subfolder called YouTube Hermes. And then we're gonna go ahead and set up, like, you know, like, the passwords and the configuration stuff just so that you can help me make sure we maintain this project well. Now the reason I like to do this is because do you think that I like understanding VPSs and terminal commands and CLIs?
21:26Not at all. And I'm not very good at it. So who's better at that than me?
21:29Hermes agent and Cloud Code. And sometimes if you're running random commands and you don't know what you're doing, your Hermes agent might, like, shut down. And now I have Claude code to help me boot it back up if I need to.
21:40And this may sound scary and overwhelming, but trust me, it is so, so simple. This is just a good best practice to keep yourself organized. Okay.
21:47So switching back over to our Hostinger dashboard, you can now see that we have our VPS ready. So if I click on manage VPS, this opens up our main dashboard. Couple things to look at.
21:58So first of all, have our root access. This is what we can actually give to Cloud Code. So if it needs to root into our VPS and, like, look at our passwords or help us fix things, it can do so.
22:10It would just need the password as well. So here's where you can change that root password. Down here, you can see your current plan.
22:15You can see when it expires. You can see your, you know, your analytics, and server data will pop up, and it will show you if you need to, like, upgrade to a higher plan. And also you can see on this left hand side, these are all the different servers that I've got running, which is why I want a Cloud Code project to help me keep that organized.
22:29So the other thing you can do is you can change the host name. If you come into here, you just have to have it end in a dot something. So if I just do YouTube Hermes and then I do dot VPS, I should be able to get that to go through.
22:42And now this host name in my dashboard will change to that so I can just keep myself a little bit more organized. Okay. So the two methods.
22:49Right? If you wanna do this at the root, you would basically just open up a terminal or Hostinger gives you a terminal right here, which means I click on this button. This opens up a terminal that's already SSH'd into our project.
22:59You can see it's root at YouTube dash Hermes, and this is where you would just go ahead and go to Hermes, and you would just run the install command. So you would come down here and you would install with this one line command, and then you'd go ahead and do Hermes setup and start configuring your Hermes agent.
23:13But like I told you guys today, what we're gonna do is the one click install. So we would go over to our Docker manager, and this is where we'd go ahead and click install.
23:20And remember how we have our main server, but if we wanted to spin up a bunch of different Docker containers inside of this server, we could do so. And that's how you could keep, like, different Hermes agents in here and kind of keep them separate.
23:30Okay. Well, this says it's gonna take ten minutes. I doubt it.
23:32Okay. Yeah. It just finished up.
23:34So I'm gonna click compose. I'm gonna go to one click deploy. And then when this loads up, this is where I will search for Hermes, and I will click on select.
23:43Now here is where you have to set an admin username and an admin password for your Hermes agent. I'm just gonna leave this as default. I'm gonna copy this password, and what I'm gonna do is I'm gonna go to my ClogCode project, and I'm gonna save the admin password and username into this new one.
23:57So right here, you can see it made this one called YouTube dash Hermes. And what I wanna do is I'm gonna add a new file in here, call this one the dot ENV. And then in this dot ENV, I'm basically just gonna do admin underscore username equals and then admin underscore password equals.
24:16And then I'm gonna paste those two things in here. So this is where I can keep myself organized with that. Alright.
24:21So I've saved that to my dot ENV file, and now I can click deploy. This And is gonna spin up that container. And now if we wanna access this, all we're gonna have to do is click on this little button right here that it will give us, which will basically, like, put us into that container.
24:35And we can chat with Hermes, we can do the onboarding, we can do everything in there. But this main terminal button, that is gonna take us to the root of our VPS, not inside of this Docker container. I hope I'm not losing you guys.
24:45I know that it may seem like I'm an expert at this stuff, but truly, I'm all self taught. I ask Hermes, hey. Explain this to me.
24:51I ask Claude Cote, hey. Explain this to me. And that is how I've learned all this stuff.
24:55So it's really not too bad. Okay. So while that's getting set up, let me go back into our project that we manage our VPS agents on.
25:01Let's answer some questions. So has the VPS already been provisioned on Hostinger? I'm gonna say, yes.
25:06It's already been provisioned. What's the primary scope for this YouTube Hermes? I'm just gonna say other for now.
25:13You don't really need to know that yet. Right now, we're just setting this up as a demo. Alright.
25:16Telegram bot. We will do a new bot via Botfather. Yep.
25:20And for the LLM provider, we will be using Codex GPT OAuth. So I will show you guys all of that as we get onboarded.
25:27By the way, the speech to text tool that I'm using right here is called Glido. It is our speech to text startup. I fully transitioned over from Whisper to Glido, and I am now official member of the Glido team.
25:36It's faster. It's completely private, and it's way more gentic. So check it out.
25:40Link in the description. Okay. So now you can see that this Hermes agent thing is set up.
25:44All I have to do now is click on open, and this is where you have to go get the admin username and password that you just saved. So go grab that and put it in. And once you put that in, you basically just start the onboarding right away.
25:54So we're gonna do our quick setup, so I'm just gonna go ahead and hit enter. We then have to choose an inference provider. So as you can see, there's tons of different options, like a ton of different options.
26:01But what I wanna do is I wanna use OpenAI Codex. This actually lets you take your ChatGPT subscription, so $20, a $100, $200 a month, and use that inside of Hermes agent instead of API keys. So it's gonna be the cheapest option by far besides using, like, you know, an open source model.
26:17So I'm going to choose OpenAI Codex. Now what happens is it makes you go to this URL. So I'm gonna click on that.
26:23It has you sign in to your ChatGPT account, and then you have to give it access. And then you have to go back into the terminal. You're gonna grab this, what is that, a nine digit code and copy that, and then paste that into there.
26:34Hit continue. And when you go back to your VPS, you should be fully signed in, and it should authenticate. There you go.
26:40Log in successful. We get to choose a model now, so I'm obviously gonna choose GPT 5.5. Now we're gonna set up our channel.
26:46So set up messaging now. I'm gonna choose that. We're gonna go ahead and hit space to hit Telegram.
26:52This is where you could also choose some other things if you want, but for now, I'm just gonna go Telegram and hit enter. And now it asks us for a telegram bot token. So what we have to do in our telegram is we have to start a new conversation with the bot father to create a new bot.
27:05So here I am in the bot father. I'm going to do slash new bot. It asks us for a name.
27:10This is gonna be YouTube Hermes, and then it asks us for a bot username. So I'm gonna try YouTube Hermes.
27:16Oops. YouTube Hermes bot. Does that work?
27:18Username is taken. Okay. An absolutely super ugly name, but that works.
27:23And now this is the token right here that you're going to need to copy and you're going to give to your VPS down here. So I'm gonna go ahead and paste that in.
27:31It might not actually appear. Sometimes it just does that in the terminal, but I'm gonna go ahead and hit enter anyways. So now that token has been saved.
27:37And the next thing you have to do is allow a certain user ID. So right now, I only want my Telegram account to be able to talk to our Hermes. So we have to go get our own user ID.
27:46It gives you the steps right here. You have to message the user info bot, and it will give you your number. So once again, if you go back into Telegram and just search for user info bot, it will look like this.
27:55This is where it gives you your ID. So you're gonna go ahead and copy that and paste that into VPS tell terminal thingy. So this is the home channel.
28:02I'm gonna say yes. This is the user ID I want to use for the home channel. Hit yes.
28:06And now we're basically completely set up with Hermes. What do we have available? So to start off, tool availability, we have vision.
28:13We have browser automation. We have image gen. We have text to speech.
28:17We have terminal commands, task planning, and skills. We also have different files. So here's our settings.
28:22Here's our API keys. Here's our data. Here is how we can edit configuration.
28:26So what I'm gonna do is I'm just gonna copy all of this. Right? I'm gonna take all of this, and I'm gonna go ahead and hit copy.
28:31And I'm gonna go back into our Cloud Code project, paste that in, and then just say, alright. So we just set up this Hermes agent, and here's all the information that it gave us.
28:40So make sure you save this so later if I need help with tools or skills or files, you know exactly how to help us do that. So hopefully now you guys are starting to understand the value. If you're ever getting confused on something with your Hermes or your VPS, you just open this up and say, I'm working on this agent.
28:54I need help with x, y, and z. I've actually saved myself a ton of times doing this. And also when you wanna start thinking about security and maybe getting a firewall on your VPS and locking it down a little bit, which I definitely recommend you should look into, that is something that Cloud Code is gonna help you out with big time.
29:08But Hermes can also help you out with that too. I have my Hermes agents doing, like, a nightly sweep of just making sure that things are kind of locked down in the right spots. But anyways, now you can see it says, do you wanna launch Hermes chat now?
29:18I'm gonna say yes. And this pulls up the command line interface for Hermes. You can see it's gonna load up.
29:24It's gonna let us chat with it right here, and it's gonna look kind of similar to if you use Cloud Code in the terminal. There we go. So we have our Hermes agent.
29:31I love this text up here. We can see available tools. We can see available skills.
29:35You can see there's already a ton of them. There's 85 already installed, and we're able to see our model, our context window, and how long we've been in this session.
29:43So let me just make sure that our connection to ChatGPT is working. I'm just gonna say hello, and awesome. It has given us a response.
29:48Now let's go ahead and start our telegram and see if we can get this connected. So this is the bot that I just made. I'm gonna hit start, and I'm gonna say hello.
29:56And if it's working, then we'll see a typing in the top left up here. But what you'll notice right now is that it's not working. There's no typing.
30:03So what I'm gonna do is go back into our Hermes right here and say, hey. For some reason, the Telegram connection doesn't seem to be working.
30:09I just shot the message off and said hello, and I'm not getting anything back. And look at that. It's already invoking a Hermes agent skill to understand what's going on.
30:16It's doing a plan. It's running some commands right here. So it's basically going to investigate how we make sure to get this Telegram connection all set up.
30:23Okay. So it actually just sent me a message. It says Hermes gateway is back online.
30:27If you sent hello, try it again. So we'll go ahead and try that again. Hello.
30:31And now we can see in the top left, it is typing, and it's actually able to respond. So it said that it found the issue. The gateway was stopped, it started it again.
30:39So that is perfect. Okay. So we are up and running.
30:42We can see we now have Hermes right here. So let's just go ahead and get onboarded a little bit with it. I'm gonna say, hey, mister Hermes.
30:49My name is Nate. I want you to be my ultimate personal AI assistant, so let me know what you need from me and what, you know, features and stuff that you can actually do for me and how you can make my life easier. And once again, that is actually going to be able to transcribe that audio and understand it and then respond to us.
31:07And what I love about using Hermes, especially even if you're in Telegram, you still get to see the visibility of what it's doing. So you can see its skill view. Can see it's adding some user memory.
31:16So it's saying user's name is Nate Herc. So as I'm editing this video, was like, wait a minute. How did this thing know my last name was Herckelman?
31:22All I said in the voice message was, hey. My name's Nate. And I was like, oh, that's scary.
31:27And then I realized Telegram has my full name. So yeah.
31:32And then it goes ahead and responds with a bunch of stuff. So great to meet you. I've saved your name and that you want me to operate as a serious personal AI assistant.
31:39Here's what I can do. I can do admin stuff. I can do research.
31:42I can do coding, automation, files and documents, voice. Here's some stuff I need from you. So this is where you'll probably just wanna gap to this thing for five to ten minutes.
31:51Tell it about your goals. Tell it about what you're working on. Tell it about your team.
31:54Tell it about skills that already exist that you have, and just giving it some more information so it knows you a little bit better. Now what this is gonna start to do is it's gonna start to build its own environment. Right?
32:02It's gonna build those files that we mentioned, and it's going to potentially start to build out the whole infrastructure for skills and other stuff. So the first thing that I think that everyone needs to do when they set up a Hermes agent is they need to connect it to a GitHub repo. The reason being, if Hermes goes down for some reason and the VPS is corrupted, you still have all of that saved.
32:19So you could take that repo and just wake up a new Hermes agent and sync it to that, and then it's like you didn't lose anything. So that's exactly what we're gonna do. Before I start to give you all of this information about me, I really wanna just make sure that we sync this project to a GitHub repo.
32:33So can you just do some research and figure out how that works? I can go ahead and give you whatever you need as far as an API key or information about my GitHub account so that you can create this, but I want you to set this up as a private repo for me.
32:45And so what this is gonna do, it's gonna do research. I'm gonna show you guys how we give it that API key in a safe way, and it's also going to help us figure out you know, it's gonna probably build a skill around this.
32:55And then what we're gonna do is we're gonna turn it into a cron so that every single day at midnight or something, it automatically backs up everything that we did. So every day, if we ever make changes, our repo is committing every single day automatically. You can see it's viewing different skills.
33:07It already has two skills for GitHub repo management and GitHub auth, which is awesome. It's running some terminal stuff. It's searching through some files.
33:14I'll check-in with you guys once we have an action to take. And while it's doing that, let me just show you guys. So if you've never used GitHub before, don't be intimidated.
33:21It is basically just think about it like a like a shared drive, like a OneDrive. It's a place for you to store your projects and your code bases. And that way, if you wanted to pick up on your laptop or on a different device, you could still access all of those files.
33:34So it's really important that we're gonna set up this automated backup. It's completely free to set up. Go to GitHub and get an account set up.
33:41And now we got a response here that says, okay. I checked the environment, and I researched the clean setup path. Git is installed, but the CLI is not installed.
33:49It actually said, okay. We're gonna do the API with a personal access token. So create a private repo, initialize Git locally, and add a safe dot Git ignore to make sure that our API keys and our secrets don't get pushed to this repo.
34:01Even though we're gonna keep it private, still best practice. It says I need you to send me these four things, your GitHub username, your private repo name, your Git commit identity, and your GitHub token.
34:11Before pushing, I'll make sure we do not upload secrets that are in these files, and I will also create a dot Git ignore so it knows GitHub way better than I do, probably better than you do unless you're coming from a GitHub background. So if you're curious about it, just ask it, and it has these skills to manage GitHub repos.
34:26And now what's interesting is if I actually go and give it my personal access token, it should be able to set up the repo. So I don't wanna manually click around and do that. Let's see if it can do it for us.
34:35But what I do need to do is get our token. So I'm gonna click on this link it gave us. That opens up my GitHub.
34:40I'm gonna go ahead and generate a new token. So I'm gonna do a fine grained new token. I'm going to real quick authenticate.
34:46Token name, we're gonna call this the YouTube Hermes. I'm going to just have this one.
34:51Probably you want this to never expire, but because I'm gonna delete this right after the video, I'll just keep it at thirty days. You could do public. You could do all, or you could do select.
34:59And so this is, I guess, the point where you would probably wanna make the repo if you wanted to only sync to that one. So I'm just gonna go ahead and say all repos. And then for permissions, what we need to do is we want to do contents, and we wanna make sure that this is read and write.
35:11So it can pull in stuff, but also push updates every night. We're gonna go ahead and generate that token, and I am going to now just have to copy this and show you guys how we give it to Hermes. Because what you might be tempted to do is just drop it in the chat.
35:25And honestly, like, depending on the model you're using, it might not be a huge deal, but it's just not best practice. And if you do accidentally do it and it's going to, you know, OpenAI servers, then you can just rotate it. So it's not a big deal.
35:35If you're using an open source model and it's completely local and private, then you could just drop it in because Hermes obviously will take it, put it into the dot NETV, and put it where it needs to go, which is which is nice, but then it's in the conversation history. So the way that we're gonna do this is we're actually gonna go back to the VPS, and then you're gonna go ahead right here and click on open.
35:52And what this is gonna do is obviously open up that chat, but we're gonna try to get out of the Hermes chat and just get into, like, this Docker container. So I'll hit control c. Now what I can do is Hermes config set, all caps, GitHub underscore token, hit space, and now I can paste in that GitHub token.
36:10And when I hit enter, that basically sets that in the slash opt slash data slash dot ENV. So now we have put this token into that dot ENV file inside of our VPS without putting it into the AI conversation window. And this is the way that you should be setting up all of your API keys in here.
36:27So now if I say, alright. So I just dropped in my API key for GitHub in the dot ENV file.
36:35It is called GitHub underscore token. So see if that works. And then what I want you to do is actually just create the repo for me.
36:41My GitHub username is Nate Herk AI. My commit identity can just be Nate Herk, and you can call this repo whatever you want and make sure it's private. Okay.
36:50So hopefully that works, and hopefully it's able to find that API key. Let's go ahead and just see what it does. Now once again, if this stuff down here is confusing you or if you wanna delete a key or whatever it is, then you will go to your Cloud Code project.
37:04You will give it the info it needs and say, hey. By the way, my agent is set up in a Docker container, and this is the name of the container, and here is the SSH, and help me just figure out where my files are or where my API keys are.
37:16Okay. So that worked. It found the API key, but what happened is we didn't give it permission to actually create repos.
37:21Okay. Cool. So I'm actually gonna just go ahead and create a new classic token.
37:25But remember, we can't have two tokens in there called GitHub underscore token or they're gonna clash. So I'm actually glad this happened because what this will do is it will have me have to show you guys how we can delete an API key. So I'm just gonna say to our Hermes, okay.
37:38Can you give me the command to run inside of the terminal that we can actually open up that dot ENV file that you just accessed? Because I need to delete that GitHub token so I can give you a new one. Alright.
37:50So we have this command, which is the file path for that dot ENV. And if I go to the terminal now, the one up here, which is our root level VPS terminal, not the docker one, and we paste that in, that should basically open up that file for us. Although it looks like that we haven't actually installed Nano yet.
38:06So I'm gonna say when I pasted in that first one, it said nano colon command not found. And I know that I had this, like, pasted in a little bit weird, but I think that we still would've got this either way. So now we can just use this instead apparently.
38:18So let's copy that, and let's get this pasted in here. Hit enter. And now we see.
38:24Can you just show me how we could get the nano command to work instead? And just wanna confirm that we should be doing this on the root of the VPS, not inside of the Docker container image that you run on. Okay.
38:35So that v one command was weird, and I'm normally, I use the nano, so I just asked that question. Okay. So I figured it out.
38:42What happened was the agent's running inside of a container. Right? And then we were doing looking at the root file for the dot ENV, but, actually, we needed to be looking at the dot ENV inside of that Docker container.
38:55So this is the nano command that we actually need to use that gets us into the Docker container dot ENV file. So now you guys understand that you don't have to understand, like, exactly how all this stuff works. You just have to be able to communicate clearly what's wrong and what you're seeing.
39:10So I'm gonna go ahead and delete this GitHub token, and then we're gonna go ahead and generate the new one, and you guys are gonna see me put it in the same way that we did earlier. What you do in here is you do control o, and then you hit enter, and then you do control x, and that's how you save it. But now I can go ahead and create a classic token instead of a fine grained.
39:27We're gonna do a new classic. And now we can select the scopes. And this is where you would choose exactly what actions you want.
39:32We definitely want the repo actions to be able to access public repos and invitations. And this is where you might wanna just go through and give it, like, read access to things, but not write access to everything.
39:42But as you guys can see, it's not a huge deal if you need to come back in later and increase or decrease the scope. So I'm just gonna go ahead and generate this token. We're gonna copy this, and we're gonna do that exact same thing in here where we do our Hermes config set GitHub underscore token, and then we paste that puppy in.
40:00And now that should be set. I'm gonna go back into Hermes and say, awesome.
40:04The new GitHub token that you see in that dot ENV file should be the updated one. So go ahead and create that private repo for us now. And what you see here is even in Telegram, it can ask you for access to things or permissions.
40:16So you can allow it once, you can allow it for the session, or you can always allow something. So in this case, when it is creating a repo or it's going to be, like, committing to a repo, I'm just gonna go ahead and do always allow so that in our skill we're about to set up where it does a daily sync, it just does it with no problem.
40:31Okay. So that has been created. It gave us a link.
40:33If I click on this, it should pull up a private repo right here. You can see this is Hermes personal AI assistant. It's private.
40:39And here are all the files that are already pushed into what we're doing in this project. So if you wanted to dig in, you could take a look at what is here.
40:46Now that that's created, let's go ahead and make a skill. Awesome. So I'm gonna be using you a lot, and you're gonna be creating different skills and different memories about me and stuff like that.
40:55So what we need to do is set up our first cron job, and I want you to build a skill around this. Basically, every single night at 12AM, so midnight central time, I want you to push changes to this GitHub repo.
41:07This is gonna be kind of our, you know, our source of truth. So if you have any questions about that, please ask. But otherwise, just go ahead and set up the skill and set up the cron.
41:17And it's really just as simple as that. In natural language, you say, hey, every night at 12AM, or you can even do things like what I do for my YouTube videos is I I drop a video, and then I give it the link to that YouTube video, and I say, hey.
41:29For the next twelve hours, run a cron every ten minutes to go check on comments and respond to them. So you can set up basically the same way that, like, the slash loop works in Cloud Code. You can say, hey.
41:39For the next twenty four hours, just do this every five minutes. And then once twenty four hours has passed, go ahead and kill that cron. And it can do things like that as well.
41:47You can see it's viewing a bunch of different skills. It's gonna run some terminal stuff, and then hopefully, we're gonna see it create a skill and maybe update some stuff in its memory. While this is running, there's one thing that I wanted to hit on real quick, which is basically like, what's the difference between using Hermes in the terminal or using it in Telegram?
42:03So functionally, it's really not all that different. It's the same agent in both interfaces.
42:08Telegram does not run a weaker version of it, but you have a little bit less control when you're using it in Telegram. The CLI is kind of like the cockpit, and Telegram is more like your remote control. You can also set up things like your dashboard, and Hermes has its own Kanban board so you can monitor, like, tasks, which is in my opinion, I don't use it at all.
42:26I think if I was doing, like, hardcore coding and I had different agents working on different things and I could view, you know, like, the project in a visual way, it would be super helpful. But the way that I'm using Hermes agent, like I talked about in the beginning of the video, where it's kind of like my on the go wherever AI agent, I don't really need that Kanban board.
42:42It's not too useful for me. But anyways, that's like the mental model. The CLI, which I hardly ever use, is best for, like, deep work.
42:50You're building something. You're coding. You're, you know, you're living in there as kind of like your operating system, and it just has more, like, commands.
42:58You you have the ability, obviously, as we saw in here. Can see your context better. You can manage that better.
43:03You have all of the slash commands available to you, whereas in Telegram, it's not exactly the same. And the session or the context window feels a little bit more ambiguous, and ultimately, it is. It's still doing, like, auto compaction and stuff under the hood, but that's why I'm saying, like, in Telegram, I'm not gonna be vibe coding apps and projects because I might be in context rot territory, and I don't have really the best ability to manage that.
43:24So for me, being able to say, hey. Check on ClickUp and check-in with the team and do this and, you know, do this cron, it's not like a super, super high risk operation, which is why I'm fine having less visibility into context window, session management, things like that.
43:38So that's what Telegram is best for, scheduled things, quick tasks, you know, kind of your general knowledge work that's not super, super high risk. Once again, though, same agent, same brain, same window, same skills, same memory, but you lose a lot of the visibility there. You lose a lot of those slash commands.
43:53And context. Right?
43:55It's token based. It's not message based. So the model, no matter what, is going to see your system prompt, you know, your user dot m d, your soul, all that kind of stuff, and that has to fit inside the context window.
44:07And it's going to be running those auto compactions as you get near that. So in Telegram, it's a little bit tougher to understand, like, okay.
44:14Where did the session actually reset, and how much information does it see in this current working sort of memory? So hopefully that makes sense, the difference between CLI and Telegram, and that's why if you were trying to vibe code like a hardcore app or game out of Telegram, it might just not feel as good as if you were doing it in the CLI.
44:32But anyways, let's see what's going on here. So it set up the first cron job. You can see if we look at this stuff, it was able to write some files.
44:38It was able to use a cron job create tool. It used the cron job list to see if it's there, and it also updated memory at the bottom. So that's super awesome.
44:47The skill is called nightly GitHub sync, and it's syncing to this repo. So the container is running in UTC.
44:53So instead of using a fixed UTC time that would break during daylight savings, I made it run hourly and self checked central time. So this actually syncs to midnight my time in Chicago, and it's going to mirror safe assistance state into the repo under this branch.
45:10And now what else you could do is you could copy this and give this to your Cloud Code project if you wanted it to have this visibility, or, of course, you could have your Cloud Code project look at the repo you're building. However you wanna keep things a little bit synced up, whatever makes you feel more comfortable. Because, like, you don't have to remember all this.
45:23Cloud Code can. Hermes obviously does. Just give yourself a little bit of, like, insurance there.
45:28Anyways, that nightly sync is now active, so that's great. But, alright, I think at this point, you guys really have everything that you need. You understand the pillars.
45:35You understand how to do API keys and, you know, navigate your VPS environment. At this point, it's really just a matter of figuring out what workflows make sense to put into your Hermes agent.
45:47So we wanna start talking about that a little bit. You have two main paths to have your first skill. The first one is where you describe an outcome.
45:52You just saw that what I did with the GitHub sync cron. That was super, super simple. The other path is you could write your own or you can install one from your Cloud Code projects or obviously from the skills library where you would click on a skill and you would just run this command or tell your Hermes agent to go install that.
46:09So for example, if I went ahead and just copied this URL, put it into here, and said, I want you to go ahead and real quick install the HyperFrame's official skill from here, and then generate me a five second video, which is just like you introducing yourself and showing me a little bit of your personality, if there's anything in your sold out MD already.
46:28So while that's running, we'll continue talking about it. So and then, basically, as you're asking it to do more things and as you're asking it to work on those repeatable processes, watch what happens.
46:37Like, I think that's what's really important is to watch what it's doing. You know, watch if it's viewing a skill. Watch if it's running something in the terminal.
46:43Because if you wanted to invoke a skill and it's not, then that's basically an indicator for you to say, hey. Whenever I say, you know, something along the lines of this, you should probably be invoking that skill.
46:54So go ahead and update the YAML front matter so that you more accurately actually call on the correct skill. And from there, you just use it more and you give it as much feedback as possible, give it more information about you. Now a few things I wanted to touch on about, like, the mindset of having a personal assistant like this.
47:09I typically always set up my Hermes agents with their own accounts. So if I'm gonna give this thing an email address, I'm gonna give it its own Gmail or its own agent mail account. I'm not gonna give it mine.
47:18Or if I am, I'm gonna give it an API key with very strict scopes. I'm also giving all of my different agents different API keys if they're gonna spend. So OpenRouter or Perplexity.
47:28I'm gonna give each one a named API key so I can see which agents are using how much of my money. And I think best practices is like, pretend this is an actual intern or a new employee.
47:38What access would you give them? You wouldn't just give them your credit card. You wouldn't just give them all the stuff.
47:42So why would you do that with an autonomous agent? I'm gonna go ahead and approve this command real quick. So I think it's really important to be thinking about it in that way, obviously, to protect yourself and to protect your business.
47:52And speaking of protection, another thing that you wanna look at probably doing is when you come into your VPS, think about how you can lock this down a little bit more. So you can come over here to security, and you can set up a firewall.
48:03And right here, can see I've got one on this VPS, and I think it's overall on my VPS called UPC Guard. But you can set one up to lock it down for, like, your IP and to block out certain ports and stuff like that. And I don't really know anything about firewalls as far as, like, formal education.
48:17I had to do my own research. But guess how I set up my firewall? I asked Hermes and I asked Cloud Code to do research, look at our environment, look at our VPS, and help me figure out how to lock it down.
48:29And then what you could do is build skills around it where every night or once a week, they're doing an audit on the security. They're maybe trying to attack it, trying to get in, and they're helping you optimize just to make sure that your VPS is staying safe and secure. But anyways, we're starting to reach the end of this video here, so I wanted to wrap up with maintaining your Hermes agent.
48:45Definitely let me know in the comments what else you wanna see with Hermes if I can expand on some stuff deeper for you guys or specific use cases. But anyways, when the agent gets something wrong twice, correct it on the spot and tell it to update the relevant skill and or memory.
48:57So same thing, if you give the same instruction twice, ask Hermes to write a skill for it. When the agent is too verbose or off tone, you have it edit the soul. When you want a new scheduled task, you build a skill and then you just ask it to schedule that cron.
49:08When something breaks, check the memory dot m d. Stale memory is the number one cause of weird agent behavior. And this isn't a tool you finish setting up.
49:15It's a teammate that you keep using and you keep training. And, of course, you can always at any time say, hey. Read me your memory file.
49:22Read me your soul file. Let me see what's actually in there. And it's funny.
49:25Right here, remember how I asked this agent to make a video about itself to show me its personality? It had to obviously read its own soul file to know what to put inside of that video.
49:37And it's only gonna be a five second video, so we'll see what it really comes out as. But this is just showing you how I dropped in a skill. It's installing it.
49:44It's doing all the hard work, and we should get an output very soon. Alright. Fingers crossed that this is good.
49:50It installed the Hyperframe skill, and it generated a five second video based on its soul. I don't even know it was in its soul. So let's take a look what we got here.
49:56We have Hermes, helpful, knowledgeable, direct, think, build, research, automate. Nate, I'm your action engine.
50:03So for a five second video, not too bad. I turn messy goals into finished actions. Yes.
50:09You absolutely do, Hermes. And I didn't even give this poor thing a name yet. So from here, I'm gonna start building up the soul.
50:14I'm gonna start giving it way more information about me and my business, and I'm gonna keep letting it build up skills and just learn more over time. And that's exactly what you guys should be doing now. Also, one more quick thing is I obviously did this for a demo, so I told it to pause that cron for now.
50:27And I wanted to show you we finally hit that threshold where it does a compaction. So we were at almost a 170,000 tokens, which is over the threshold of about a 136 k. So it decided to go ahead and try to compress.
50:39For some reason, that failed, so it inserted a fallback context marker. And then we can see it can use the other cron tools to list and pause, and then it did a memory update as well. Let's say you didn't understand what these two lines mean.
50:50Once again, just paste that in and say, okay. So you just sent me these messages, I don't understand what that means. Explain it to me.
50:57So I'm not gonna read this out right now because I feel like I've been talking to you guys for a long time. If you give that a quick read, go ahead and pause the video and understand what that means in case you get that message from your Hermes agent at some point.
51:09Now as you start to make more and more of these Hermes agents, it does get interesting. You have some decisions to make, which is basically like where do they live and when do I do that and how do they have separation but still be able to talk to each other. Questions like that start to come up.
51:23So I wanted to talk a little bit more about how you kind of scale this up. So if you're doing it on one VPS, I think the best way to do it is to have them each in their own container, which is why in this setup, I decided to do the one click install besides the fact that it's very, very easy.
51:38So for example, if you guys remember, we have our kind of, like, personal main one that we set up. And remember when we were trying to figure out the API keys and deleting them and stuff, we figured out that those API keys were stored inside of that Docker container. So this agent has its own memory, its own tools, and its own private keys.
51:54So then as we started to add on more, if we put them in their own container as well, they will all have their own keys and then they don't clash. And that's where you can get more visibility as far as like how often they're using their tools and how much money they're costing you and things like that. And that's the value of having, you know, your VPS being like the office building and then each agent being their own container with their own passwords, you know, keyboard, whatever you you know, if you're thinking like an office analogy, coffee mug, whatever it is.
52:19So that ENV file, the dot ENV, first of all, it doesn't get committed to GitHub, so you're not pushing your secrets out there even though it's staying private. But then each agent's basically having their own, as you can see.
52:30If you have a marketing Hermes and you have a finance Hermes, they will not be sharing keys. They will not see each other's keys. And you can use the least privilege rule, which is basically give each agent only the credentials and the tools needed for its job.
52:42So for example, your marketing agent doesn't really need maybe read access into your QuickBooks, but your finance Hermes probably does. And then a quick little decision tree for you guys on when you should create a new Hermes because really for a while, you're probably going to be all set with just the one. And even if you have one main one that starts doing a little bit of finance stuff, some finance skills, a little bit of marketing skills, what happens is, okay, when you wanna scale up and create a dedicated finance Hermes, you can migrate those tools and those crons and those skills super super easy.
53:12And that's the cool part about all of that just living as a markdown file. So then you take those and you move them over. But anyways, start with the task or the role that you're thinking about making an agent for.
53:21Does it need different permissions, secrets, or tools? If yes, go ahead and start a new agent. If no, keep on moving.
53:27Does it need separate longer term memory or separate long term memory? If yes, create a new agent. If no, ask the next question, which is, is it ongoing repeated work?
53:35If yes, create a new agent. If no, keep it in your main personal because if it's a one off task, you don't need a full new container and a full new Hermes setup. So simple rule, if it needs its own memory, its own tools, its own credentials, its own schedule, or audience, then feel free to split it up into its own Hermes agent.
53:51So I would recommend that you maybe look at, like, a road map of, okay, these are maybe the next one or two or three agents that I'd want. But once again, I would say try to get as much use out of your main personal one to start just because you are still learning how the skills work and how to work with your Hermes and how to set up everything.
54:09So limiting the amount of, like, distractions really and just keeping one, working on that one really well, you'll be able to get pretty far. That's how I would recommend starting out.
54:19And obviously, as you start to get more, you might get confused about like, okay. How do I have this hierarchy between them and how do I make them, you know, talk and assign more to each other? That is something that your main Hermes agent, the one that you're building right now, whether you wanna call that like your COO or your executive assistant or whatever, that main one is going to be able to help you figure out all that delegation and stuff like that.
54:39You just have to have some conversations with it and have it help you plan. But ultimately, there is a point where you probably get to certain scale and you need to, you know, start to segment some stuff off. So a bad pattern would be one mega agent with all the API keys, with all the skills, with so much bloat of different tools and different crons running, which could cause high confusion and also high risk if something happens to that one agent for some reason.
55:02But as you start to scale up, you can adopt a better pattern where you're starting to split up things whether that's via vertical or whether that's via, you know, social media platform or whether that's whatever your separation that makes sense in your business and in your workflows and in your SOPs and in your job descriptions, that is where you wanna get a little bit more separation.
55:20You lower the risk. You, you know, you aren't putting all your eggs in one basket. As they say, cleaner memory and probably easier debugging and better visibility.
55:28So wanted to hit on that real quick, but once again, just because you can spin up a bunch of agents in one VPS doesn't mean you need to. So don't force it. Just let that phase happen naturally once you've really felt good about Hermes and once you feel like you, you know, have gone through this decision tree and you hit some of these criteria where you need a new one.
55:46And then of course, you can keep your Cloud Code project updated and you're gonna be really happy that I told you to set all this stuff up so you can understand the different containers and the different where the files are and all that stuff, this is going to come in handy big time for you. Now Hermes also does come with, like, its own dashboard where you can look at the recent sessions, you can see your different connected platforms, and it is pretty helpful.
56:06But honestly, I don't ever find myself going in here because one of the things that I talked about earlier is the fact that I mainly like to use my Hermes agents when I'm out and about and I'm kind of on the go. But if I'm sitting down on my computer, I'm usually just working inside of Cloud Code. And this dashboard, it's usually just easier to open up on a local device because you have to open up the tunnel and there's a gateway, and you guys will understand once you start setting it up.
56:28But if you wanna check it out, this is where you can also have your Kanban board, and you can also look at things like, you know, different keys and different configs and skills and plugins, and it's just basically a nice little visual dashboard to see what's going on here. You can also look at your crons and you can create new ones from here.
56:43So what you do is you'd go to your Hermes agent and you'd say, hey. I wanna open up the Hermes dashboard. Can you help me figure it out?
56:49What you're gonna need to do is you're gonna need to say, okay. Here is, like, my VPS route, and here is my Docker container setup, if you have that set up like that.
56:57Because you have to kind of, like, open up the gateway and make sure there's a tunnel open so that you can open up this local dashboard, and that's where you can start to play around with this.
57:06So the first time you do it, you might feel a little bit like this sucks because the first time you might be pasting different things around and it might not feel like it's gonna work, but it will work. Just keep giving your Hermes agent the info, keep giving it what you're doing, and it will get you there.
57:21And once you get there, then say okay, save this to your memory. Turn this into a skill so that every time I ask for the dashboard, you give me the three commands I need to run, and then I just boom, boom, boom, run them, and I'm good.
57:31So I just wanted to warn you guys about that. And, you know, if you wanna get in here and play around, the Camber board is pretty cool. If you got multiple agents running, you can sort of like assign them to different agents, and they'll pick up tasks, and you can see them move around.
57:42But like I said, I didn't really spend too much time on this in this video because I don't ever find myself in this dashboard, but it is a nice built in feature. So anyways, don't forget, I'm gonna put all of this information that we talked about today and the full setup guide and all that stuff into a free resource guide that you can access in my free school community.
57:58The link is in the description. Don't forget to use the link to go to Hostinger and use code Nate Herc to get 10% off your annual plan when you set up that VPS. And, yeah, let me know what else you guys wanna see with Hermes and where I can expand on some stuff.
58:08I'd love to bring you guys some more content around what you wanna see. So gonna do it for today. If you enjoyed the video or you learned something new, please give it a like.
58:16It helps me out a ton. And as always, I appreciate you guys making it to the end of the video, and I will see you in the next one. Thanks, everyone.
The Hook

The bait, then the rug-pull.

Nate Herk opens with his live Hermes instance already running — voice replies in Telegram, cron jobs firing on schedule, a YouTube comment bot that knows his entire channel history. The promise: you can have this too, no Mac mini required, on a $6/mo VPS, in under an hour.

Frameworks

Named ideas worth stealing.

07:36list

The Five Pillars of Hermes

  1. Memory (user.md + memory.md)
  2. Skills (skill.md with YAML front matter)
  3. Soul (soul.md personality)
  4. Crons (natural language scheduling)
  5. Self-Improving Loop

The five architectural concepts that make Hermes more than a chatbot — together they create a persistent, improving, proactive AI teammate.

Steal forAny agent setup talk, CLAUDE.md design, JoeFlow agent philosophy content
08:11concept

Memento Mental Model for AI Agents

AI agents wake stateless every session, like the movie Memento. The context files (user.md, memory.md, CLAUDE.md) are the sticky notes on the wall that let it function.

Steal forExplaining CLAUDE.md to newcomers, any onboarding content about context management
43:50concept

CLI = Cockpit, Telegram = Remote Control

CLI gives full visibility: slash commands, context window, session management. Telegram is the mobile interface — same agent, less visibility. Don't vibe-code complex apps from Telegram.

Steal forJoeFlow positioning: dictate on the go, do deep work at desk
50:30model

Agent Scaling Decision Tree

  1. Needs different secrets/tools? -> new agent
  2. Needs separate long-term memory? -> new agent
  3. Is it ongoing repeated work? -> new agent
  4. One-off task? -> keep in personal main

Simple rule for when to spin up a new Hermes vs. adding to your existing one. Start with one, scale naturally when you hit criteria.

Steal forMulti-agent architecture talks, agent fleet planning content
46:40concept

Least Privilege for Agents

Give each agent only the credentials and tools needed for its specific job. Marketing agent doesn't need QuickBooks access. Finance agent doesn't need social posting.

Steal forSecurity-focused content, responsible AI agent deployment
CTA Breakdown

How they asked for the click.

57:30link
The link for the free resource guide is down in the description. You'll go into the free school community, click on classroom, click on all YouTube resources.

CTA delivered twice: once mid-video before setup section, once at end. Free resource guide positioned as a companion doc you can hand directly to your Hermes to execute the setup. Smart integration.

Storyboard

Visual structure at a glance.

live demo
hooklive demo00:00
comparison
promisecomparison03:19
five pillars
valuefive pillars07:36
VPS setup
valueVPS setup16:20
onboarding
valueonboarding25:30
GitHub cron
valueGitHub cron33:00
CLI vs Telegram
valueCLI vs Telegram43:50
scaling agents
valuescaling agents50:30
final thoughts
ctafinal thoughts57:30
Frame Gallery

Visual moments.