Library / Artificial Intelligence

Build a 24/7 Self-Hosted Personal AI Agent on a VPS(Hermes)

On Udemy

About this course

You will set up a personal AI agent that runs 24/7 on an affordable server you fully control. One you can text from your phone and watch work in your browser. Over 30 hands-on lessons you'll go from an empty Linux box to a hardened, always-on agent powered by Hermes, meeting it two ways: message it on Telegram like a friend, and open a private web dashboard to watch its sessions, memory, and tools. By the end it runs on its own — gathering a briefing every morning and texting it to you before you're even up.

What you'll learn:

Deploy a personal AI agent that runs 24/7 on your own low-cost VPSHarden a Linux server with a non-root user, key-only SSH, a firewall, fail2ban, and automatic security updates

Install and configure Hermes, connect an LLM provider, and run multiple agent profiles

Operate your agent from the CLI and TUI — sessions, tools and toolsets, memory, and context files

Install ready-made skills and write your own to extend what your agent can doConnect external tools with the Model Context Protocol (MCP) — wire up GitHub and manage issues from Telegram

Connect a Telegram bot through the gateway so you can message your agent from your phone, anywhere

Monitor your agent in the Hermes web dashboard over a secure SSH tunnel

Automate recurring tasks with cron in plain English, and chain jobs into multi-stage pipelines

Give your agent a personality and persistent memory that carries across sessions

Complete a capstone: a daily briefing your agent generates on its own and texts to you Requirements: basic command-line comfort, a low-cost VPS (~$6/month), an LLM provider key (OpenAI, Anthropic, or an open source option), and a Telegram account. No prior agent experience needed.

Stop renting your AI. Build one that's always on, answers from your pocket, and lives on

Ready to start? Continue on Udemy to enroll.

Start learning on Udemy (opens in a new tab)

Prices, discounts and availability are set by Udemy. We may earn a commission when you purchase through links on this site.