Hermes Agent: Free Self-Improving AI Agent with Memory & Bot Mode

Use Hermes Agent across desktop, CLI, messaging, and remote machines with persistent memory, reusable skills, Bot Mode, MCP, and cron jobs.

Hermes Agent is a free and open-source personal AI agent from Nous Research that can work across the terminal, desktop app, browser, messaging channels, and remote machines while keeping memory and reusable skills between sessions. It can run tools, delegate tasks to subagents, and switch among configured model providers.

This agent is good for projects where you need persistent AI work across terminals, messaging channels, desktop sessions, and remote execution. It operates through Telegram, Discord, Slack, WhatsApp, Signal, email, the CLI, TUI, desktop app, and browser-based administration UI.

Review tool permissions, model-provider access, browser access, MCP servers, and gateway credentials before connecting Hermes Agent to real projects or chat channels.

Hermes Agent vs OpenClaw

OpenClaw and Hermes Agent overlap in messaging, automation, remote execution, persistent state, and multi-model support. Hermes centers multi-agent work on reusable profiles, Bot Mode, learned skills, CLI/TUI control, MCP management, and model-provider configuration. OpenClaw centers the experience on a personal assistant that works across messaging, native apps, paired devices, and cloud workers.

Hermes AgentOpenClaw 2.0
Primary focusPersistent AI agents with memory, skills, Bot Mode, subagents, model choice, desktop/terminal access, and remote execution.Personal AI assistant across messaging, native apps, paired devices, cloud workers, automations, and interactive sessions.
Multi-agent workBot Mode, profile-based bots, group chats, direct bot DMs, peer gateways, and steerable delegated subagents.Subagent tasks, durable progress views, paired devices, cloud workers, and session-based task execution.
Scheduled workCron jobs, Bot routines, persistent memory, continuity between runs, per-job work directories, and script-only monitoring jobs.Recurring automations with approval controls and delivery through the personal-assistant environment.
Model accessMany model providers, OAuth options, API keys, custom OpenAI-compatible endpoints, self-hosted models, and model switching.Multiple model providers configured through the OpenClaw runtime and apps.
Apps and accessCLI, TUI, Hermes Desktop, web dashboard, messaging gateway, API server, and remote gateways.Web and native chat apps, messaging channels, gateway services, and paired-device experiences.
Memory and skillsPersistent memory, reusable skills, /learn, /journey, profile-specific state, and Bot chats.Persistent state with skills, sessions, and app-connected tasks.
MCP and toolsBuilt-in MCP management, CLI controls, desktop/dashboard management, health checks, and custom servers.Extensible tool and plugin connections across the assistant environment.
Migrationhermes claw migrate imports supported OpenClaw data with preview and conflict controls.OpenClaw uses its own onboarding and configuration system.
HighlightsBot Mode, learned skills, CLI/TUI control, MCP management, and provider configurationMessaging, native apps, paired devices, and cloud-connected personal-assistant tasks

Key Features

  • Bot Mode — Turns profiles into named bots with their own model, memory, skills, credentials, avatar, chat history, routines, and group-chat membership.
  • Persistent memory — Keeps reusable information across sessions and exposes memory review through /journey.
  • Reusable skills — Turns repeated tasks into skills through the skill system and /learn.
  • Scheduled agents — Runs cron jobs and Bot routines; --continuity passes the previous output into later runs.
  • Subagents — Delegates parallel tasks, shows active children, accepts mid-run steering, and can stop a child while preserving partial results.
  • Agent-to-agent messaging — Uses Bot chats and hermes peer to pass work between agents across profiles or registered gateways.
  • MCP management — Installs and manages MCP servers from the CLI, desktop app, or web dashboard and supports custom HTTP or stdio servers.
  • Browser automation — Navigates, clicks, reads, screenshots, and scrolls browser sessions. Authenticated Chromium profiles can be connected with explicit access controls.
  • Desktop app — Runs on macOS, Windows, and Linux with chat, sessions, files, profiles, memory, cron jobs, Bots, MCP management, coding projects, and remote connections.
  • CLI, TUI, and dashboard — Shares Hermes sessions, configuration, memory, and skills across terminal, desktop, browser administration, and messaging access.
  • Messaging gateways — Connects Hermes to Telegram, Discord, Slack, WhatsApp, Signal, email, and other supported channels.
  • Model choice — Works with OAuth-backed accounts, API-key providers, custom OpenAI-compatible endpoints, self-hosted inference, and Mixture-of-Agents presets.
  • Remote execution — Runs terminal tasks through local, Docker, SSH, Singularity, Modal, Daytona, and other configured backends.
  • Coding tools — Includes /init, /diff, /context, /plan, /goal, worktrees, checkpoints, and project-aware tools.
  • Grounded research — Supports research with citations and evidence checks when the grounded-citations skill is enabled.
  • Voice — Supports streaming TTS, interruption during speech, wake words, and voice messages on supported channels.
  • Security controls — Uses command approvals, deny rules, protected instruction-file writes, secret redaction, and sandbox options.
  • OpenClaw migration — Imports supported memories, skills, profiles, messaging settings, selected credentials, and workspace instructions through hermes claw migrate.
