hermes-agent
БесплатноБез исполняемых скриптовНе проверенHermes Agent is Nous Research's open-source self-improving AI agent: a terminal and messaging-gateway agent that saves memories, writes and patches its own…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Hermes Agent — Self-Improving AI Agents
Overview
Hermes Agent (MIT, Nous Research) is a tool-calling agent you run as a CLI/TUI (hermes), as a gateway for Telegram, Discord, Slack and other chats, or embed in Python. It works with any provider (Nous Portal, OpenRouter, Anthropic, OpenAI, local OpenAI-compatible endpoints). What sets it apart is a built-in learning loop that grows with usage — you configure and supervise it rather than build it.
Core Concepts
- Memory layer: two small files injected into every system prompt —
MEMORY.md(environment facts, conventions, lessons; 2,200 chars) andUSER.md(who you are and how you like to work; 1,375 chars). The agent edits them with itsmemorytool. - Skills (procedural memory): after working out a non-trivial workflow, or after you correct it, the agent saves a
SKILL.mdunder~/.hermes/skills/with itsskill_managetool and patches it when it goes stale. - Self-reflection loop: a background review runs after a turn and decides whether anything is worth saving as memory or as a skill. Periodic nudges remind the agent mid-session.
- Session search: every session is stored in SQLite (
~/.hermes/state.db, FTS5); the agent searches it when you refer to earlier work. - Curator: periodic maintenance that marks unused agent-written skills stale and archives them.
- Identity:
~/.hermes/SOUL.mdis the persona at the top of the system prompt; you edit it by hand.
User message -> [SOUL.md + MEMORY.md + USER.md + skill index] -> agent turn (tools, skills)
-> [background review] -> memory tool / skill_manage -> visible from the next session
Instructions
1. Install
The project's one-line installer pipes a script into a shell. Prefer one of these:
# A. Docker (officially supported image; state lives in the mounted directory)
mkdir -p ~/.hermes
docker run -it --rm -v ~/.hermes:/opt/data nousresearch/hermes-agent:v2026.9.24 setup # first-run wizard
docker run -it --rm -v ~/.hermes:/opt/data nousresearch/hermes-agent:v2026.9.24 # chat
# B. From a release tag with uv (needs Git and uv; Python 3.11–3.13)
git clone --depth 1 --branch v2026.9.24 https://github.com/NousResearch/hermes-agent.git ~/.hermes/hermes-agent
cd ~/.hermes/hermes-agent
uv venv ~/.hermes/venvs/hermes --python 3.12 # keep the venv outside the checkout
VIRTUAL_ENV=~/.hermes/venvs/hermes uv pip install -e . # must be editable; a plain install is refused
mkdir -p ~/.local/bin && ln -s ~/.hermes/venvs/hermes/bin/hermes ~/.local/bin/hermes # ~/.local/bin must be on PATH
hermes --version # Hermes Agent v0.21.5 (2026.9.24)
On macOS and Windows the Hermes Desktop installer from https://hermes-agent.nousresearch.com/ installs the CLI too. PyPI (pip install hermes-agent) and Homebrew builds are listed as unsupported.
2. Choose a Provider and Model
hermes setup # full wizard; or `hermes model` for provider + model only
# Non-interactive: secrets go to ~/.hermes/.env, settings to ~/.hermes/config.yaml
hermes config set OPENROUTER_API_KEY "$OPENROUTER_API_KEY"
hermes config set model.provider openrouter
hermes config set model.default anthropic/claude-sonnet-4.6
hermes doctor # checks packages, config and credentials
3. Chat, Resume, Script
hermes # classic CLI; `hermes --tui` for the newer TUI
hermes -c # resume the most recent session
hermes chat -q "Summarize what changed in this repo since v2.3.0" -Q # one query, then exit; prints the answer and a session line
hermes -z "List the failing tests and the likely cause" # prints only the final answer; command approvals are bypassed
hermes profile create research --no-skills # isolated instance: own memory, skills, sessions
hermes -p research # use it
In a session: /new starts a fresh session, /model switches model, /skills browses skills, /compress shrinks context, /usage shows spend.
4. Memory
cat ~/.hermes/memories/MEMORY.md ~/.hermes/memories/USER.md # entries are separated by a line with §
hermes journey list # everything learned: skill names plus ids like memory:profile:1
hermes journey edit memory:profile:1 # fix a wrong entry in $EDITOR (or: hermes journey delete)
# ~/.hermes/config.yaml
memory:
memory_enabled: true
user_profile_enabled: true
memory_char_limit: 2200
user_char_limit: 1375
nudge_interval: 10 # remind the agent to consider saving every N user turns (0 = off)
write_approval: false # true = you approve every save
Memory is a frozen snapshot taken at session start: something saved now shows up in the next session. A fact counts as saved only when the memory tool ran — check the file.
5. Skills and the Le
Установить hermes-agent в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл hermes-agent?
Hermes Agent is Nous Research's open-source self-improving AI agent: a terminal and messaging-gateway agent that saves memories, writes and patches its own skills from experience, and searches its past sessions. Use when a user asks to install or configure Hermes Agent, pick its model provider, inspect or gate what it learns (memory, skills, background review, curator), embed it in Python, or build a self-improving AI agent or adaptive assistant that improves with usage.
Как установить скилл hermes-agent?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hermes-agent запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub