<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Marwane Manifi</title>
    <description>The latest articles on DEV Community by Marwane Manifi (@marwane_manifi_c4dacfeb34).</description>
    <link>https://dev.to/marwane_manifi_c4dacfeb34</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3823593%2F87c84d42-a788-494c-a42c-81382e8a1418.png</url>
      <title>DEV Community: Marwane Manifi</title>
      <link>https://dev.to/marwane_manifi_c4dacfeb34</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/marwane_manifi_c4dacfeb34"/>
    <language>en</language>
    <item>
      <title>Hermes Agent: The Self-Improving AI Agent That Runs 24/7 on Your Own Server — A Deep Dive</title>
      <dc:creator>Marwane Manifi</dc:creator>
      <pubDate>Tue, 14 Apr 2026 13:34:30 +0000</pubDate>
      <link>https://dev.to/marwane_manifi_c4dacfeb34/hermes-agent-the-self-improving-ai-agent-that-runs-247-on-your-own-server-a-deep-dive-554p</link>
      <guid>https://dev.to/marwane_manifi_c4dacfeb34/hermes-agent-the-self-improving-ai-agent-that-runs-247-on-your-own-server-a-deep-dive-554p</guid>
      <description>&lt;h1&gt;
  
  
  What Is Hermes Agent?
&lt;/h1&gt;

&lt;p&gt;Hermes Agent is an open-source AI agent framework built by Nous Research (the team behind the Hermes model family). It runs on your own machine or server, connects to any LLM you choose, and can be reached through Telegram, Discord, Slack, WhatsApp, Signal, and more — 14 platforms total.&lt;/p&gt;

&lt;p&gt;But what makes it genuinely different from the dozens of other agent tools out there is this: &lt;strong&gt;Hermes builds its own harness and improves itself over time.&lt;/strong&gt; Every time you use it, it gets a little better at working with you specifically.&lt;/p&gt;

&lt;p&gt;It's not a chatbot. It's not a code completion tool. It's an autonomous agent that can run shell commands, read files, browse the web, schedule tasks, delegate to sub-agents, and remember everything about how you work — across sessions, across platforms, across months of use.&lt;/p&gt;




&lt;h1&gt;
  
  
  The Five Core Mechanisms
&lt;/h1&gt;

&lt;h2&gt;
  
  
  1. The Learning Loop — It Gets Better Without You Teaching It
&lt;/h2&gt;

&lt;p&gt;This is the heart of Hermes. After every task, it runs an automatic retrospective:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;What should I remember?&lt;/strong&gt; → writes to memory&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Is this a recurring pattern?&lt;/strong&gt; → creates a Skill&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Did the user correct me?&lt;/strong&gt; → updates the Skill&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You don't trigger this. It just happens. The first time you ask it to write a Python script, the output might be generic. By the tenth time, it knows you prefer httpx over requests, you like error logs written to files instead of printed to terminal, and you hate long functions. Nobody taught it any of that — it observed and extracted the patterns itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Three-Layer Memory — From Goldfish to Old Friend
&lt;/h2&gt;

&lt;p&gt;Most AI tools forget you the moment you close the tab. Hermes has three memory layers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Session memory (SQLite + FTS5):&lt;/strong&gt; Raw conversation history, full-text indexed. Hermes doesn't dump all of this into context — it searches by topic and pulls only what's relevant. Three months of use feels as fast as three days.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Persistent memory:&lt;/strong&gt; A small, curated profile — your preferences, habits, tool choices. This loads into every conversation automatically.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Skill memory:&lt;/strong&gt; Markdown files that capture "how to do things" — your validated workflows, stored in &lt;code&gt;~/.hermes/skills/&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The key design choice: &lt;strong&gt;on-demand retrieval, not full-context loading.&lt;/strong&gt; FTS5 full-text search means Hermes finds the right memory at the right time without bloating token usage.&lt;/p&gt;

&lt;p&gt;Optional add-on: &lt;strong&gt;Honcho user modeling&lt;/strong&gt; (by Plastic Labs) — a 12-layer dialectical identity system that infers things about you that you never explicitly said. Like noticing you always pick the cheapest option and inferring you're cost-sensitive, so next time it surfaces pricing info first.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Self-Evolving Skills
&lt;/h2&gt;

&lt;p&gt;A Skill in Hermes is a standalone markdown file in &lt;code&gt;~/.hermes/skills/&lt;/code&gt; — instructions for how to do something well. Skills come from three sources:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Source&lt;/th&gt;
&lt;th&gt;How it works&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Bundled&lt;/td&gt;
&lt;td&gt;40+ pre-built Skills ship with installation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Agent-created&lt;/td&gt;
&lt;td&gt;Hermes auto-creates Skills from recurring tasks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Community Hub&lt;/td&gt;
&lt;td&gt;Install with one command&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The killer feature: &lt;strong&gt;Skills self-improve through use.&lt;/strong&gt; Every time you give feedback ("next time check if the table exists first"), Hermes goes back and edits the Skill file. Next run, the improvement is baked in.&lt;/p&gt;