Hermes Agent

Use Cases

  • Create specialist bots for research, coding, monitoring, or operations and let them coordinate in Bot Mode.
  • Run a recurring news, server, or project monitor that receives its previous report and can avoid duplicate updates.
  • Keep project memory across long coding, research, content, or operations tasks.
  • Delegate a large task to several subagents and redirect one when its approach needs to change.
  • Use Hermes Desktop on a laptop while the agent runtime, provider credentials, and compute run on a remote gateway or server.
  • Connect MCP servers for databases, developer tools, observability systems, automation services, and other external capabilities.
  • Use browser automation to inspect documentation, collect web information, or complete browser-based tasks.
  • Run a personal assistant through Telegram, Discord, Slack, or another messaging platform while the runtime stays on your machine or server.
  • Switch providers or self-hosted models for different tasks while preserving existing sessions, skills, and memory.

How to Use Hermes Agent

1. Install Hermes and run setup

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

curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash

Native Windows has a PowerShell installer.

powershell -ExecutionPolicy Bypass -c "irm https://hermes-agent.nousresearch.com/install.ps1 | iex"

The Python package option needs the post-install step.

pip install hermes-agent
hermes postinstall

Reload your shell profile if the installer updated it, then start the setup wizard.

source ~/.bashrc
# Zsh: source ~/.zshrc
hermes setup

Nous Portal provides OAuth access to Nous services. hermes auth manages credentials and authentication status.

hermes portal
hermes auth status

2. Configure a model and open Hermes

Run hermes model from the shell to configure providers, complete OAuth flows, enter API keys, or set a default model.

hermes model

Start the classic CLI, TUI, or desktop app after authentication works.

hermes
hermes --tui
hermes desktop

3. Create persistent bots and project context

Bot Mode is built into Hermes Desktop. Each bot is a Hermes profile, and the profile can also be opened from the terminal.

hermes profile create <name>
hermes profile list
hermes -p <bot-name> chat

Resume an existing session with --continue. In coding repositories, /init can create or update AGENTS.md, /context shows context-window usage, and /diff shows Git changes.

hermes --continue
/init
/context
/diff

4. Configure tools, isolation, and MCP servers

Review enabled tools before connecting Hermes to projects, browsers, or messaging channels.

hermes tools

Docker keeps terminal execution in a container. SSH sends terminal work to a configured remote machine.

hermes config set terminal.backend docker
hermes config set terminal.backend ssh

Hermes includes MCP management in the main installation. Open the MCP picker, list available integrations, or install one by name.

hermes mcp
hermes mcp catalog
hermes mcp install <name>

5. Connect messaging channels

Configure the messaging gateway after local chat, provider access, and tool permissions are working. The gateway supports channels such as Telegram, Discord, Slack, WhatsApp, Signal, and email. Group and public channels need tighter tool permissions than a private terminal session.

hermes gateway setup
hermes gateway start

6. Create scheduled jobs with continuity

Create a recurring job with a schedule and task prompt. --continuity injects the job’s previous output into later runs, which supports deduplication and incremental reporting.

hermes cron create "every 6h" "Scan for new agent-tooling news" --continuity

7. Pass work between agents and save repeated tasks

hermes peer registers Hermes gateways on other machines and sends messages to their agents’ canonical Bot Chats.

hermes peer list
hermes peer dm <peer>/<agent> "Review this result and continue the task."

