Hermes Agent: Free Self-Improving AI Agent (Desktop App Released)

Hermes Agent is an open-source, self-improving AI agent that runs persistently on a server, VPS, or local machine.

It learns from your conversations, creates reusable skills from completed tasks, maintains long-term memory across sessions, and operates through Telegram, Discord, Slack, WhatsApp, Signal, email, and CLI.

Hermes arrived after OpenClaw had already pushed personal AI agents into mainstream developer discussion. OpenClaw proved that an agent could live outside a browser tab, connect to personal channels, remember context, and act across local tools.

Hermes falls into the same category, with a stronger emphasis on self-improving skills, model choice, remote execution, and a built-in migration path for OpenClaw users.

The project’s GitHub growth gives Hermes more credibility than a normal new agent launch. Hermes crossed 140,000 stars in under three months and now sits at around 180,000 stars, placing it among the most popular open-source AI agent projects around the web.

Read More: Automate Anything: 10 Best & Open-source AI Agents

Most AI assistants still work like short-lived chat sessions. Hermes Agent solves a different problem: persistent AI work across projects, channels, models, and execution environments.

It can remember prior work, create reusable skills, schedule recurring tasks, run tools, delegate work to subagents, and keep running beyond a single laptop session.

Hermes Agent vs OpenClaw

Hermes is the stronger choice when the agent itself should improve over time and operate across servers, terminals, skills, and scheduled workflows. OpenClaw remains a great choice when the main goal is a chat-first personal assistant that connects to many messaging surfaces and device workflows.

Hermes AgentOpenClaw
Primary focusSelf-improving personal agent with memory, skills, providers, and remote execution.Personal assistant that runs on your devices and works through chat apps.
Best fitLong-running workflows, skill growth, model switching, research, automation, and server-based use.Messaging-first personal assistance, app-connected tasks, local assistant workflows, and companion app usage.
Setup stylePython-based CLI, TUI, desktop app, gateway, providers, and terminal backends.Node-based CLI, onboarding flow, gateway daemon, chat channels, and companion apps.
Model approachBroad provider support through hermes model, Nous Portal, OpenRouter, OAuth options, API keys, and custom endpoints.Broad model support with OpenAI subscription OAuth and provider configuration.
Memory approachPersistent memory, session search, skill creation, and skill refinement.Persistent memory, persona onboarding, channel sessions, and skills.
Channel supportTelegram, Discord, Slack, WhatsApp, Signal, Email, CLI, and additional platforms.WhatsApp, Telegram, Slack, Discord, Signal, iMessage, Microsoft Teams, Matrix, WeChat, QQ, and many more.
Execution modelLocal, Docker, SSH, Singularity, Modal, and Daytona terminal backends.Host execution for main sessions, sandbox options for non-main sessions, and Docker as a common sandbox backend.
Desktop experienceNative Hermes Desktop for macOS, Windows, and Linux.Companion app support and live Canvas features.
Migration pathImports OpenClaw data through hermes claw migrate.Native OpenClaw setup through openclaw onboard.
Practical decisionChoose Hermes when learning loops, cross-session skills, provider control, and remote execution matter most.Choose OpenClaw when chat-app coverage, local personal assistant workflows, and app-like companion features matter most.

OpenClaw users do not need to rebuild everything from scratch before trying Hermes. The migration command can import persona files, memory entries, user-created skills, approval patterns, messaging settings, API keys, TTS assets, and workspace instructions when the source setup uses supported paths and formats.

Features

  • Runs as a terminal agent, TUI app, desktop app, server agent, or messaging gateway.
  • Supports Telegram, Discord, Slack, WhatsApp, Signal, Email, CLI, and other connected surfaces.
  • Keeps persistent memory across sessions through local Hermes configuration and memory files.
  • Creates and improves skills after complex tasks.
  • Searches previous sessions through full-text search and LLM summarization.
  • Switches models through hermes model.
  • Works with Nous Portal, OpenRouter, OpenAI, Anthropic, Hugging Face, Google Gemini, Kimi, MiniMax, xAI, and custom endpoints.
  • Runs scheduled automations through natural-language cron workflows.
  • Spawns isolated subagents for parallel workstreams.
  • Runs terminal work through local, Docker, SSH, Singularity, Modal, and Daytona backends.
  • Supports web search, browser automation, vision, image generation, text-to-speech, terminal tools, and file operations.
  • Provides a desktop app for macOS, Windows, and Linux.
  • Imports OpenClaw settings, memories, skills, messaging settings, and selected API keys through hermes claw migrate.
Hermes Agent

Use Cases

  • Run a personal AI assistant from Telegram while the agent works on a cloud VM.
  • Build daily reports, weekly audits, backups, and recurring briefings through scheduled automations.
  • Maintain project memory across long development, research, content, or operations workflows.
  • Delegate larger tasks into parallel subagent workstreams.
  • Connect one assistant to multiple model providers and switch models per task.
  • Use Docker or SSH backends when local host access creates security concerns.
  • Migrate an existing OpenClaw setup into a Hermes workflow.

