← Back to search
I Turned Hermes Agent Into a Coding Agent
Leon van Zyl · 2026-11-08 · 13 min
Show full episode description
Learn more about your ad choices. Visit megaphone.fm/adchoices
✨ Episode Outline — click any point to jump to it in the episode
Problem solved
Tests whether a
Telegram-connected
Hermes Agent on a VPS can act as a remote coding agent that builds, deploys to
Vercel, and returns a public URL.
Benefits
- Build and deploy web apps from your phone via Telegram
- Vercel CLI plus skills.sh skill lets Hermes create projects and deploy to production
- Memory rule keeps every project in a /projects subfolder with Git version control
- Token kept in container .bashrc, never pasted to the model
Use cases
- One-shot prompt scraped the @LeonVanZyl YouTube channel and shipped a live portfolio site to Vercel in ~10 minutes
- Follow-up request added a profile image: Hermes found the project, committed, and redeployed to production
- Hostinger one-click Docker install of Hermes with coupon LeonHermes for 10% off
KPIs / results
- Portfolio built and deployed in ~10 minutes from one prompt
- Vercel token scoped to full account, 7-day expiry
- Agentic Labs community: 700+ builders, $7/month for first 1,000
Tools / build
- Hermes Agent on Hostinger VPS (Docker)
- Vercel CLI with token skill from skills.sh
- Front-end design skill
- Custom professional workflow skill and memory rule
- OpenAI Codex / GPT 5.5 as model
Hey there, in my previous Hermes Agent video, I showed you how you can set up your own AI assistant that you can access from anywhere. But since then, a lot of people have been asking me if we can use Hermes Agent as a coding agent. So in this video, I'm going to test exactly that. So here's the challenge. I want to be able to send Hermes a message asking it to build an application for me. It should then build the app and also deploy it online and then send me a public URL, which I can use to open the app in my browser. Now, I'm not sure how smooth this is going to go as Hermes is very different to something like Cloud Code or Codex, but it still uses the same models and in theory, it should have access to the same tools. So this is more of an experiment and if it works, it means we can convert our AI assistant into a remote code builder that we can access from anywhere. So to get started, you will need access to a Hermes agent. Again, I do have a dedicated video on that. That shows you how to hook it up to Telegram and we go over agent skills and browser access and everything else. So in this video, we'll go over a simple installation so that we can focus on the coding aspects. Now, there are many different ways to deploy Hermes. All you need is a VPS. Now, I'm partnered with Hostinger and they also offered you guys additional discount. This is just one of the easiest ways to deploy Hermes as this is actually a one-click install. You can simply open up this page. Then you can select your VPS plan. I'll just go with KMV2 and click on deploy. Then you can select your period from 1 month, 12 months to 24 months. You can actually click on have a coupon code and enter the code LeonHermes. This will give you an additional 10% off. Then let's simply continue with the checkout process. Now, during the setup process, you will be asked for an admin username and password. You can simply copy these values and store it in a safe place. Great. Now that Hermes is installed, just go to Docker manager and projects and click on open. Now, you will have to enter that admin username and password that you copied earlier. Now, if you forgot what those values were, don't stress. What you can do is underneath this first image, click on manage. Then scroll down to the bottom and go to environment. And now you can view your username and password from here. So simply copy these values and use these to sign into this dashboard. All right. So I'll just go through the quick setup process. For this, I am going to use open AI codex. You really do want to use a model that's really good at coding for this. Then for the model, I'll use GPT 5.5, which is the latest flagship model from open AI. Then I'm going to set up messaging for the channel. I'm going to use Telegram. Now I just have to provide my Telegram bot token. I'll just grab the access token from Botfather. And let's paste it into this chat. Then I'll also grab my user ID and paste it into the chat as well. And that's it. Let's launch Hermes chat. We can just use this to ensure that everything is actually working. So let's just send a message like, hey, this is initializing the agent. And we get a response back. Right, cool. This means I am hooked up to open AI and GPT 5.5. I'm just also going to test Telegram. But I notice I'm not receiving messages in Telegram. So I'm just going to tell Hermes I'm not receiving messages. All right. So apparently the Telegram gateway was not running. And Hermes just had to start it. So let's just try this again then. I can see Hermes is typing at least. And cool. We get our response back. Excellent. So now we'll continue chatting to Hermes using Telegram and not the terminal. Now before we ask Hermes to write any code for us, I do want to set up a few prerequisites. Because what's going to happen is we're going to ask Hermes to build a project for us, but we won't be able to see the project. We won't have any way to access it because that code is living on this VPS. So what we want to do is get Hermes to take the code and the app that it's built and deploy it somewhere so that we can actually access that project and view it using a public URL. In order to deploy this app, we will be using Vercel. Vercel is a really generous free tier, so we won't pay anything for deploying our applications. So go to Vercel.com and then sign up. Right, we're now logged into Vercel and we don't yet have any projects. Don't worry, we'll keep this page open and we'll come back to it in a second. The first thing we need to do is install the Vercel CLI tool on our actual server. This will allow the agent to connect to Vercel and create projects and deploy code on our behalf. So I'll actually let Hermes do all of the work. So let's ask it, please run npm install dash g Vercel. This will simply install the Vercel CLI package at global level. Don't worry too much if you don't understand what all of this means. This is just a tool that we have to install on the Hermes server that will allow it to connect to Vercel. Now Hermes is telling us that we need to expose the Vercel token inside the same container or environment before it can actually connect to the projects. This token will allow the agent to use this Vercel tool or package to authenticate itself with Vercel. All right, we're going to create this token in a second. But what I want to warn you is do not share these tokens with the agent directly. You might be tempted to just copy the token and give it to the agent. But that data will be sent over the network to whatever provider you're using. And you never know what they're using that data for. So the next step might feel a little bit technical, but it's not that bad. I promise. All right, go to Docker projects. Then under this very first node, expand this. And then copy this container name, this thing over here. Then click on terminal. Right, so from the terminal, I'm just going to clear this. Then what we have to run is Docker exec dash IT. Then let's paste in that container name that we just copied, followed by bash. Then what we have to do is set our Vercel access token. And that will be used to authenticate our account with Vercel. So to do that, what we have to do is run echo a single quote export Vercel token is equal to double quote. And now we just have to get our Vercel token. To do that, go back to Vercel. Let's go to our user. Let's click on settings. Let's go to settings and tokens. Let's create a new token. I'll just call this Hermes agent coder. For the scope, let's select full account. For the expiration, let's select seven days. Let's create this token. Let's copy the token. And let's paste it into this terminal. Cool. Then let's close this out with a double quote, followed by a single quote. Then double arrows slash root slash dot bash RC. So if I just zoom out slightly, the entire command looks something like this. Then let's press enter. We're almost done. I promise. Let's run source front slash root dot bash RC. Let's press enter. And that should be it. Let's just check if everything is working by running Vercel. Who am I? And if everything was done correctly, you should be logged into Vercel. Cool. We can actually close the terminal. Let's go back to our Hermes agent. All right. So I just set the environment variable for the Vercel token. Please can you list all the projects available in my Vercel account? All right. There are no Vercel projects. All right. Cool. Right. We can also add skills to Hermes agent. So what I'm actually going to do is go to skills.sh and look for this Vercel CLI with token skill. Let's copy this command. All right. Please can you install this agent skill for using Vercel with the token? Then let's actually just paste in that URL. Let's run this. All right. Done. I'm actually just going to start a new conversation. This will just ensure that the skill is actually pulled into the context window. What skills do you have access to right now? And cool. So on the DevOps, we can see the Vercel CLI skill now. All right. I need you to create a new skill or remember this rule. So you can maybe just add it to your memory file. That's perfect as well. Whenever the user asks you to write code or build a project, you need to add the project within a subfolder within the projects folder. So the way I see it is at the root of your file system. You should have a folder called projects. And within that, you'll create subfolders for all the projects that you are working on. The user will then ask you to write software or build stuff like web apps. And you need to then act like a professional software developer. You need to use Git to do version control. And once the app is ready, you can deploy it using the Vercel CLI tool. Always ensure that the project does not already exist before creating new projects. Or for existing projects, simply push the code or updates to that project. Now, the CLI tool might tell you to only deploy to preview. But I want you to deploy directly to the production branch. All right. Cool. So the agent just added these rules to its memory file. And it created a new skill as well. Since we are doing a lot of web app development, what I'm also going to do is install the front-end design skill. So I'll just copy this command. Please, could you also install this skill? So this will install the front-end design skill at global level, which means that it doesn't matter what project it's working on. This skill will always be available in context. All right. Beautiful. Now that we've installed our skills and Vercel is set up, let's see if our agent can actually build software. Right. What are we going to get our agent to build? I think let's create a personal portfolio page. So let's do something like, I want you to create a new web app for my portfolio page. I don't yet have a portfolio page. So what I want you to do is create a new project. You can just call it Leon's portfolio. And then what I want you to do is actually scrape information from my YouTube channel and then use your front-end design skill to create something beautiful. Then I'll just add my YouTube channel at Leon Fun Sale. All right. Let's send this. I can see that Hermes is pulling in our new skill, this professional workflow skill. It's also pulling in the Vercel CLI skill as well. Here's a very important detail. I can see it's running this terminal command to create a new directory within our projects directory. And the subfolder is called Leon's portfolio. So it's definitely following our instructions for keeping our code all in one place. So I'm simply going to skip ahead to when Hermes is done. All right. So it took about 10 minutes and the agent is apparently done. So this is what's really cool about this now. It's giving us this live production URL. So we can actually open up this URL. Let's just pull it into view. And this is actually really clean. So we've got our YouTube button. This actually redirects to my channel. And you can let me down in the comments what you think about this. But it's really not bad for a one-shot prompt, I think. And just to show you, if we go back to Vercel and refresh the dashboard, we can see that Hermes actually created this project for us. So if we open up this project, we can see that public domain here as well. But what you can also do from here is go to domains. And if you want to, you can actually buy a domain or just add an existing domain from another provider. Let's see if Hermes can make changes. So I'm actually going to clear this conversation. And I'll pull in this image of myself. Let's say, please can you update my portfolio app? Use this profile image of myself somewhere on the homepage. Then let's send this. And it should be interesting to see if Hermes is actually able to find the project, make the change, and automatically deploy it to Vercel. It's pulling in the correct skills. So that's very promising. All right. So Hermes just made the change. It's created a commit. It's running the Vercel command to deploy this to production. And if we refresh our app, that image was successfully added to our portfolio page. So I think that answers the question. We can definitely use Hermes as a coding agent. But with iBuild software like this, probably not. But if you are a Vibe coder, or you just want your personal assistant to be able to build quick dashboards and apps for you, this is definitely worthwhile. If you want to learn how to build real software using coding agents, then consider joining my school community at Gentic Labs. I've just released the first few videos on my Gentic Coding Masterclass, and I'm adding new videos pretty much every single day. You also get access to a community of over 700 AI builders. And we have weekly Q&A sessions, where you can ask me anything, whether you're stuck, career advice, whatever you want to know. And it's only $7 per month for the first 1000 members. Thanks for watching, subscribe to my channel, and I'll see you in the next one. Bye-bye.