&lt;p&gt;Skills follow the &lt;strong&gt;agentskills.io standard&lt;/strong&gt; — they're portable across Claude Code, Cursor, Codex CLI, Gemini CLI, and more. A Skill you wrote for one tool works in another.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. 40+ Built-in Tools + MCP
&lt;/h2&gt;

&lt;p&gt;Five categories of native tools:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Category&lt;/th&gt;
&lt;th&gt;Examples&lt;/th&gt;
&lt;th&gt;What they do&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Execution&lt;/td&gt;
&lt;td&gt;terminal, code_execution, file&lt;/td&gt;
&lt;td&gt;Run commands (sandboxed), read/write files&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Information&lt;/td&gt;
&lt;td&gt;web, browser, session_search&lt;/td&gt;
&lt;td&gt;Search, scrape, search conversation history&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Media&lt;/td&gt;
&lt;td&gt;vision, image_gen, tts&lt;/td&gt;
&lt;td&gt;Understand images, generate images, text-to-speech&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Memory&lt;/td&gt;
&lt;td&gt;memory, skills, todo, cronjob&lt;/td&gt;
&lt;td&gt;Manage memory, Skills, scheduled tasks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Coordination&lt;/td&gt;
&lt;td&gt;delegation, moa, clarify&lt;/td&gt;
&lt;td&gt;Sub-agents, multi-model answering, ask user&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Beyond the built-in tools, Hermes supports &lt;strong&gt;MCP (Model Context Protocol)&lt;/strong&gt; — connecting to 6,000+ external apps. GitHub, Slack, Jira, databases, Google Drive — add a config block to &lt;code&gt;config.yaml&lt;/code&gt; and it just works. You can also filter which tools each MCP server exposes for security.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Multi-Platform Gateway
&lt;/h2&gt;

&lt;p&gt;One unified process connects to all your messaging platforms simultaneously. Start a conversation on Telegram during your commute, continue it in the terminal at your desk — Hermes doesn't distinguish where a message came from. Same brain, same memory, same Skills.&lt;/p&gt;

&lt;p&gt;Supports: Telegram, Discord, Slack, WhatsApp, Signal, Email, SMS (Twilio), Home Assistant, Mattermost, Matrix, DingTalk, Feishu/Lark, WeCom, and Open WebUI.&lt;/p&gt;




&lt;h1&gt;
  
  
  How It Compares: Hermes vs Claude Code vs OpenClaw
&lt;/h1&gt;

&lt;p&gt;These three tools aren't competing — they solve different problems.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Dimension&lt;/th&gt;
&lt;th&gt;Claude Code&lt;/th&gt;
&lt;th&gt;OpenClaw&lt;/th&gt;
&lt;th&gt;Hermes Agent&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Core philosophy&lt;/td&gt;
&lt;td&gt;Interactive coding&lt;/td&gt;
&lt;td&gt;Configuration-as-behavior&lt;/td&gt;
&lt;td&gt;Autonomous background + self-improvement&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Your role&lt;/td&gt;
&lt;td&gt;Sitting at the terminal directing&lt;/td&gt;
&lt;td&gt;Writing config files&lt;/td&gt;
&lt;td&gt;Deploy and check in occasionally&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Memory&lt;/td&gt;
&lt;td&gt;CLAUDE.md + auto-memory&lt;/td&gt;
&lt;td&gt;SOUL.md + Daily Logs + semantic search&lt;/td&gt;
&lt;td&gt;Three-layer self-improving memory&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Skill source&lt;/td&gt;
&lt;td&gt;Manually installed&lt;/td&gt;
&lt;td&gt;ClawHub 5,700+ community&lt;/td&gt;
&lt;td&gt;Agent-created + community Hub&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Run mode&lt;/td&gt;
&lt;td&gt;On-demand&lt;/td&gt;
&lt;td&gt;On-demand&lt;/td&gt;
&lt;td&gt;24/7 background&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Deployment&lt;/td&gt;
&lt;td&gt;Local CLI (subscription)&lt;/td&gt;
&lt;td&gt;Local CLI (free + API costs)&lt;/td&gt;
&lt;td&gt;Self-hosted (VPS / Docker / Serverless)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;The practical way to think about it:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Need real-time pair programming? → &lt;strong&gt;Claude Code&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Need transparent, auditable agent behavior for a team? → &lt;strong&gt;OpenClaw&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Need 24/7 automated code review, scheduled tasks, persistent memory? → &lt;strong&gt;Hermes&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Long-term content project? → &lt;strong&gt;Hermes for research + Claude Code for writing&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They're complementary. The agentskills.io standard means Skills are portable between all three.&lt;/p&gt;




&lt;h1&gt;
  
  
  Getting Started: From Zero to Running in 15 Minutes
&lt;/h1&gt;

&lt;h2&gt;
  
  
  Step 1: Install
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-fsSL&lt;/span&gt; https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
&lt;span class="nb"&gt;source&lt;/span&gt; ~/.bashrc
hermes version  &lt;span class="c"&gt;# verify&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Works on macOS, Linux, WSL2, and even Termux on Android. The script handles Python, Node.js, and all dependencies.&lt;/p&gt;