HOW TO USE IT

1. Choose the right installation path

Linux, macOS, WSL2, and Termux users can install Hermes through the shell installer.

curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

Native Windows users can install Hermes from PowerShell.

iex (irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1)

Python users can install the tagged package through pip.

pip install hermes-agent
hermes postinstall

Desktop users can install the native app from Hermes Desktop or add desktop support through the CLI installer.

curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash -s -- --include-desktop

Existing Hermes users can launch the desktop app through the installed CLI.

hermes desktop

2. Reload your shell after installation

The installer adds Hermes to your shell profile. Reload the profile before starting the agent.

source ~/.bashrc

Zsh users can reload the Zsh profile.

source ~/.zshrc

3. Run the setup wizard

The setup wizard configures the base agent, providers, tools, and local settings.

hermes setup

Nous Portal gives the shortest setup path when you want models and tool gateway access under one login.

hermes setup --portal

Check the Portal wiring after setup.

hermes portal status

4. Pick a model provider

Hermes uses hermes model as the provider and model selection flow.

hermes model

OpenRouter works well when model variety matters. Local endpoints make more sense when privacy and cost control matter. Nous Portal suits readers who want fewer separate API keys for model access, web search, image generation, text-to-speech, and cloud browser tools.

5. Start with a basic chat

Start the classic CLI.

hermes

Start the newer TUI.

hermes --tui

Use a concrete first prompt that proves file and terminal access work.

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

6. Confirm session continuity

Hermes becomes more useful when sessions resume correctly.

hermes --continue

The short version works too.

hermes -c

7. Configure tools before adding channels

Tool permissions matter more once Hermes starts receiving messages from chat apps.

hermes tools

Docker isolation is a safer default for terminal work that should not touch the host directly.

hermes config set terminal.backend docker

SSH works when the agent should operate on a remote machine.

hermes config set terminal.backend ssh

8. Add the messaging gateway

Configure the gateway after CLI chat works.

hermes gateway setup

Start the gateway after platform setup.

hermes gateway start

Use the gateway for Telegram, Discord, Slack, WhatsApp, Signal, Email, and other supported channels. Keep public or group channels more restricted than your private terminal session.

9. Add skills only after the core workflow works

Skills are reusable instruction files. They help Hermes repeat multi-step workflows such as deployment, PR review, repo analysis, reporting, and automation.

hermes skills

Skill overload can make the agent harder to audit. Add skills for repeated workflows first, then expand after the agent proves stable.

10. Migrate from OpenClaw only after reviewing the plan

Hermes can import OpenClaw data through a dedicated migration command.

hermes claw migrate

Preview the migration before writing files.

hermes claw migrate --dry-run

Run a user-data migration when you want memories and skills but not secrets.

hermes claw migrate --preset user-data

Use overwrite only when you accept conflict replacement.

hermes claw migrate --overwrite

Check the migrated setup through a new session, then verify provider keys.

hermes status

Hermes Agent Cheatsheet & Quick Reference

Installation Commands

CommandPurpose
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bashInstall on Linux, macOS, WSL2, or Termux.
iex (irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1)Install natively on Windows through PowerShell.
pip install hermes-agentInstall the tagged Python package.
hermes postinstallInstall optional dependencies and run setup after pip install.
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash -s -- --skip-browserInstall while skipping browser automation setup.
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash -s -- --include-desktopInstall Hermes with desktop app support.
hermes desktopLaunch the desktop app from an existing Hermes installation.

Core CLI Commands

CommandPurpose
hermesStart the classic interactive CLI.
hermes --tuiStart the modern terminal UI.
hermes modelChoose or change the model provider.
hermes toolsConfigure enabled tools.
hermes config setSet an individual configuration value.
hermes gatewayStart or manage the messaging gateway.
hermes gateway setupConfigure messaging platforms.
hermes gateway startStart the configured gateway.
hermes setupRun the full setup wizard.
hermes setup --portalConfigure Hermes through Nous Portal OAuth.
hermes portal statusCheck Portal and Tool Gateway status.
hermes claw migrateImport OpenClaw data into Hermes.
hermes updateUpdate Hermes.
hermes doctorDiagnose setup problems.
hermes --continueResume the most recent session.
hermes -cResume the most recent session with the short flag.
hermes skillsBrowse and install reusable skills.
hermes statusCheck provider authentication and status.

Configuration Examples

CommandPurpose
hermes config set model anthropic/claude-opus-4.6Set a specific model.
hermes config set terminal.backend dockerUse Docker isolation for terminal execution.
hermes config set terminal.backend sshUse an SSH backend for remote execution.
hermes config set OPENROUTER_API_KEY sk-or-...Save an OpenRouter API key.

