惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

F
Fortinet All Blogs
S
Secure Thoughts
月光博客
月光博客
美团技术团队
雷峰网
雷峰网
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
N
News and Events Feed by Topic
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Forbes - Security
Forbes - Security
W
WeLiveSecurity
P
Proofpoint News Feed
阮一峰的网络日志
阮一峰的网络日志
爱范儿
爱范儿
G
GRAHAM CLULEY
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
AI
AI
Last Week in AI
Last Week in AI
Google Online Security Blog
Google Online Security Blog
Schneier on Security
Schneier on Security
云风的 BLOG
云风的 BLOG
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Recent Announcements
Recent Announcements
Webroot Blog
Webroot Blog
T
Tor Project blog
Cisco Talos Blog
Cisco Talos Blog
N
News and Events Feed by Topic
罗磊的独立博客
The Register - Security
The Register - Security
Blog — PlanetScale
Blog — PlanetScale
T
Threat Research - Cisco Blogs
博客园 - 【当耐特】
Apple Machine Learning Research
Apple Machine Learning Research
人人都是产品经理
人人都是产品经理
T
The Exploit Database - CXSecurity.com
www.infosecurity-magazine.com
www.infosecurity-magazine.com
B
Blog
腾讯CDC
Microsoft Azure Blog
Microsoft Azure Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Engineering at Meta
Engineering at Meta
Latest news
Latest news
IT之家
IT之家
D
DataBreaches.Net
博客园 - 司徒正美
N
Netflix TechBlog - Medium
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
The AI Agent That Learns While It Works — A Complete Guide to Hermes Agent
Aditya · 2026-05-23 · via DEV Community

This is a submission for the Hermes Agent Challenge


Most AI Agents Are Goldfish. Hermes Is Different.

Let me describe the standard agentic experience of 2024–2025.

You open a terminal, give an agent a task, watch it spin through a dozen steps, and feel genuinely impressed — right up until you close the session. Tomorrow, you start completely from scratch. The agent has no memory of what it learned, no idea who you are, and zero awareness that it made the same mistake three sessions ago.

You're its first user. Every single time.

"We've been shipping amnesia as a feature and calling it 'stateless architecture.' The emperor has no clothes, and the emperor can't remember what clothes were."

This is the problem that Hermes Agent, built by Nous Research, is genuinely trying to solve. Not with a wrapper around an existing API. Not with a clever prompt. With a fundamentally different architecture: a closed learning loop baked into the agent itself.

The longer Hermes runs, the more capable it becomes — at working with you, specifically.


What Is Hermes Agent, Really?

Before we get into setup, the architecture, or how it compares to other frameworks — it's worth being clear about what Hermes actually is, because it doesn't fit neatly into existing categories.

It's not a coding copilot tethered to an IDE.
It's not a chatbot wrapper around a single API.
It's not a rigid workflow automation engine.

It's an autonomous agent that lives wherever you put it — a $5 VPS, a GPU cluster, or serverless infrastructure that costs nearly nothing when idle. You can talk to it from Telegram while it works on a cloud VM you never SSH into yourself. It runs on your infrastructure. You own the runtime and the data.

Here's a quick snapshot of what ships in the box:

Stat Number
Built-in tools 70+
Messaging platform integrations 20+
Terminal execution backends 6
License MIT

Part 1: Getting Started — From Zero to Running in Under 5 Minutes

Step 1 — Install

One command. Works on Linux, macOS, WSL2, and Android via Termux.

# Linux / macOS / WSL2 / Android (Termux)
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

# Reload your shell after install:
source ~/.bashrc   # or source ~/.zshrc

# Windows (PowerShell, early beta):
irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1 | iex

Enter fullscreen mode Exit fullscreen mode

That's the whole install step. No dependency hunting. No pip install hell. The script handles everything and places the agent at ~/.hermes/hermes-agent.

Step 2 — Choose Your AI Provider

This is the most important setup step. Run hermes model for an interactive selection menu. Here are the main options worth knowing:

Provider Best For Setup Method
Nous Portal Zero-config start, subscription-based OAuth via hermes model
OpenRouter Multi-model experimentation API key
Anthropic Claude models OAuth (Max plan) or API key
GitHub Copilot Using your existing subscription OAuth via hermes model
Custom Endpoint Local models via Ollama / VLLM / llama.cpp Base URL + API key

⚠️ Critical: Hermes requires a model with at least 64,000 tokens of context. Most hosted models (Claude, GPT, Gemini, Qwen, DeepSeek) meet this easily. If you're running locally, set your context size to at least 64K (e.g., --ctx-size 65536 in llama.cpp).

You can switch providers at any time with hermes model — no lock-in.

Step 3 — Your First Session

hermes          # classic CLI
hermes --tui    # modern TUI with overlays and mouse support (recommended)

Enter fullscreen mode Exit fullscreen mode

You'll see a welcome banner showing your provider, model, available tools, and loaded skills. Start with something easy to verify:

Summarize this repo in 5 bullets and tell me the main entrypoint.

Enter fullscreen mode Exit fullscreen mode

Check my current directory and tell me what looks like the main project file.

Enter fullscreen mode Exit fullscreen mode

What success looks like:

  • Banner shows your chosen model and provider
  • Hermes replies without error
  • It uses a tool when needed (terminal, file read, web search)
  • The conversation continues normally for more than one turn

Step 4 — Verify Sessions Work

This matters more than most tutorials mention:

hermes --continue   # Resume the most recent session
hermes -c           # Short form

Enter fullscreen mode Exit fullscreen mode

If this works, you have persistent sessions. That's the foundation everything else is built on.

Step 5 — Add the Next Layer

Only after the base chat works. Don't skip ahead.

Messaging platforms (Telegram, Discord, Slack, WhatsApp, Signal, Email, and 15+ more):

hermes gateway setup

Enter fullscreen mode Exit fullscreen mode

Skills — structured knowledge documents the agent loads on demand:

hermes skills search kubernetes
hermes skills install openai/skills/k8s

Enter fullscreen mode Exit fullscreen mode

MCP servers — add to ~/.hermes/config.yaml:

mcp_servers:
  github:
    command: npx
    args: ["-y", "@modelcontextprotocol/server-github"]
    env:
      GITHUB_PERSONAL_ACCESS_TOKEN: "ghp_xxx"

Enter fullscreen mode Exit fullscreen mode

Docker sandbox — for safety on production work:

hermes config set terminal.backend docker

Enter fullscreen mode Exit fullscreen mode

Voice mode:

cd ~/.hermes/hermes-agent
uv pip install -e ".[voice]"
# Then inside a session: /voice on  (Ctrl+B to record)

Enter fullscreen mode Exit fullscreen mode

💡 Pro tip: Run hermes doctor any time something feels off. It diagnoses config problems and tells you exactly what to fix. Don't add features until hermes doctor is clean.


Part 2: How the Learning Loop Actually Works

This is the part that separates Hermes from the rest of the field. Let me walk through what actually happens under the hood when you use Hermes over time.

The Five-Stage Learning Loop

Stage 1 — Context Loading
Before the agent responds to anything, it loads MEMORY.md (persistent facts about you and your projects) and USER.md (a behavioral model of who you are). It also discovers and loads any context files in your project directory — .hermes.md, AGENTS.md, CLAUDE.md, SOUL.md. The agent starts every session knowing your history.

Stage 2 — Tool Selection and Multi-Step Planning
From 70+ built-in tools, Hermes selects what the task needs. It can spawn subagents via delegate_task — up to 3 concurrent child agents by default, each with isolated context, restricted toolsets, and their own terminal sessions. This is how it parallelizes complex work without the threads stepping on each other.

Stage 3 — Skill Creation for Novel Tasks
When Hermes successfully completes a task it hasn't done before, it can write a reusable Skill document. Next time it faces a similar problem — even in a different session — it loads the Skill and executes efficiently without rediscovering the approach from scratch.

Stage 4 — Memory Consolidation
After sessions, Hermes uses FTS5 full-text search with LLM summarization to curate what's worth keeping. It doesn't dump raw logs into memory — it actively decides what to remember. This keeps memory bounded and useful even after hundreds of sessions. It also uses Honcho's dialectic user modeling to build a deepening picture of who you are across time.

Stage 5 — Self-Improvement
Skills created in previous sessions are eligible for improvement. Hermes can notice when an old Skill isn't working optimally and update it mid-use. The agent gets measurably better at your specific workflows over weeks and months.

This is a closed loop. Most agents have none of it.

The execute_code Power Move

This is the feature that surprised me most. The execute_code tool lets Hermes write Python scripts that call its own tools programmatically, via sandboxed RPC execution:

# Instead of: search → wait → read → wait → summarize → wait → write
# Hermes collapses this into a single LLM turn:

async def research_pipeline(topic):
    results = await tools.web_search(query=topic, n=10)
    pages = [await tools.read_url(r.url) for r in results[:3]]
    summary = await tools.summarize(pages, style="technical")
    await tools.write_file("research.md", summary)
    return summary

Enter fullscreen mode Exit fullscreen mode

This dramatically reduces the token cost of multi-step pipelines. Instead of burning inference tokens on "I will now do step 3 of 7," Hermes writes the whole pipeline as code and runs it. The LLM is only involved at the decision point, not at every mechanical step.