&lt;p&gt;Docker alternative:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker pull nousresearch/hermes-agent:latest
docker run &lt;span class="nt"&gt;-v&lt;/span&gt; ~/.hermes:/opt/data nousresearch/hermes-agent:latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 2: Configure a model
&lt;/h2&gt;

&lt;p&gt;All configuration lives in one file: &lt;code&gt;~/.hermes/config.yaml&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;provider&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;openrouter&lt;/span&gt;       &lt;span class="c1"&gt;# or nousportal, openai, anthropic, ollama, etc.&lt;/span&gt;
  &lt;span class="na"&gt;api_key&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;sk-or-xxxxx&lt;/span&gt;
  &lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;anthropic/claude-sonnet-4&lt;/span&gt;
&lt;span class="na"&gt;terminal&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;local&lt;/span&gt;              &lt;span class="c1"&gt;# or docker, ssh, daytona, modal&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Supported providers include OpenRouter (200+ models with one key), Nous Portal (officially recommended), OpenAI, Anthropic, z.ai/Zhipu, and Ollama for fully offline local models.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Start talking
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;hermes
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. Ask it to search the web, read files, run shell commands. It will ask for permission before executing anything potentially dangerous.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Connect Telegram (optional but game-changing)
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Create a bot with &lt;a class="mentioned-user" href="https://dev.to/botfather"&gt;@botfather&lt;/a&gt; in Telegram → get a token&lt;/li&gt;
&lt;li&gt;Add to &lt;code&gt;~/.hermes/config.yaml&lt;/code&gt;:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;gateway&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;telegram&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;token&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;YOUR_BOT_TOKEN&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;Run &lt;code&gt;hermes&lt;/code&gt; — it connects to the Telegram Gateway automatically&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You now have a personal AI assistant reachable from your phone, anywhere in the world.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 5: Deploy to a VPS for 24/7 uptime
&lt;/h2&gt;

&lt;p&gt;Any cheap VPS will do (Hetzner, DigitalOcean, Vultr — whatever you already use). Hermes is lightweight without a local LLM.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--name&lt;/span&gt; hermes &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--restart&lt;/span&gt; unless-stopped &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-v&lt;/span&gt; ~/.hermes:/opt/data &lt;span class="se"&gt;\&lt;/span&gt;
  nousresearch/hermes-agent:latest
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's a 24/7 AI assistant with persistent memory, reachable from your phone.&lt;/p&gt;




&lt;h1&gt;
  
  
  What Makes It Actually Special
&lt;/h1&gt;

&lt;p&gt;After spending a week with this, here's what I think the real differentiators are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;The harness builds itself.&lt;/strong&gt; Other tools need you to write the rules (CLAUDE.md, SOUL.md). Hermes observes, learns, and writes its own rules. You can override anything, but the default is zero-config improvement.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Memory that actually works long-term.&lt;/strong&gt; FTS5 on-demand retrieval means it doesn't slow down after months. Your data stays local in SQLite — no cloud vector database needed.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Everything stays on your machine.&lt;/strong&gt; MIT license, self-hosted, any LLM you want. No vendor lock-in, no data leaving your server. A basic VPS runs it comfortably — memory usage is under 500MB without a local model.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Skills are portable.&lt;/strong&gt; The agentskills.io standard means your investment in Skills isn't locked to one platform. Switch tools, keep your workflows.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;It works when you're not there.&lt;/strong&gt; Cron scheduling + Telegram gateway = an agent that reviews PRs at 2am, monitors your servers, drafts daily reports, and sends you the results over breakfast.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h1&gt;
  
  
  Limitations to Be Aware Of
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;No automatic memory expiration.&lt;/strong&gt; The memory database only grows. You need to manually audit &lt;code&gt;~/.hermes/&lt;/code&gt; occasionally.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Skill self-improvement depends on feedback quality.&lt;/strong&gt; Vague feedback ("this doesn't feel right") won't improve anything. Specific feedback works.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auto-generated rules can drift.&lt;/strong&gt; The convenience of automatic improvement comes with the trade-off that you're giving up some control. Check your Skill files periodically.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Community ecosystem is still young.&lt;/strong&gt; OpenClaw's ClawHub has 5,700+ Skills from the lobster craze's network effects. Hermes's community is growing but isn't there yet.&lt;/li&gt;
&lt;/ul&gt;




&lt;h1&gt;
  
  
  Links
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/NousResearch/hermes-agent" rel="noopener noreferrer"&gt;github.com/NousResearch/hermes-agent&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Docs:&lt;/strong&gt; &lt;a href="https://hermes-agent.nousresearch.com/docs" rel="noopener noreferrer"&gt;hermes-agent.nousresearch.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Learning guide:&lt;/strong&gt; &lt;a href="https://hermesagent101.dev" rel="noopener noreferrer"&gt;hermesagent101.dev&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Happy to answer questions if anyone's tried it or is thinking about setting it up.&lt;/p&gt;

</description>
      <category>agents</category>
      <category>ai</category>
      <category>automation</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