For repeated tasks, browse installed skills or turn a completed process into a reusable skill with /learn.

hermes skills
/learn <process>

8. Update, export, or migrate an existing setup

Use the built-in updater for an existing installation. Session exports can include a secret-redaction pass before you share them.

hermes update
hermes sessions export backup.jsonl --redact

hermes claw migrate imports supported OpenClaw data. Run a dry preview before writing migration changes.

hermes claw migrate --dry-run

Hermes Agent Cheatsheet & Command Reference

Installation Commands

CommandPurpose
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bashInstall on Linux, macOS, WSL2, or Termux.
powershell -ExecutionPolicy Bypass -c "irm https://hermes-agent.nousresearch.com/install.ps1 | iex"Install on native Windows through PowerShell.
pip install hermes-agentInstall the Python package.
hermes postinstallRun post-install setup after the Python package installation.
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash -s -- --skip-browserInstall while skipping browser automation setup.
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash -s -- --include-desktopInstall Hermes with desktop support.
hermes desktopLaunch Hermes Desktop.
hermes updateUpdate an existing Hermes installation.

Core CLI Commands

CommandPurpose
hermesStart the classic interactive CLI.
hermes --tuiStart the terminal UI.
hermes desktopOpen the native desktop app.
hermes modelConfigure providers, authenticate, set endpoints, and choose the saved default model.
hermes authManage credentials and OAuth-backed provider authentication.
hermes toolsConfigure enabled tools.
hermes configView or change Hermes configuration.
hermes gateway setupConfigure messaging platforms.
hermes gateway startStart the configured gateway.
hermes setupRun the setup wizard.
hermes portalRun the Nous Portal setup flow.
hermes statusShow agent, authentication, and platform status.
hermes doctorDiagnose setup problems.
hermes --continue / hermes -cResume the most recent session.
hermes skillsBrowse and manage reusable skills.
hermes mcpOpen the MCP picker and manage MCP server configurations.
hermes cronList, create, edit, pause, resume, run, or remove scheduled jobs.
hermes peerManage peer gateways and direct agent-to-agent messaging.
hermes claw migrateImport supported OpenClaw data into Hermes.
hermes sessions export backup.jsonl --redactExport session data with a secret-redaction pass.

Bot, Cron, and MCP Commands

CommandPurpose
hermes -p <bot> chatOpen the persistent profile used by a Bot Mode bot.
hermes profile create <name>Create a Hermes profile that can also appear as a bot.
hermes profile listList profiles.
hermes peer listList registered peer gateways.
hermes peer dm <peer>/<agent> "..."Send a direct message to an agent on a registered peer.
hermes cron listList scheduled jobs and Bot routines.
hermes cron create "every 2h" "..."Create a recurring scheduled job.
hermes cron create "every 6h" "..." --continuityCreate a recurring job that receives its previous output on later runs.
hermes cron edit <job_id> --continuityEnable continuity on an existing job.
hermes mcpOpen the interactive MCP picker.
hermes mcp catalogList available MCP entries.
hermes mcp install <name>Install an MCP server by name.
hermes mcp add <name> ...Configure a custom HTTP or stdio MCP server.
hermes mcp serveRun Hermes itself as an MCP server.

Slash Commands

CommandPurpose
/newStart a new conversation.
/modelSwitch between providers and models that are already configured.
/statusShow session, model, provider, token, and recent activity information.
/context [all]Show context-window usage by system prompt, tools, skills, MCP, subagents, memory, conversation, and free space.
/diff [staged|all|session] [--stat]Show Git changes for the current project.
/init [notes]Generate or update AGENTS.md from a repository scan.
/plan [task]Write a Markdown implementation plan without executing it.
/focus [on|off|status]Show a reduced-output view with the prompt and final response while hiding routine tool progress.
/learn <task>Create a reusable skill from a task description or source.
/journeyReview saved memories and learned skills.
/goal <text>Set a persistent completion goal that Hermes can continue working toward across turns.
/agentsShow active agents and running tasks.
/cronManage scheduled tasks from chat.
/browserConnect, disconnect, or inspect a local Chromium-family browser connection.
/compressCompress conversation context.
/usageShow token usage, estimated cost, and available provider-account limits when supported.
/rollbackList or restore filesystem checkpoints.
/voice onEnable CLI voice mode when speech dependencies are configured.
/undoRemove the last exchange.