Slash Commands

CommandPurpose
/newStart a new conversation.
/resetReset the current conversation.
/model [provider:model]Change the active model from chat.
/personality [name]Set a personality.
/retryRetry the last turn.
/undoUndo the last turn.
/compressCompress context.
/usageCheck usage.
/insights [--days N]View usage or activity insights for a date range.
/skillsBrowse available skills.
/<skill-name>Invoke a skill.
/stopStop current work from a messaging platform.
/platformsView platform status from the CLI.
/statusView status from messaging platforms.
/sethomeSet the home context from messaging platforms.
/voice onEnable voice mode after voice dependencies are installed.

OpenClaw Migration Commands and Flags

Command or FlagPurpose
hermes claw migrateRun interactive migration with preview and confirmation.
hermes claw migrate --dry-runPreview migration changes only.
hermes claw migrate --preset full --migrate-secrets --yesRun full migration with secrets and skip confirmation.
hermes claw migrate --preset user-dataMigrate user data while excluding infrastructure config.
--dry-runStop after showing the migration plan.
--preset <name>Use full or user-data.
--overwriteReplace existing Hermes files on conflicts.
--migrate-secretsInclude supported API keys.
--no-backupSkip the pre-migration backup archive.
--source <path>Set a custom OpenClaw source directory.
--workspace-target <path>Set the destination for AGENTS.md.
--skill-conflict <mode>Use skip, overwrite, or rename for skill conflicts.
--yesSkip confirmation after preview.

Provider and Environment Options Mentioned

Provider or KeySetup Note
Nous PortalOAuth login through hermes model or hermes setup --portal.
OpenAI CodexDevice code auth through hermes model.
AnthropicOAuth for supported subscription paths or API key setup.
OpenRouterAPI key setup.
Z.AI GLMGLM_API_KEY, ZAI_API_KEY, or Z_AI_API_KEY.
Kimi / MoonshotKIMI_API_KEY or KIMI_CODING_API_KEY.
Kimi ChinaKIMI_CN_API_KEY.
Arcee AIARCEEAI_API_KEY.
GMI CloudGMI_API_KEY.
MiniMax InternationalMINIMAX_API_KEY.
MiniMax ChinaMINIMAX_CN_API_KEY.
Alibaba Cloud QwenDASHSCOPE_API_KEY or ALIBABA_CODING_PLAN_API_KEY.
Hugging FaceHF_TOKEN.
Azure FoundryAZURE_FOUNDRY_API_KEY and AZURE_FOUNDRY_BASE_URL.
Google AI StudioGOOGLE_API_KEY or GEMINI_API_KEY.
xAI GrokXAI_API_KEY.
NovitaAINOVITA_API_KEY.
StepFunSTEPFUN_API_KEY.
Xiaomi MiMoXIAOMI_API_KEY.
Tencent TokenHubTOKENHUB_API_KEY.

Alternatives and Related Tools

Pros

  • Free and open-source.
  • MIT license.
  • Strong memory system.
  • Skill creation loop.
  • Multi-provider support.
  • Messaging app access.
  • Desktop app available.

Cons

  • Setup takes planning.
  • Tool permissions need care.
  • Local access can create risk.
  • Advanced workflows need configuration.
  • More complex than chatbots.

FAQs

Q: Is Hermes Agent free?
A: Hermes Agent is free and open-source under the MIT license. Model usage, hosted providers, cloud machines, and paid gateway services may still cost money.

Q: Does Hermes Agent run on Windows?
A: Hermes Agent supports native Windows through a PowerShell installer. WSL2 also works with the Linux installer, and the desktop app supports Windows 10 and Windows 11.

Q: Can Hermes Agent replace OpenClaw?
A: Hermes Agent can replace OpenClaw for many long-running personal agent workflows, especially when memory, skills, model control, and server execution matter.

Q: Can Hermes Agent import OpenClaw data?
A: Hermes Agent can import supported OpenClaw data through hermes claw migrate. The migration can cover persona files, memory, user profiles, skills, approval patterns, messaging settings, selected API keys, TTS assets, and workspace instructions.

Q: Is Hermes Agent private?
A: Hermes can keep memory, configuration, and local workflows on your own machine or server. Prompts, code, files, and task data may leave your environment when you use external model providers, cloud browsers, web tools, or hosted services.

Q: Is Hermes Agent good for non-developers?
A: Hermes Desktop makes the tool more approachable, but the best results still come from users who understand model providers, permissions, automation, and basic setup concepts. A simple hosted chatbot suits casual use better.

Q: What is the biggest limitation of Hermes Agent?
A: Hermes Agent needs careful setup before serious use. Model choice, gateway access, tool permissions, sandboxing, memory behavior, and scheduled automations all affect reliability and safety.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest & top AI tools sent directly to your email.

Subscribe now to explore the latest & top AI tools and resources, all in one convenient newsletter. No spam, we promise!