OpenSource-Hub

hermes-agent

CLI ツール

NousResearch/hermes-agent

内置学习循环的自我改进AI代理。

概要

Hermes Agent 是由 Nous Research 构建的自我改进 AI 代理。它拥有内置学习循环,能从经验中创建技能并主动持久化知识。支持多种消息平台、任何 LLM 提供商,并可在各种后端上运行。

README プレビュー

\n  \n\n\n# Hermes Agent ☤\n\n\n  \n  \n  \n  \n  \n\n\n**The self-improving AI agent built by [Nous Research](https://nousresearch.com).** 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.\n\nUse any model you want — [Nous Portal](https://portal.nousresearch.com), [OpenRouter](https://openrouter.ai) (200+ models), [NVIDIA NIM](https://build.nvidia.com) (Nemotron), [Xiaomi MiMo](https://platform.xiaomimimo.com), [z.ai/GLM](https://z.ai), [Kimi/Moonshot](https://platform.moonshot.ai), [MiniMax](https://www.minimax.io), [Hugging Face](https://huggingface.co), OpenAI, or your own endpoint. Switch with `hermes model` — no code changes, no lock-in.\n\n\nA real terminal interfaceFull TUI with multiline editing, slash-command autocomplete, conversation history, interrupt-and-redirect, and streaming tool output.\nLives where you doTelegram, Discord, Slack, WhatsApp, Signal, and CLI — all from a single gateway process. Voice memo transcription, cross-platform conversation continuity.\nA closed learning loopAgent-curated memory with periodic nudges. Autonomous skill creation after complex tasks. Skills self-improve during use. FTS5 session search with LLM summarization for cross-session recall. Honcho dialectic user modeling. Compatible with the agentskills.io open standard.\nScheduled automationsBuilt-in cron scheduler with delivery to any platform. Daily reports, nightly backups, weekly audits — all in natural language, running unattended.\nDelegates and parallelizesSpawn isolated subagents for parallel workstreams. Write Python scripts that call tools via RPC, collapsing multi-step pipelines into

FAQ (3)

トラブル対応
Linux上で'hermes desktop'が'ENOENT: no such file or directory, rename electron -> Hermes'で失敗するのはなぜですか?

エラーは、ユーザーごとのElectronダウンロードキャッシュ内の破損したElectron配布zipファイルが原因で発生します。キャッシュファイルを削除して、ビルドを再実行してください。

- Linuxの場合: rm ~/.cache/electron/electron-v*.zip(または特定のバージョン、例: rm ~/.cache/electron/electron-v40.9.3-linux-x64.zip)
- macOSの場合: rm ~/Library/Caches/electron/*.zip
- カスタムキャッシュを使用するmacOSの場合: XDG_CACHE_HOMEまたはELECTRON_CACHEが設定されている場合はそれに従ってください。

破損したzipを削除した後、'hermes desktop'を再度実行してください。ビルドは正常なElectron配布を再ダウンロードし、正常に完了します。これは#39127で追跡されている既知の問題です(自己修復キャッシュパージ)。

参照 Issue #37544
トラブル対応
Hermes Desktopアプリでチャットのスクロールバーが後ろに戻るのはなぜですか?

これはuseThreadScrollAnchorロジック(thread-virtualizer.tsx)における既知のバグです。ResizeObserverの解除条件が中間スクロールイベントで誤作動し、sticky-bottom動作が一時的に解除されます。修正は既にPR #38221にマージされており、Hermes Desktop v0.15.2に含まれる予定です。それまでは回避策として、composerのリサイズを最小限に抑える(例えば、suggestion chipsを閉じる、大きなcode block re-rendersを避ける)か、手動でスクロールを最下部に保ってください。

参照 Issue #37997
トラブル対応
なぜHermes disk-cleanupはcron/jobs.jsonを削除するのですか、そしてそれをどうやって止められますか?

これは、古いtracked.jsonエントリ(cron分類修正前のHermesバージョンによるもの)がcron/jobs.jsonを"cron-output"とラベル付けしている場合に発生し、その結果、disk-cleanupが14日後にそれを削除します。削除を防ぐには、手動でtracked.jsonファイル(~/.hermes/disk-cleanup/tracked.json)を編集し、cron/jobs.jsonまたはcron/ディレクトリのエントリを削除してください。その後、Hermesを再起動してください。新しいバージョン(コミットd473e7c93以降)ではそのようなエントリの追加は回避されますが、古いエントリは手動でクリアする必要があります。

参照 Issue #37721