Configuration Examples

CommandPurpose
hermes config set terminal.backend dockerUse Docker isolation for terminal execution.
hermes config set terminal.backend sshUse SSH for remote terminal execution.
hermes config set cron.model <model>Set a default model for unpinned cron jobs.

Provider and Model Access

Hermes supports OAuth-backed accounts, API-key providers, model aggregation services, custom OpenAI-compatible endpoints, and self-hosted models. Use hermes model for the current provider setup flow.

Provider or SetupAccess Method
Nous PortalOAuth through hermes model or hermes portal.
OpenAI CodexChatGPT/Codex OAuth through hermes model.
AnthropicSupported OAuth flows or an Anthropic API key.
GitHub CopilotOAuth/device authentication through hermes model.
OpenRouterOPENROUTER_API_KEY.
Google Gemini / Vertex AIProvider credentials through the relevant Gemini or Google Cloud setup.
z.ai / GLMGLM_API_KEY or supported z.ai credentials.
Kimi / MoonshotKIMI_API_KEY or the China-region credential for that provider.
MiniMaxAPI-key or supported OAuth setup.
xAI GrokAPI-key or supported OAuth setup.
Alibaba Cloud QwenDashScope or Alibaba coding-plan credentials.
Hugging FaceHF_TOKEN.
Azure FoundryAzure Foundry endpoint credentials.
Tencent TokenHub / TokenPlanTencent provider credentials through the supported provider configuration.
CommandCodeConfigure through hermes model.
Nebius Token FactoryNEBIUS_API_KEY.
Ramp RouterRAMP_ROUTER_API_KEY.
Custom / self-hostedAny compatible OpenAI-style endpoint, including local or self-hosted inference servers.

Alternatives & Related Resources

Pros

  • Free and open-source under the MIT license.
  • Persistent memory and reusable skills.
  • Bot Mode for persistent specialist agents.
  • Cron continuity for recurring jobs.
  • Parallel subagents with mid-run steering.
  • Native desktop app for macOS, Windows, and Linux.
  • CLI, TUI, dashboard, messaging, and remote gateway access.
  • Multiple model providers and custom endpoints.
  • Built-in MCP management and browser automation.
  • OpenClaw migration tools.

Cons

  • Tool and browser permissions need careful review.
  • Multi-provider and multi-agent tasks can increase model costs.
  • Remote gateways require careful credential handling.
  • Long-running automations need maintenance and monitoring.

FAQs

Q: Is Hermes Agent free?
A: Hermes Agent is free and open-source under the MIT license. Model APIs, hosted inference, cloud machines, browser services, and other third-party services can have their own costs.

Q: Does Bot Mode require another Hermes installation?
A: No. A Bot Mode bot is a Hermes profile with its own configuration, memory, skills, credentials, and chat history. The desktop app presents the profile as a bot, and hermes -p <bot> chat can open that profile from the terminal.

Q: Do Hermes cron jobs remember previous runs?
A: A job created or edited with --continuity receives its previous output on later runs. Cron agents can also use persistent memory, which supports recurring monitors and incremental reports.

Q: Can Hermes use a browser profile where I am already signed in?
A: Hermes can connect to a Chromium-family profile for browser automation. That connection can expose signed-in sessions to the agent, so enable it only for accounts and sites you are prepared to let Hermes access.

Q: Is Hermes Agent private?
A: Hermes can keep configuration, memory, skills, and local tasks on your machine or server. Data leaves that environment when a task uses external model providers, cloud execution, browser services, web tools, MCP servers, or remote gateways that transmit it elsewhere.

Recent Hermes Agent Releases

  • August 31, 2026 · v0.21.0. Bot Mode, peer agent messaging, cron memory and continuity, steerable subagents, MCP management, desktop browser control, new providers, and security hardening.
  • August 3, 2026 · v0.20.0. Conversational voice, wake words, grounded citations, signed webhooks, desktop artifacts, plugin SDK, A2A support, coding commands, and improved tool recovery.
  • July 20, 2026 · v0.19.0. Faster first turns, live reasoning streams, desktop performance changes, secret sources, smart approvals, live subagent transcripts, durable background delegation, and session export.

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!