← Back
Christian Lempa November 24, 2026 26m

Hermes: The AI Agent That Learns Your Workflow

Read full transcript 20 segments
  1. Okay, guys. So, in this video, I'm going to show you Hermes, the one and only AI harness that you will absolutely love as an IT and tech nerd. And I know that's a pretty bold statement because we have all these different AI tools around these days and many people are preferring tools made by the big AI companies like ChatGPT, Codex, CloudCode, GrokBuild, Gemini. But I assume as a self-hosting fanboy, you probably want something that is a bit more powerful and more open to any third-party systems and providers, something that you cannot only use for coding, but for generally any type of AI automation workflow in your own infrastructure. It has over 260,000 stars on GitHub. It has a growing community and many people are currently building plugins, tools, skills, and integrations for it. It's really insane. And the cool thing is it can run in your terminal, can run on your desktop. They are also working on a mobile application so that you can run this on your iOS or Android device. You can also control it via messaging apps like Telegram, Slack, Discord. And of course, it is provider agnostic. So, that means you can just log in with your Cloud or ChatGPT subscription, GrokBuild subscription.

  2. You can also add Ollama or any other local LLMs as well as cloud services. It's also pretty easy to get started. For example, the simplest way is to get the Hermes desktop app that can run on macOS, Windows, or Linux. But you'll also find some alternative installation guides in the documentation. Just run the main CLI application [snorts] on Linux, macOS, or WSL 2 or Windows native with PowerShell. And you can also run separate instances of Hermes side by side, control them all with a web interface or with the Hermes desktop. So, it's very flexible. In my setup, for example, I'm running one Hermes instance on my macOS so that it can automate or do things with my computer. And I'm also running a small LXC container on my Proxmox cluster. So, this is just always running 24/7 and then I can also hook into some other automation workflows in my home lab. More about that coming in some future videos, by the way. So stay tuned for that. For this video, I've prepared a new virtual machine, Hermes Test 1. Just installed Ubuntu latest version, so we can just get started with that. So let's open a shell. I think this one got the 1021 10, so that's the IP address. So I'm using the recommended setup without a Hermes desktop. We will later connect the Hermes desktop that I've downloaded and installed on my Mac to this virtual machine. That's also very easily possible. So just run the one line installation command script in

  3. your terminal. So that's then downloading the latest stable release, cloning things, and so on. By the way, while this is running, let me quickly tell you about something else if you're into AI workflows and automation that you definitely should take a look at, which is called Morph from Model Code AI and that helped me to transform my old legacy website code into a brand new codebase and it was a huge help getting that project up and running. So thanks Morph from Model Code AI for sponsoring this video. Morph is a generative AI platform specifically built for legacy code modernization. So this is not just another AI coding agent that you can ask for a few small changes. The idea is that you connect or upload a complete existing codebase and then Morph analyzes it, it maps out what it needs to change and finally creates a full modernization plan around it, which is incredible because for large projects these modernization plans are really painful, risky, and costly. And by using Morph customers report modernization timelines are going from years down to months, sometimes even just weeks, which is quite incredible. And what I personally a lot about Morph is that it doesn't just start with changing the code immediately. It first creates a project spec, so you can really easily review the target stack, the migration approach, and the constraints before anything happens and then it breaks the work into separate milestones. So you do not just get a huge AI generated diff, but smaller steps that are much easier

  4. to review. You can define acceptance criteria or use your own evaluation tools before the code is considered ready. And the best is you can sign up completely for free. You can analyze your code base at no cost and it gives you a real-time estimate before the modernization starts so that you can really see what it actually would cost in credits before you decide to approve the modernization. And Nomorph has a special offer for you. So if you want to try it out yourself, then just go to modelcode.ai/morph and use my code Christian. Then you get 60,000 free credits per month for the first year. That is nearly $5,000 in value. So check it out, sign up completely for free, analyze your code base with no commitment and no credit card. You'll find the link in the description box down below. All right, so meanwhile the Hermes setup agent has completed the download. So now we can continue setting up our Hermes instance. So first of all, we can continue with a quick setup. So that basically just connects to the Nos portal or Nose portal. Don't actually know how to pronounce it, but this is basically a cloud subscription made by the makers of Hermes agent. So this is optional and it bundles the access to hundreds of different AI models and tools like web search, image generation, cloud browser automation. So everything that you need to get started with Hermes. It starts with a free tier that also has a few free models and standard rate limits.

  5. Honestly, you can imagine that's probably not very powerful and you might need to upgrade to higher plans. However, if you already have a ChatGPT or cloud subscription, you probably do not want to get another one. Don't worry, you can completely ignore this and you do not actually need the portal at all. You can just continue with a full setup so to configure every provider on your own, the tools and options yourself. So bring your own keys or subscriptions. And that's also what we're going to do. As you might know, I'm a big fan of OpenAI and ChatGPT Codex subscription. So [snorts] that's what I'm going to use, but there are also many other possibilities like Open Router, LM Studio, Claude, Grok Build, Quen, and of course local LLMs and these other Chinese models as well if you prefer using that. I'm going to choose OpenAI with my Codex subscription so that then takes me to a link that I need to open where I just log into my subscription, just copy the code, place it here, connect, and that's it. All right. So now we can select the default model. Of course, I'm going to use the latest model at the time of recording this video, the GPT-61 Soul, and also choose the reasoning level. And honestly, I've made really good experience with low reasoning. Of course, you can choose higher reasoning if you want the model to iterate or think more carefully about the actual steps or the workflows. But honestly, my experience is that it just burns a lot of tokens and for many tasks the low

  6. thinking mode is actually sufficient. If you have a more complex task, you can easily ask Hermes, hey, please spawn a sub agent with X high or max thinking or reasoning level and do this and that and it can also spawn multiple of these sub agents in a single It also has intelligent model routing plugins and all of that stuff. So I'm not going through all the details. I just want to give you that general recommendation, start low and if you need more reasoning, you can always switch that in the Hermes desktop app or ask a sub agent. Now this is also a very interesting. This basically selects where Hermes executes shell commands. [snorts] Local is probably the easiest one because then it executes all the commands on the local box where you installing this. However, you need to be aware if you for example running Hermes in a Docker container that the Docker image might not have all the tools that you later on need for automation like access to password managers, browser automations. And if the box you're running Hermes agent on does not have an easy access to these tools or you want to somehow protect this, you can then switch this to SSH on a remote machine or run it in an isolated container with configurable resources.

  7. But honestly, if you want to get started, just keep it simple and just run this on a machine with local access. I think that's the easiest one. Now you can also connect a platform where you can yeah interact with the Hermes agent. And honestly, I'm not a huge fan of this. When you're not at home or at your desk, then you probably needs a messenger app. But I think the integrations are sometimes a bit limited and don't provide the best experience, at least in my opinion. So I'm mostly using the Hermes desktop and I hope that the public beta of the Hermes mobile app comes out soon because then you can completely ignore this. All right. So now that we have that, we can basically just reopen a new terminal or reload the terminal session and then run the Hermes command. Now before we do that, I want to show you the Hermes doctor. So Hermes doctor is like a built-in health check that looks for missing dependencies or problems with the configuration and reports anything that needs attention.

  8. Here for example, Docker is not found because it's running in LXC. X search requires an X API key or image and video generation requires other tools and yeah dependencies, programs that are not installed on the actual system. Now for this setup, I think it's completely fine. But if you want to fix anything automatically, you can just run the doctor with a fix command. So that tries to automatically resolve these type of issues that might help you to restart the gateway when something is broken and stuff like that. All right. So first of all, let's run Hermes. This is actually the classic CLI that you can use to talk to your Hermes agent. [snorts] Here you can see the model that it has selected, GPT Soul. With a slash you can run commands. With an at you can attach files to the context. I personally would recommend to use Hermes dash dash TY. This is a new modern terminal interface that is recommended. Here you can basically do the same things and you can also start asking the AI agent something about this machine. For example, what's my disk usage? Show the top five largest directories. So let's give it a simple task and see how it's working. So now Hermes is starting to run some tool called It runs a terminal command like DF -H and just gets the output of the command and presents this to you in a chat message. There's the disk usage directories shown under my user

  9. directory, Hermes local and what not. So you can also see that Hermes stores its configs, its working space directories and stuff like that in a .Hermes directory inside your user. And that's good to know, so we will later take also a look at that because sometimes it makes sense to actually look inside this and see what it has stored in the configuration. But if you are other interesting commands that are worth highlighting, and again, I'm not going through each and everything, but the most important things are probably tools. With that you can see and manage all the available tools like file searching reading changing writing memory, terminal and model. So here you can basically switch to any other provider and any other model that you like. So yeah, again, that's the terminal command. Honestly, I'm not a big friend of working with that in the terminal because it is a bit clunky. So that's why I'm preferring the Hermes desktop. Just go to the website, download the Hermes desktop app. You can just run this on all operating systems. And this is what it looks like. You can completely customize this to the look and feel that you like. Here on the top right, there's the layout editor where you can choose between a advanced and simple layout.

  10. There are a few templates, but you can basically just drag and drop any kind of panel or element and move that wherever you like. For example, prefer to have my sessions or agents on the left side and terminal and files and other utilities on the right side. I also prefer the advanced view because that gives me more tools for example here I can easily switch the model, turn on or off the thinking or fast mode. I can adjust the reasoning level here at any type of context files, folders, images, prompt snippets and you can configure cron jobs, web hooks, skills, tools. If you want to go to the settings on the top right, you'll find that settings menu. So here you can configure the app, the appearance, choose a theme, yeah, and customize this a little layout of course and this in a nice and clean way without having to configure web interface or go through the terminal. So I think this is really much more intuitive and for the day-to-day workflow with your desktop, I think that's the best possibility to control Hermes.

  11. And you can connect different type of gateways. So here for example, if you download Hermes the Hermes desktop, it will ask you to run a local gateway. So that installs a new Hermes agent instance on your device or you can sign into Hermes Cloud and pick from the agents on your account or connect to remote gateway also through SSH. So that's what I'm currently using here. So I've configured this to my prod instance, but you can also go to saved connections here and just add a new connection. So let's try this Hermes SSH. I still can't remember the IP address. So let's grab this from the Proxmox server and yep, let's use my user account. Oh no, this is like Hermes test. And here should the SSH connection go into. Yeah, the default port 22. Yeah, that should be self-explainable. Now in the bottom line, we can find this as an additional connection. So this is my prod instance.

  12. This is a Hermes test. These are the profiles. Let's select the default profile and that now connects to the actual instance. And when we open the settings menu, you can also add new providers, connect the news on house portal, run models locally on that device, add another subscription like connecting other providers and stuff like that. So you can much easier manage all of this stuff here. And yeah, I could probably just let you run and do your own experiments, but I still want to give you a few tips. Let's discuss a few pitfalls and a few recommendations from my side so that the start is bit easier for you and you will have a lot of fun with the Hermes agent. One of the workflows, for example, is that I'd like to manage my home lab with it. So my Proxmox cluster, my virtual machines, I want Hermes to deploy things or run sorts of automations, right? And of course, Hermes by default doesn't actually know how my home lab is structured or where are the servers and how I generally work with the home lab, but you can teach it. And it uses basically three different things for that. It uses skills, memory, and documentation. And these three are very different and you should use them in a different way. Some of this stuff Hermes completely does on its own and that is really cool. I'm going to show this. So let's run a new session here and let's ask it a simple question. For example, check how I manage my Proxmox host

  13. PXRX prod one, two, and three. So let's just send this simple task and see what the AI agent will discover. So by default, Hermes doesn't have access to any of the things that it would have to use to actually get information about this. So it's asking us, where do you keep your infrastructure configuration in Ansible Git repository, documentation or management UI? So that is for example something that we can teach it now or explain to it. So something like my repos are located under git.home.secret.de. Here you find all the here you find all the stuff. I [snorts] also have an obsidian vault that holds all the home lab documentation. So here, for example, you might want to use Obsidian headless, for example, to sync your Obsidian vault where the documentation is to the local disk. Maybe I'll do a tutorial about this because I haven't really explained this before, but that's the way how I do it. I keep my documentation in Obsidian and then it's constantly syncing all of the markdown files of my vault to [snorts] the actual server where Hermes is running, so it gets immediately access to everything and can change files and so on.

  14. That's pretty cool, but it probably can discover that by using Git. If you need to connect to APIs or SSH, you can use my in physical dot home dot secret dot de. Of course, it needs to get access to this, so I'm just going to say download in physical CLI and check if you can authenticate with the secure machine identity using environment variables. I'm going to use in physical client ID and secret. Now, these environment variables we of course need to populate to this machines and you usually do this a lot with Hermes. Now, one thing you should not confuse it with, if you go [clears throat] to settings, passwords and logins, there are saved credentials and you might just want to add a credential. No, this is for browser usage, but you can use our password managers like One Password or Bitwarden. So install the command line tools, the CLI on that machine.

  15. It will automatically detect it and if you store your credentials in these tools, Hermes can automatically integrate this. However, if you have a different password manager, you can just do it the same way like me, explain it like, hey, please use in physical as my secret store. You just need to put or populate these environment variables. So now we need to return to shell like the user directory here and go into Hermes. So here you by the way find all the configuration files and things like that and you also find a dot env file. Here it has all the environment configuration and you can add any credentials in here, secrets or other environment variables that you want it to remember. Like here, for example, is the Discord bot token that I later need to revoke, of course. By the way, thank you so much to everybody who is giving me heads up in the comments saying, hey, you exposed token XYZ in frame blah blah blah of the video. I'm always falling into the same trap, but I will revoke it afterwards, so don't worry. In physical client ID and in physical client secret. So this, of course, I need to set up quickly machine identities. So let's add a new one. Let's call it Hermes agent test with the role member. Let's add a client secret, Hermes secret test, and put it

  16. in here and the client ID as well. And then Hermes should have access to it. So let's just run this and see how it works. Now Hermes has the task to connect to my Git repo where to find stuff. The Obsidian vault, yeah, let's see what it does with that because it doesn't have access to it yet, but it can use in physical to get access to the Git repo like the GitLab API and SSH key because I basically just store all my credentials here in my secret management vault where everything is. The blocker is project access, so though weren't loaded in the shell using these credentials. Ah, okay, all right. So I forgot one thing. I need to go back to in physical, go to access control, and give this machine ID or make this part of my Home Lab project. All right, try again. All right, so now the access works. It also discovered that I'm managing my infrastructure with infrastructure as code like Open Tofu Terraform through GitLab CI, SSH access, the shared Linux configuration is on homelab servers, backup policies. So it already got a lot of information about the environment, about the services that I'm running. And of course, I don't want to explain or discover this in each and every session over and over again. It should remember how I'm operating my homelab and how I'm laying out things. Now, let's go through

  17. skills. This is the most powerful and most unique feature of Hermes. Oh yeah, that's funny because it already did what I actually wanted to show you. Here you can see that self-improvement review of the skill Obsidian patched and skill homelab operations created. So now you can see the more conversations you have with Hermes from time to time when you have a longer conversation or where it discovered something new, it will start an automatic review or a self-improvement and start writing skills in its skills directory. [snorts] And we can actually take a look at what it did if we go to skills in the .hermes directory. Now here is it, homelab operations, and you can see it created a skill file, which is like a procedure that Hermes tries to remember, like read-only discovery workflow is described here. Start with user authoritative resources repos git dot homelab secret dot de and a separately synced homelab documentation, load Obsidian skill for the wall discovery inspect configuration, blah blah blah. Then obtain scoped credentials through in physical and using the authorized machine identity, read in physical and GitLab access here for validated discovery procedure. Now that is a new markdown file in references. This is this subdirectory here. So here in the skill file, it tries to remember some general things and if it needs to have more context, it can also store that in other

  18. reference files. So here, for example, the in physical GitLab document describes in a bit more detail how [snorts] to authenticate and discover permissions on my platforms. Check whether these environment variables are present, use the in physical CLI, authenticate to this URL, then read these API endpoints, then use this command to get the secret value and parameters like workspace environment secret path and so on. [snorts] And this is what a skill is actually about. A skill is not a A skill is a workflow, like a procedure that explains specifically how to do things. Again, it will from time to time do this by default, but if you say learn, it learns a reusable skill from anything that you describe. Learn how my home lab is structured, learn how I deploy things in my home lab, learn how I back up things in my home lab. And you can use that for anything. Mostly these skills are for your own stuff and your own workflows and procedures, but there are some general things that you might want to add to your skill set as well. If you go to capabilities, you can exactly find all of that stuff like Apple Notes, how to manage Apple Notes via memo CLI, Apple Reminders, iMessage, Codex computer use, Hermes agent. These are some built-in skills as well, but also some others made by the community as well.

  19. And you can see these are coming from Claw Hub. So what Open Claw has created, you of course can also use in Hermes as well. And it can also remember stuff in its memory. So you can view it like this. If you have skills that explain procedures, memories are useful facts and preferences. So things like what is my name or where is the URL to manage XYZ? And Hermes, by the way, will also try to remember these type of facts from time to time. For example, if you ask it specific things like remember who I am or so, then it will probably not store this in a skill, but in a small memory file that is always injected to every prompt or session. So here, for example, you can see it remembered to memory remembered you used this username and it purex prod Proxmox host and stuff like that. That you can also find in here. So let's go back to the configuration directory and go to memories. So here you will find a user.md file. Again, these are very simple facts that it remembers. It's not complex procedures like skills, but anything that you want it to remember and carry over sessions, you can add here to this memories file by saying, hey, remember this, remember XYZ and so on.

  20. But of course, you can also take it to a next level. You can also connect memory providers with hammers that support semantic search and ingestion and curation of all sorts of memory storing them like in a database. And this is of course much more powerful. There are also plugins to add other database services. Some are in the cloud. They can also be self-hosted, but I think that's part for a future video because the video is already too long. So I hope you enjoyed it. I let you know run and play with it and show you from time to time in future videos if you practical use cases how I'm using this to manage my home lab. Don't forget to give this one a like and subscribe. Please join our patron community. This is completely free, so you can just sign up and get a weekly newsletter about any updates that I'm doing in my home lab. Thanks so much to all the people already supporting it. You can also help supporting the channel there of course. And thanks to everybody else for watching. I'm going to catch you in the next one. Take care. Bye.

Summary

This video introduces Hermes, an open, provider-agnostic AI harness designed for self-hosters and IT professionals to build custom automation workflows across local and cloud infrastructure. Key subjects covered include installing Hermes via its CLI and desktop app, integrating various LLMs and messaging platforms, and utilizing the sponsor tool Morph for legacy code modernization. The practical takeaway is that users can flexibly deploy Hermes within their own home labs and bring their own AI subscriptions to manage complex technical automation tasks without relying on a single closed ecosystem.

View original episode ↗