hermes-agent

NousResearchMIT活跃维护

一个可随使用不断成长的 AI Agent 框架,支持接入 Claude、ChatGPT 等多种大模型,用于搭建和编排自主智能体。

The agent that grows with you

v0.23.0发布于 2026-11-05 21:32 UTC262,142star +862 / 7 天58,429fork同步于 2026-11-10 05:17 UTC

怎么上手

由 README 提炼,执行前请确认
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
source ~/.bashrc
hermes
硬件要求按 README 说明

README 未说明具体显存或 GPU 型号要求;可运行在 5 美元 VPS、GPU 集群或无服务器基础设施上,Daytona 与 Modal 后端支持空闲休眠。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

Nous Research 出品的自改进 AI 智能体,能从经验中生成技能并跨会话记住你

一个可随使用不断成长的 AI Agent 框架,支持接入 Claude、ChatGPT 等多种大模型,用于搭建和编排自主智能体。

核心能力

  • 从复杂任务中自动创建技能并在使用中自我改进
  • 用 FTS5 会话检索加 LLM 摘要实现跨会话回忆
  • 单个网关进程接入 Telegram、Discord、Slack 等平台
  • 内置 cron 调度器,用自然语言定时执行无人值守任务
  • 支持本地、Docker、SSH、Modal、Daytona 等六种终端后端

容易踩的坑

