Hermes Agent
A self-hosted AI agent system running 24/7 on a home server. Telegram gateway, multi-profile routing, scheduled jobs, persistent memory, and task delegation. Built and maintained by one person.
What it does
Hermes is an always-on agent system that manages my daily work and personal tasks through Telegram. It reads and responds to messages across multiple topic threads, each with its own context and instructions. It runs scheduled jobs, searches the web, reads and writes files, and delegates heavy work to subagents.
The system is a multi-profile agent framework. Each profile (general, code, thesis, music, KDP, jobs, employment) has its own skills, memory, tools, and operating rules. A message in the employment profile gets career-support behavior, and a message in the code profile gets development tools. It all runs through one Telegram bot.
Core capabilities
- Multi-profile routing: one bot, seven topic profiles, each with distinct instructions, tools, and memory. Messages route by Telegram thread.
- Tool use: terminal commands, file read/write, web search, web extraction, code execution, vision analysis. The agent decides which tool to call based on the task.
- Cron jobs: scheduled tasks for birthday reminders, weekly reviews, price monitoring, and custom reports. Jobs deliver to specific Telegram threads.
- Persistent memory: facts about the user and environment survive across sessions. A separate GBrain MCP store holds structured entity and fact data.
- Task delegation: heavy work spawns isolated subagents with their own context and tool access. The parent gets a summary back.
- Skill system: modular skill files (YAML + markdown) encode procedures, tool-specific knowledge, and quality standards. Skills load on demand based on the task.
- Fallback model routing: primary Claude Sonnet, with automatic fallback to a smaller model on rate limits. Quota and availability aware.
- Model escalation: complex work escalates to higher-capability models. Light work routes to cheaper, faster ones.
What I built vs what I configured
Hermes is an open-source agent framework (by Nous Research) that I run on my own hardware. My contribution is the configuration, skills, cron jobs, multi-profile setup, and the day-to-day iteration that makes it useful. I wrote skills for employment support, code review, music production, and thesis work. I set up the Telegram routing, the cron schedules, and the memory system. I debug it when tools break and extend it when I need new capabilities.
Why it matters for AI roles
Running a 24/7 agent system with tool use, memory, cron, delegation and multi-model routing shows I understand agent architecture beyond prompting. I know the failure modes (tool timeouts, context limits, model fallbacks) because I deal with them daily.
Architecture in brief
- Telegram gateway: bot receives messages, routes by thread ID to the correct profile.
- Profile config: each profile has its own config.yaml (model, tools, skills, memory).
- Model layer: Claude Sonnet as default, Opus for escalation, Haiku for light work and delegation. Reasoning effort configurable per model.
- Tool layer: terminal, file I/O, web search, code execution, vision, plus deferred tools loaded on demand.
- Skill layer: markdown files with frontmatter, loaded when the task matches the skill description. Some auto-load, most on demand.
- Memory layer: injected context (user profile, notes) plus GBrain MCP server for entity/fact storage.
- Delegation: subagent spawning for work that would flood the main context. Parent gets a summary, not the full transcript.
- Infrastructure: Docker container on an Ubuntu server, VLAN-isolated, no GPU load.