Terminal Backends: It's Not Tied to Your Laptop

Six backends let you separate where you talk to Hermes from where it actually runs:

  • Local — direct execution, fast, simple
  • Docker — sandboxed isolation, the right choice for production work
  • SSH — talk locally, execute on a remote server
  • Daytona / Modal — serverless; the environment hibernates when idle and costs nearly nothing

The Modal and Daytona backends are worth understanding. You can talk to your Hermes agent from your phone via Telegram while the agent's actual work runs on a cloud VM. The environment sleeps when you're not using it. For a personal always-on assistant this changes the economics completely.

The Skills System and agentskills.io

Skills are structured knowledge documents — procedures the agent loads on demand. They follow progressive disclosure: Hermes loads just the skill index first, then drills into full skill content only if the task requires it. Token usage stays low even in long sessions.

Skills are compatible with the open agentskills.io standard — meaning skills you write for Hermes are portable and shareable with the community, and community skills work with your setup without any conversion.


Part 3: How Hermes Stacks Up Against Other Agentic Frameworks

There are serious alternatives in the open-source agent ecosystem. Here's an honest look at where Hermes fits.

Feature Hermes Agent AutoGen CrewAI OpenDevin
Persistent cross-session memory ✅ Native ⚠️ Limited
Autonomous skill creation ✅ Built-in
Multi-step tool use
Messaging platform gateway ✅ 20+ platforms
Runs on $5 VPS / serverless ✅ Yes ⚠️ Possible ⚠️ Possible ❌ GPU needed
Multi-agent delegation ✅ Subagents ✅ Core feature ✅ Crews / Flows ⚠️
Local / self-hosted LLM ✅ Any endpoint
Voice mode ✅ CLI + messaging
MCP server support ⚠️ Via plugins ⚠️ Via plugins
Primary focus Personal autonomous agent Multi-agent orchestration Role-based agent teams Software engineering

Plain-English Breakdown

AutoGen is brilliant if you want fine-grained control over agent-to-agent communication patterns. But it's a framework you orchestrate — not a ready-to-run agent. You write the coordination logic yourself.

CrewAI makes multi-agent teamwork feel intuitive — define crews with roles, let them coordinate. Great for structured pipelines. Less suited for the kind of open-ended "figure it out" sessions where Hermes excels.

OpenDevin is purpose-built for software engineering tasks: browsing, code execution, file editing. Excellent in its lane. That lane is narrower than Hermes's.

Hermes is the agent you'd deploy as your actual daily assistant — one that knows your name, remembers your projects, and gets measurably better at helping you over weeks and months. That's a genuinely different product from the others.

When NOT to use Hermes: If you need a complex multi-agent pipeline with dozens of specialized roles that coordinate on a strict workflow, AutoGen or CrewAI give you more structured control. If your only use case is automated software engineering on repos, Claude Code or OpenDevin are sharper tools. Hermes shines brightest as a personal, persistent, do-everything agent — not a single-purpose workflow engine.


Part 4: What Open Agentic Systems at This Capability Level Actually Mean

I want to say something that might be obvious, but I haven't seen it written plainly.

When your agent genuinely knows you — your preferences, your projects, your quirks, your bad habits — you need to be the one in control of that knowledge. Hermes runs on your infrastructure. You own what it learns about you.

That changes the trust calculus entirely.

Most AI products in this space are cloud-hosted services with "open-source" labels slapped on for marketing. You're renting access to an agent that lives on their servers, stores its state in their database, and disappears if they change their pricing. Hermes runs on a $5 VPS you control, hibernates when idle via Modal or Daytona, and costs nearly nothing when you're not actively using it. The economics and the ownership model are completely different.

The second thing worth saying: agents that compound matter more than agents that are capable on day one.

The tools with the most features in their initial release rarely win. The tools that get measurably better at working with you over time, that reduce the friction of repeated patterns, that remember what you learned together last Tuesday — those are the ones that stick.

Hermes is one of the very few systems being built with that end state explicitly in mind. Not as a future roadmap item. As a first-class architectural property, shipping today, MIT license, running on your hardware.

That's worth paying attention to.


Quick-Start Checklist

Before you go — here are the six things to actually do today:

  • [ ] Run the one-line installer
  • [ ] Run hermes model and pick a provider
  • [ ] Launch hermes --tui and complete your first conversation
  • [ ] Test session resume with hermes --continue
  • [ ] Install a skill with hermes skills search ...
  • [ ] Share what you built on DEV.to for the challenge 🎉

Resources


Built during the Hermes Agent Challenge, May 2026. If you found this useful, I'd love to see what you build — drop it in the comments.