安装脚本会通过 PM 拉取 Python 3.14、Node.js、pnpm、ripgrep、FFmpeg 等依赖,环境不干净容易失败;Windows 上 uv.exe 常被杀毒软件误报隔离,需加白名单;Android/Termux 不能用桌面安装脚本,要走单独的 APT 仓库指南。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README
这个条目还没有人工点评。如果它对你很有用,欢迎到 提交仓库 页写下你的使用经验。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    最近发版

    5 个版本v0.23.0
    1. v0.23.0Hermes Agent v0.23.0 — The Hearth Release最新正式版2026-11-05 · 2026-11-05 21:32 UTC

      Hermes Agent v0.23.0

      Release Date: November 5, 2026 Since v0.22.0: ~10,080 commits · ~1,950 merged PRs · ~8,720 files changed · ~725,200 insertions · ~201,400 deletions · ~850 issues closed · 666 contributors

      The Hearth Release. In the old hymns Hermes kept the threshold and Hestia kept the hearth, and the two were honored side by side. v0.22.0 got newcomers through the door; v0.23.0 builds the fire they gather around. The headline: your whole Desktop workspace now opens in a browser tab, served by your own gateway. Underneath it, every conversation lives in one place: a single gateway owns each session, and the CLI, TUI, Desktop, editors, bots and cron all sit down at the same table instead of each running its own agent. From that one hearth, Desktop keeps every machine you run Hermes on connected at once, Group Chats route their own conversations, and the terminal finally draws your images inline and lets you rewind a conversation. Around it: plugins that keep themselves updated, price tags and spend limits on paid MCP tools, pluggable delegation, a plugin catalog that grew from about 600 to over 1,050 entries, a leaner built-in skill set, and a long run of memory and latency work for long-lived gateways. This release rolls up and fully documents the v0.22.1–v0.22.7 patch releases.


      ✨ Highlights

      • Your Desktop workspace in a browser tab — The new Webapp serves the full Desktop workspace from your own gateway: the same chats, Group Chats, plugins and settings, in any browser on your network or behind a public URL with sign-in. The Docker image and Nix package ship it. It is off by default; turn it on with webapp.enabled or Web Access in Settings. (#141864, #145598, #145536, #145072, #145153 — @jquesnelle, @BearHuddleston, @IAvecilla, @Adolanium)

      • One gateway owns every conversation — Before, the CLI, TUI, Desktop, editors (ACP), messaging bots and cron could each run their own copy of the agent against the same chat, which is how messages got written twice or went missing between surfaces. Now each machine runs one gateway that owns every session, and every surface attaches to it as a client: a chat you open anywhere is the same chat, with one queue and one history. You can even steer or edit a queued prompt from Desktop without it running twice. (#106742, #140334 — @unsupportedpastels, @kshitijk4poor)

      • Pictures in the terminal — When you paste an image, or a tool takes a screenshot, the CLI and TUI now draw it right in the chat instead of printing a file path: real pixels in kitty and Ghostty (CLI and TUI) and in iTerm2, WezTerm and Konsole (CLI), coloured blocks everywhere else, and full resolution in VS Code's terminal when its image support is on. (#147293, #148874 — @Adolanium)

      • Rewind a conversation — Press Esc twice or type /rewind in the TUI or classic CLI, pick an earlier message, then edit and resend it or fork a new session from that point. The original session stays exactly as it was. The TUI can also start /new while a turn is still running; the old one keeps working in the background. (#144937, #148880 — @SaguaroDev)

      • Every machine in one Desktop window — Desktop now keeps all your gateways connected at once, so switching between this computer and an SSH or remote gateway

    2. v0.22.7Hermes Agent v0.22.72026-11-03 · 2026-11-03 21:53 UTC
      查看更新说明

      Hermes Agent v0.22.7

      Release Date: November 3, 2026

      Patch release. This tag rolls up the ~174 PRs merged since v0.22.6 into a stable release for the GitHub release (CLI and installers), the Microsoft Store app, Docker and Hermes Cloud. Full curated notes for this window ship with v0.23.0.

      About this release

      Measured at commit b200f5bc60e, the window since v0.22.6 contains 581 non-merge commits across 554 changed files (+24,012 / −3,144), 174 merged PRs and 29 closed issues.

      Also in the window, undocumented here on purpose: opt-in lead routing for Desktop Group Chats (with a Lead badge on the room header), cron jobs that post into Group Chats, room purpose and shared notes, group rooms laid out in one chat column with each member's live state, pinned Kanban boards as quick-switch tabs, $$TeX$$ diagram labels and mermaid diagrams rendered through Pele, a Desktop update error box that shows the failed update's output with a report link, Web Access naming the step Start is on with a running clock, Telegram on Team Gateway set up by linking an account to the shared bot, an opt-in Slack thread_followup_silence for unaddressed thread replies, a Daybreak switch for catalog-listed ChatGPT subscription models, and a batch of new plugin-catalog entries.

      Full curated release notes for this window ship with v0.23.0, which will document everything from v0.22.0 onward — highlights, feature areas, and complete contributor credits. Nothing in this window is skipped.

      Updating

      • Microsoft Store app: updates through the Store.
      • Desktop app installed from the installer (.exe / .dmg): no change in this release; it updates with the next bundled release.
      • CLI: hermes update, or re-run the installer one-liner.
      • Docker / Hermes Cloud: nousresearch/hermes-agent:stable (or :latest).

      Full Changelog: v0.22.6...v0.22.7

    3. v0.22.6Hermes Agent v0.22.62026-11-02 · 2026-11-02 17:18 UTC
      查看更新说明

      Hermes Agent v0.22.6

      Release Date: November 2, 2026

      Patch release. This tag rolls up the ~776 PRs merged since v0.22.5 into a stable release for the GitHub release (CLI and installers), the Microsoft Store app, Docker and Hermes Cloud. Full curated notes for this window ship with v0.23.0.

      About this release

      Measured at commit f0d94882e89, the window since v0.22.5 contains 3,448 non-merge commits across 4,316 changed files (+248,579 / −94,077), 776 merged PRs and 385 closed issues.

      Also in the window, undocumented here on purpose: the Webapp served from the gateway's own listener (hermes webapp, a Desktop Web Access pane to open it on your network or your own URL behind Nous sign-in, and Desktop plugins loading in a browser tab), /model reset to clear a session's model pin without losing history, per-skill locks against autonomous writes (lockable from the Desktop Capabilities pane), opt-in prepared compaction (compression.prepare_ahead), hermes cron cancel plus a per-job missed-run policy and a Stop button in the Desktop cron editor, /delegation choices saved for the next session, hermes migrate and setup moving Grok Bot and OpenBot users over, opt-in OS-keychain storage for the vault key, the catalog's requires_hermes enforced at plugin install and update, agent-picked ElevenLabs voices in text_to_speech, a pre_llm_call hook that can block a turn before inference, Desktop group chat rename, disband, mentions and attachment paste, every profile shown as a Desktop sidebar section, Telegram video notes, Slack emoji reactions in thread context, and resumable downloads in the package manager.

      Full curated release notes for this window ship with v0.23.0, which will document everything from v0.22.0 onward — highlights, feature areas, and complete contributor credits. Nothing in this window is skipped.

      Updating

      • Microsoft Store app: updates through the Store.
      • Desktop app installed from the installer (.exe / .dmg): no change in this release; it updates with the next bundled release.
      • CLI: hermes update, or re-run the installer one-liner.
      • Docker / Hermes Cloud: nousresearch/hermes-agent:stable (or :latest).

      Full Changelog: v0.22.5...v0.22.6

    4. v0.22.5Hermes Agent v0.22.52026-10-23 · 2026-10-23 05:28 UTC
      查看更新说明

      Hermes Agent v0.22.5

      Release Date: October 22, 2026

      Patch release. This tag rolls up the ~81 PRs merged since v0.22.4 into a stable release for the GitHub release (CLI and installers), the Microsoft Store app, Docker and Hermes Cloud. Full curated notes for this window ship with v0.23.0.

      About this release

      Measured at commit bf0203a794a, the window since v0.22.4 contains 231 non-merge commits across 804 changed files (+35,212 / −17,885), 81 merged PRs and 30 closed issues.

      Also in the window, undocumented here on purpose: Nous sign-in reworked (every sign-in is the plain device login, the free-tier guest hands over to your account, the result shows who signed in, connectors offer sign-in instead of opening a guest), hermes update holding back a stable release it refuses instead of offering it, Windows hermes update no longer stuck on the old launcher after a Python repin, usage-window plan support (plan gauges, limit cards and model-switch recovery for window-based plans), pluggable delegation backends (route subagents by model map or profile, switchable per session), plugin slash commands that can ask you to pick an option, hermes import-agent, OpenClaw migration, hermes mcp serve and the Singularity backend moving out of core into plugins (setup offers the importer when it finds another agent), Desktop drag-to-pin in the sidebar and one-click plugin installs with tier badges, the Electron 44 upgrade, Pillow 13 and a batch of dependency security bumps, a clear message when a chat's working folder is gone, hermes update recovering paused gateways after a damaged .git, long Claude DirectSDK answers no longer cut off by the stall timer, Desktop group chats showing which bot is working again, and the experimental webhook-mode MCP events client.

      Full curated release notes for this window ship with v0.23.0, which will document everything from v0.22.0 onward — highlights, feature areas, and complete contributor credits. Nothing in this window is skipped.

      Updating

      • Microsoft Store app: updates through the Store.
      • Desktop app installed from the installer (.exe / .dmg): no change in this release; it updates with the next bundled release.
      • CLI: hermes update, or re-run the installer one-liner.
      • Docker / Hermes Cloud: nousresearch/hermes-agent:stable (or :latest).

      Full Changelog: v0.22.4...v0.22.5

    5. v0.22.4Hermes Agent v0.22.42026-10-21 · 2026-10-21 18:49 UTC
      查看更新说明

      Hermes Agent v0.22.4

      Release Date: October 21, 2026

      Patch release. Desktop stops showing suggestion pills above the composer, plus small plugin and dashboard fixes, for the CLI and installer, the Microsoft Store app, Docker and Hermes Cloud.

      Fixes

      • Desktop no longer shows suggestion pills above the composer. The pills appeared for no clear reason, mostly nudging you to set up MCP servers. They and the helpers that only they used are gone. (#142559)
      • Plugins that install nothing skip the dependency consent step. A plugin that declares no dependencies, or whose pyproject.toml installs nothing, now enables without an empty consent prompt. (#142569)
      • Dashboard: WhatsApp can be safely re-paired after logging out. (#142439)
      • Desktop plugin review: the surface lint no longer flags prototype writes; reviewers check them by hand. (#142586)
      • Desktop: the approval-mode chip follows the active profile's mode. (#142565)
      • Release builds: the desktop bundle's pre-build check gets enough time to verify archived build inputs when storage is slow. (#142623)

      Also new in the plugin catalog: bubblewrap (bwrap terminal backend on Linux), Singularity/Apptainer, mcp-serve (Hermes as an MCP server), agent-importers (hermes import-agent, now with Cursor), inbox and workflow-record from Hermes Labs. Telegram Business moves to the Hermes Labs community tier.

      About this release

      Measured at commit 4d04303818b, the window since v0.22.3 contains 14 non-merge commits across 82 changed files (+1,475 / −3,022) and 13 merged PRs.

      Updating

      • Microsoft Store app: updates through the Store.
      • Desktop app installed from the installer (.exe / .dmg): no change in this release; it updates with the next bundled release.
      • CLI: hermes update, or re-run the installer one-liner.
      • Docker / Hermes Cloud: nousresearch/hermes-agent:stable (or :latest).

      Full Changelog: v0.22.3...v0.22.4

    README 原文

    未翻译

    Hermes Agent ☤

    The self-improving AI agent built by Nous Research. It's the only agent with a built-in learning loop — it creates skills from experience, improves them during use, nudges itself to persist knowledge, searches its own past conversations, and builds a deepening model of who you are across sessions. Run it on a $5 VPS, a GPU cluster, or serverless infrastructure that costs nearly nothing when idle. It's not tied to your laptop — talk to it from Telegram while it works on a cloud VM.

    Use any model you want — Nous Portal, OpenRouter, OpenAI, your own endpoint, and many others. Switch with hermes model — no code changes, no lock-in.


    Quick Install

    Linux, macOS, WSL2

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

    Windows (native, PowerShell)

    Heads up: Native Windows runs Hermes without WSL — CLI, gateway, TUI, and tools all work natively. If you'd rather use WSL2, the Linux/macOS one-liner above works there too. Found a bug? Please file issues.

    Run this in PowerShell:

    iex (irm https://hermes-agent.nousresearch.com/install.ps1)
    

    The source installer delegates Python 3.14, Node.js, npm, pnpm, ripgrep, FFmpeg, and Python dependencies to PM. If Git is absent, it stages the verified Git for Windows archive in Hermes' tool store. It does not replace your system Git. See installation methods for the separate MSIX/App Installer package and its update ownership.

    Android / Termux: A signed APT repository is available for aarch64 devices, with a stable channel (tagged releases) and a prerelease canary channel. The package includes Python, Node.js, and the TUI. Use the Termux guide, not the desktop/server installer script.

    Windows: Native Windows is fully supported — the PowerShell one-liner above installs everything. If you'd rather use WSL2, the Linux command works there too. Native Windows install lives under %LOCALAPPDATA%\hermes; WSL2 installs under ~/.hermes as on Linux.

    After installation:

    source ~/.bashrc    # reload shell (or: source ~/.zshrc)
    hermes              # start chatting!
    

    Troubleshooting

    Windows Defender or antivirus flags uv.exe as malware

    If your antivirus (Bitdefender, Windows Defender, etc.) quarantines uv.exe from the Hermes bin folder (%LOCALAPPDATA%\hermes\bin\uv.exe), this is a false positive. The file is Astral's uv — the Rust Python package manager Hermes bundles to manage its Python environment. ML-based antivirus engines commonly flag unsigned Rust binaries that download and install packages.

    To verify your copy is authentic:

    # Install GitHub CLI if needed
    winget install --id GitHub.cli
    
    # Login to GitHub
    gh auth login
    
    # Run verification
    $uv = "$env:LOCALAPPDATA\hermes\bin\uv.exe"
    $ver = (& $uv --version).Split(' ')[1]
    [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
    $zip = "$env:TEMP\uv.zip"
    Invoke-WebRequest "https://github.com/astral-sh/uv/releases/download/$ver/uv-x86_64-pc-windows-msvc.zip" -OutFile $zip -UseBasicParsing
    gh attestation verify $zip --repo astral-sh/uv
    Expand-Archive $zip "$env:TEMP\uv_x" -Force
    (Get-FileHash "$env:TEMP\uv_x\uv.exe").Hash -eq (Get-FileHash $uv).Hash
    

    If attestation says "Verification succeeded" and the last line prints True, you're good.

    To whitelist Hermes:

    • Windows Defender: Run PowerShell as Admin → Add-MpPreference -ExclusionPath "$env:LOCALAPPDATA\hermes\bin"
    • Bitdefender: Add an exception in the Bitdefender console (Protection > Antivirus > Settings > Manage Exceptions)
    • Whitelist the folder, not the file hash — Hermes updates uv and the hash changes every version

    For more context, see the upstream Astral reports: astral-sh/uv#13553, astral-sh/uv#15011, astral-sh/uv#10079.


    Getting Started

    hermes              # Interactive CLI — start a conversation
    hermes model        # Choose your LLM provider and model
    hermes tools        # Configure which tools are enabled
    hermes config set   # Set individual config values
    hermes config get   # Print individual config values
    hermes gateway      # Start the messaging gateway (Telegram, Discord, etc.)
    hermes setup        # Run the full setup wizard (configures everything at once)
    hermes update       # Update to the latest version
    hermes doctor       # Diagnose any issues
    

    📖 Full documentation →


    Skip the API-key collection — Nous Portal

    Hermes works with whatever provider you want — that's not changing. But if you'd rather not collect five separate API keys for the model, web search, image generation, TTS, and a cloud browser, Nous Portal covers all of them under one subscription:

    • 300+ models — pick any of them with /model <name>
    • Tool Gateway — web search, image generation (FAL), text-to-speech (OpenAI), cloud browser (Browser Use), all routed through your sub. No extra accounts.

    One command from a fresh install:

    hermes setup --portal
    

    That logs you in via OAuth, sets Nous as your provider, and turns on the Tool Gateway. Check what's wired up any time with hermes portal info. Full details on the Tool Gateway docs page.

    You can still bring your own keys per-tool whenever you want — the gateway is per-backend, not all-or-nothing.


    CLI vs Messaging Quick Reference

    Hermes has two entry points: start the terminal UI with hermes, or run the gateway and talk to it from Telegram, Discord, Slack, WhatsApp, Signal, or Email. Once you're in a conversation, many slash commands are shared across both interfaces.

    ActionCLIMessaging platforms
    Start chattinghermesRun hermes gateway setup + hermes gateway start, then send the bot a message
    Start fresh conversation/new or /reset/new or /reset
    Change model/model [provider:model]/model [provider:model]
    Set a personality/personality [name]/personality [name]
    Retry or undo the last turn/retry, /undo/retry, /undo
    Compress context / check usage/compress, /usage, /insights [--days N]/compress, /usage, /insights [days]
    Browse skills/skills or /<skill-name>/<skill-name>
    Interrupt current workCtrl+C or send a new message/stop or send a new message
    Platform-specific status/platforms/status, /sethome

    For the full command lists, see the CLI guide and the Messaging Gateway guide.


    Documentation

    All documentation lives at hermes-agent.nousresearch.com/docs:

    SectionWhat's Covered
    QuickstartInstall → setup → first conversation in 2 minutes
    CLI UsageCommands, keybindings, personalities, sessions
    ConfigurationConfig file, providers, models, all options
    Messaging GatewayTelegram, Discord, Slack, WhatsApp, Signal, Home Assistant
    SecurityCommand approval, DM pairing, container isolation
    Tools & Toolsets40+ tools, toolset system, terminal backends
    Skills SystemProcedural memory, Skills Hub, creating skills
    MemoryPersistent memory, user profiles, best practices
    MCP IntegrationConnect any MCP server for extended capabilities
    Cron SchedulingScheduled tasks with platform delivery
    Context FilesProject context that shapes every conversation
    ArchitectureProject structure, agent loop, key classes
    ContributingDevelopment setup, PR process, code style
    CLI ReferenceAll commands and flags
    Environment VariablesComplete env var reference

    Migrating from OpenClaw or another agent

    If you're coming from OpenClaw, Claude Code, Codex CLI or Cursor, Hermes can import your settings, memories and skills (and, for OpenClaw, API keys when you ask for them).

    During setup: hermes setup asks whether to import from another agent, pre-selects the ones it finds (~/.openclaw, ~/.claude, ~/.codex, ~/.cursor), installs the official agent-importers plugin and runs the import with a preview first.

    Anytime after install:

    hermes plugins install agent-importers          # once per profile
    hermes import-agent openclaw                    # interactive migration (full preset)
    hermes import-agent openclaw --dry-run          # preview what would be migrated
    hermes import-agent openclaw --migrate-secrets  # also bring allowlisted API keys
    hermes import-agent claude-code                 # or codex / cursor
    

    What gets imported from OpenClaw:

    • SOUL.md — persona file
    • Memories — MEMORY.md and USER.md entries
    • Skills — user-created skills → ~/.hermes/skills/openclaw-imports/
    • Command allowlist — approval patterns
    • Messaging settings — platform configs, allowed users, working directory
    • API keys — allowlisted secrets (Telegram, OpenRouter, OpenAI, Anthropic, ElevenLabs), only with --migrate-secrets
    • TTS assets — workspace audio files
    • Workspace instructions — AGENTS.md (with --workspace-target)

    hermes claw migrate still works as the older spelling. See the OpenClaw migration guide and Import from Other Agents.


    Contributing

    We welcome contributions! See the Contributing Guide for development setup, code style, and PR process.

    Start with the PM developer workflow for activation, daily use, dependency changes, and leaving the environment. Development Setup covers the separate test environment and verification commands.


    Community

    • 💬 Discord
    • 📚 Skills Hub
    • 🐛 Issues
    • 🔌 computer-use-linux — Linux desktop-control MCP server for Hermes and other MCP hosts, with AT-SPI accessibility trees, Wayland/X11 input, screenshots, and compositor window targeting.
    • 🔌 HermesClaw — Community WeChat bridge: Run Hermes Agent and OpenClaw on the same WeChat account.

    License

    MIT — see LICENSE.

    Built by Nous Research.