Glean 拾遗
Daily /2026-08-02 / Hermes Agent Guide: Install, Import OpenClaw, Run with Kimi

Hermes Agent Guide: Install, Import OpenClaw, Run with Kimi

Source www.kimi.com Glean’d 2026-08-02 06:00 Read 15 min
AI summary

This hands-on guide walks through installing Nous Research's Hermes Agent via a one-line curl script, migrating an existing OpenClaw workspace, and configuring Kimi/Moonshot as the default model provider (kimi-k2.6, key stored in ~/.hermes/.env). It covers persistent memory, Skills, browser automation, scheduled tasks, and a CLI example to list top disk-usage folders. As an editorial pick, the piece reads like a Kimi funnel rather than deep engineering: every feature is described at overview level, there are no benchmarks, failure cases, or architectural trade-offs. Useful only as a quick first-run reference for beginners; experienced agent developers will find little evidence to judge the system.

Original · 15 min
www.kimi.com ↗
§ 1

Hermes Agent is an open-source, self-improving AI agent developed by Nous Research that can be used as a personal assistant. It learns from user interactions, continuously builds its own skills, and maintains a memory of past projects, enabling it to handle increasingly complex tasks over time. It can run locally, supports multiple AI models and messaging platforms, and is designed to automate workflows while reducing manual effort across different use cases.

Hermes AI agent

Hermes Agent 是 Nous Research 开发的一款开源、自我改进的 AI 智能体,可用作个人助理。它会从用户交互中学习,持续构建自身技能,并保留过往项目的记忆,从而能够随时间处理越来越复杂的任务。它可以本地运行,支持多种 AI 模型和消息平台,旨在跨不同场景自动化工作流、减少人工操作。

Hermes AI 智能体

§ 2

As AI agents continue to grow in capability, comparing tools like Hermes Agent and OpenClaw becomes important for choosing the right solution. Each system follows a different approach to handling automation, flexibility, and user control. Here's a closer look at both options to help you understand which one fits your needs:

Feature Hermes Agent OpenClaw
Core design Single persistent agent with evolving memory A gateway that manages multiple agents
Primary focus Long-running autonomous workflows Multi-channel gateway with multi-agent routing
Learning capability Built-in memory and adaptive behavior over time Relies more on predefined tools and plugins
Multi-agent support Limited (main agent with helper agents) Native multi-agent routing
Plugin & tool ecosystem Growing ecosystem Mature tool integrations
Architecture complexity Moderate setup and configuration Higher complexity due to the gateway model

随着 AI 智能体能力不断增强,比较 Hermes Agent 和 OpenClaw 等工具对于选择合适方案变得重要。两个系统在自动化、灵活性和用户控制方面采取了不同路径。下面仔细看看这两种方案,帮你判断哪个更符合需求:

特性 Hermes Agent OpenClaw
核心设计 带进化记忆的单一持久智能体 管理多个智能体的网关
主要定位 长期运行的自主工作流 多通道网关,支持多智能体路由
学习能力 内置记忆,随时间自适应 更依赖预定义工具和插件
多智能体支持 有限(主智能体加辅助智能体) 原生多智能体路由
插件与工具生态 成长中的生态 成熟工具集成
架构复杂度 中等配置难度 网关模型带来更高复杂度
§ 3

Getting started with Hermes AI Agent becomes much easier once the setup steps are clear and structured. The process mainly involves installing the tool, connecting it with a model provider, and running your first task. Here's a simple step-by-step approach to help you avoid errors and get the agent working smoothly:

当安装步骤清晰明了时,上手 Hermes AI Agent 会轻松得多。整个过程主要涉及安装工具、连接模型提供商,以及运行第一个任务。下面是一套简单的分步方法,能帮你避免出错、让智能体顺畅运行:

§ 4

Step 1: Open a terminal on your computer

Start by opening a terminal where you can execute commands.

macOS / Linux: use the built-in Terminal app

Windows: use WSL2 or a compatible terminal environment

This is required because Hermes runs through command-line operations. Make sure your system has internet access.

步骤 1:在电脑上打开终端

首先打开一个可以执行命令的终端。

macOS / Linux:使用自带的 Terminal 应用

Windows:使用 WSL2 或兼容的终端环境

这是必需的,因为 Hermes 通过命令行运行。请确保系统可以联网。

§ 5

Step 2: Install Hermes Agent using the installer script

Use the official one-line installer to automatically download and set up Hermes Agent. This script installs core files and dependencies and prepares the environment for setup.

Run the following command in your terminal:

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

Install Hermes Agent

步骤 2:使用安装脚本安装 Hermes Agent

使用官方提供的一行安装器,自动下载并配置 Hermes Agent。该脚本会安装核心文件和依赖项,并准备后续设置所需的环境。

在终端中运行以下命令:

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

安装 Hermes Agent

§ 6

Step 3: Complete post-installation setup

After installation, the next step depends on your installer output.

If you see the OpenClaw import prompt

Hermes detected an existing OpenClaw installation. Type Y and press Enter to import your current workspace, skills, and agent settings. Once the import is complete, you can continue directly to the setup wizard.

Detected OpenClaw installed

Press y to import from OpenClaw, or N to skip.

Import from OpenClaw Agent

步骤 3:完成安装后配置

安装完成后,下一步取决于安装程序的输出。

如果看到 OpenClaw 导入提示

Hermes 检测到已安装 OpenClaw。输入 Y 并回车,即可导入当前工作区、技能和智能体设置。导入完成后,可以直接进入设置向导。

检测到已安装 OpenClaw

按 y 从 OpenClaw 导入,或按 N 跳过。

从 OpenClaw Agent 导入

§ 7

If you do not see the OpenClaw import prompt

After installation, refresh your shell so the new commands become active. Skipping this step may cause "command not found" errors when running Hermes.

Reload terminal environment

Use one of the following commands depending on your shell:

If you are using Bash:

If you are using Zsh:

Shell commands

如果没有看到 OpenClaw 导入提示

安装完成后,刷新 shell,让新命令生效。跳过这一步,运行 Hermes 时可能会报“command not found”错误。

刷新终端环境

根据你的 shell 类型,使用以下命令之一:

如果你使用的是 Bash:

如果你使用的是 Zsh:

Shell 命令

§ 8

Step 4: Run the Hermes setup wizard

Launch the interactive setup process:

Hermes Agent setup

This wizard will guide you through model configuration, API keys, and basic preferences.

步骤 4:运行 Hermes 设置向导

启动交互式设置过程:

Hermes Agent 设置

该向导会引导你完成模型配置、API 密钥和基本偏好设置。

§ 9

Step 5: Choose a model provider (Kimi/Moonshot)

During setup, select your model provider. You can use Kimi/Moonshot as your model.

Choose model provider

Select the default model. kimi-k2.6 is Kimi's most advanced model so far.

Select Kimi K2.6 as the default model

For Kimi integration:

Provider: kimi-coding

API key: KIMI_API_KEY

Stored in: ~/.hermes/.env

Example configuration:

KIMI_API_KEY="your_api_key_here"

This allows Hermes to connect to the Kimi API for model inference.

步骤 5:选择合适的模型提供商(Kimi/Moonshot)

在设置过程中,选择你的模型提供商。你可以选择 Kimi/Moonshot 作为模型。

选择模型提供商

选择默认模型。kimi-k2.6 是 Kimi 迄今为止最先进的模型。

选择 Kimi K2.6 作为默认模型

Kimi 集成信息:

提供商:kimi-coding

API 密钥:KIMI_API_KEY

存储位置:~/.hermes/.env

配置示例:

KIMI_API_KEY="your_api_key_here"

这样,Hermes 就可以连接 Kimi API 进行模型推理了。

§ 10

Step 6: Activate your Kimi API

Before using the Kimi API with the Hermes Agent, activate your Kimi API Key in the Kimi Platform. We recommend $20+ to unlock Tier 2 access, which reduces latency and supports more stable performance for complex, multi-step tasks.

Charge for Kimi API

步骤 6:激活你的 Kimi API

在将 Kimi API 用于 Hermes Agent 之前,先在 Kimi 平台激活你的 Kimi API Key。建议充值 $20 以上,解锁 Tier 2 访问权限,这能降低延迟,并为复杂的多步任务提供更稳定的性能。

为 Kimi API 充值

§ 11

Step 7: Create your Kimi API Key

Once your account is activated and funded:

Go to the API Keys section in Kimi Platform

Click Create API Key

Copy your API key and store it securely

Note: The key is only shown once at creation. Make sure to copy and store it somewhere safe before closing the page.

Create a Kimi API key

You will use this API key in the Hermes setup to connect to Kimi:

KIMI_API_KEY="your_api_key_here"

步骤 7:创建你的 Kimi API Key

账户激活并充值后:

前往 Kimi 平台的 API Keys 页面

点击 Create API Key

复制 API key 并安全保存

注意:该密钥只在创建时显示一次。关闭页面之前,务必复制并存放在安全位置。

创建 Kimi API key

你将在 Hermes 设置中使用这个 API key 连接 Kimi:

KIMI_API_KEY="your_api_key_here"
§ 12

Step 8: Enter your API key

Depending on your provider, you may be prompted to enter your Kimi API key during setup.

Enter Kimi API Key

You can also set it manually:

export KIMI_API_KEY="your_api_key_here"

步骤 8:输入你的 API key

根据提供商的不同,设置过程中可能会提示你输入 Kimi API key。

输入 Kimi API Key

你也可以手动设置:

export KIMI_API_KEY="your_api_key_here"
§ 13

Step 9: Set up a messaging platform

Pick a messaging channel to link to your Hermes Agent, or just skip it if you're not sure.

Set up messaging platform

步骤 9:设置消息平台

选一个消息通道关联到你的 Hermes Agent;不确定的话,也可以直接跳过。

设置消息平台

§ 14

Step 10: Launch Hermes and start your first chat

Once setup is complete, you will see a prompt asking whether to launch Hermes now. Type Y and press Enter to start chatting immediately.

Launch Hermes Agent

Hermes will open in interactive mode, where you can start sending messages right away. For a better interface, you can run:

To launch Hermes from the terminal in the future, run:

Chat with Hermes

步骤 10:启动 Hermes 并开始首次聊天

设置完成后,会看到是否立即启动 Hermes 的提示。输入 Y 并回车,即可马上开始聊天。

启动 Hermes Agent

Hermes 会以交互模式打开,你可以立刻发送消息。想获得更好的界面,可以运行:

以后从终端启动 Hermes 时,运行:

与 Hermes 聊天

§ 15

Step 11: Run your first task

Once started, you can test the agent with a natural language instruction:

Example:

What's my disk usage? Show the top 5 largest folders.

Run a task via Hermes Agent

Hermes will interpret the request and execute actions (including terminal commands if needed), returning real results rather than plain text responses.

步骤 11:运行你的第一个任务

启动后,你可以用自然语言指令测试智能体:

示例:

我的磁盘使用情况如何?显示占用最大的前 5 个文件夹。

通过 Hermes Agent 运行任务

Hermes 会理解请求并执行操作(必要时包括终端命令),返回真实结果,而不是纯文本回复。

§ 16

A deeper look at the capabilities of Hermes Agent shows why it stands out from basic AI tools. The system is designed to act independently, learn over time, and handle real tasks across platforms. Each feature adds to its ability to work like a long-term digital assistant rather than a simple chatbot.

深入观察 Hermes Agent 的能力,就能明白它为何在基础 AI 工具中脱颖而出。该系统旨在独立行动、持续学习,并跨平台处理真实任务。每一项特性都让它更像一个长期数字助理,而不是简单的聊天机器人。

§ 17

Persistent memory

Past interactions and solutions are stored, so work does not reset after each session. This helps in building long-term understanding of tasks, workflows, and user preferences. Over time, the Hermes AI Agent becomes smarter by learning from previous outcomes and improving future responses.

持久记忆

过去的交互和解决方案会被存储下来,因此每次会话结束后工作不会重置。这有助于建立对任务、工作流和用户偏好的长期理解。随着时间推移,Hermes AI Agent 会从先前结果中学习,持续改进后续响应,变得越来越聪明。

§ 18

Built-in Tools

Ready-to-use tools such as web search, file handling, and terminal execution make tasks more practical. Instead of only generating responses, it can perform real actions in your system. This turns Hermes Agent into a hands-on assistant that can manage and process information efficiently.

内置工具

网页搜索、文件处理和终端执行等开箱即用的工具,让任务变得更加实际。它不仅能生成回复,还能在系统中执行真实操作。这使 Hermes Agent 成为一位能高效管理和处理信息的动手型助理。

§ 19

Skills system

New capabilities can be added through extensions that expand functionality over time. These extensions help handle specialized tasks without rewriting instructions again and again. With Hermes Agent skills, the system continues to grow and adapt based on user needs.

技能系统

通过扩展可以持续添加新能力,功能随时间的推移不断扩展。这些扩展帮助处理专门任务,无需反复重写指令。借助 Hermes Agent 技能,系统会持续成长,并根据用户需求进行适配。

§ 20

Scheduled automation

Routine tasks can be automated using simple instructions written in natural language. Daily summaries, reports, or system checks can run without manual input. This makes the Hermes AI Agent useful for maintaining consistent workflows and saving time on repetitive work.

定时自动化

使用自然语言编写的简单指令即可自动化日常任务。每日摘要、报告或系统检查可以在无需手动输入的情况下运行。这让 Hermes AI Agent 善于维持一致的工作流,并在重复劳动上节省时间。

§ 21

Browser automation

Online tasks become easier as the system can browse, search, and interact with websites directly. It can collect information, navigate pages, and process web-based content. Using Hermes Agent, research and data gathering become faster and more structured.

浏览器自动化

系统可以直接浏览、搜索并与网站交互,让在线任务变得更简单。它可以收集信息、浏览页面并处理 Web 内容。使用 Hermes Agent,研究和数据收集会更快、更有条理。

§ 22

Code execution

Scripts and commands can be executed within a controlled environment, making it useful for technical tasks. It can assist in development by running code, testing outputs, and automating programming workflows. The Hermes AI Agent goes beyond guidance by actively performing these operations.

代码执行

脚本和命令可以在受控环境中执行,因此非常适合技术类任务。它可以通过运行代码、测试输出来辅助开发,并自动化编程工作流。Hermes AI Agent 不只是给出建议,还会主动执行这些操作。

§ 23

Multi-platform integration

Access across platforms such as messaging apps and terminals keeps workflows flexible. Switching between devices or apps does not interrupt progress or tasks. With Hermes Agent, users can stay connected and manage tasks from multiple environments with ease.

多平台集成

在消息应用和终端等平台之间自由访问,让工作流保持灵活。切换设备或应用不会中断进度和任务。使用 Hermes Agent,用户可以随时保持连接,并轻松在多种环境中管理任务。

§ 24

Hermes Agent adapts to different tasks, making it useful for developers, businesses, and everyday users. From coding to automation, it helps handle time-consuming work more efficiently. Below are some use cases of this AI agent:

Hermes Agent 能适应不同任务,对开发者、企业和日常用户都很有用。从编码到自动化,它都能帮助更高效地处理耗时工作。以下是一些 AI 智能体的使用场景:

§ 25

AI coding assistant (CLI development support)

Working directly in the terminal becomes easier with Hermes Agent, as it can read errors, analyze code, and suggest fixes in real time. Developers can ask it to debug issues, run scripts, or even modify files without switching tools. This reduces manual effort and speeds up development workflows. It also helps in understanding complex errors by breaking them into simpler explanations.

AI 编码助手(CLI 开发支持)

有了 Hermes Agent,直接在终端中工作变得更加轻松,因为它可以读取错误、分析代码并实时提出修复建议。开发者可以让它调试问题、运行脚本,甚至修改文件,而无需切换工具。这减少了人工投入,加速了开发工作流。它还能把复杂错误拆解成更简单的解释,帮助理解问题。

§ 26

Workflow automation

Repetitive tasks like file organization, data processing, or system checks can be handled smoothly. Hermes Agent can execute multi-step operations without needing constant input from the user. Instead of running commands one by one, users can describe the task once and let it complete the process. This makes daily operations faster and more consistent.

工作流自动化

文件整理、数据处理或系统检查等重复性任务都能顺畅处理。Hermes Agent 可以执行多步操作,无需用户持续输入。用户不必一条一条运行命令,只需描述一次任务,剩下的交给它完成。这让日常操作更快、更一致。

§ 27

Research & information gathering

Collecting and analyzing information from different sources becomes more structured. With Hermes Agent, users can perform web searches, summarise content, and extract key insights quickly. It reduces the time spent switching between tabs or reading long documents. This is especially useful for students, analysts, or anyone working on detailed research tasks.

研究与信息收集

从不同来源收集和分析信息会更有条理。借助 Hermes Agent,用户可以快速执行网络搜索、总结内容并提取关键见解。它减少了在标签页之间切换或阅读长文档所花费的时间。这对学生、分析师或任何从事深度研究的人都特别有用。

§ 28

Messaging AI assistant

Communication across platforms like Telegram or Slack can be managed in one place. Hermes Agent can respond to messages, send updates, and even handle task-related queries through chat interfaces. This keeps workflows connected without needing to open multiple apps. It also helps teams stay updated with automated responses and shared information.

消息 AI 助理

Telegram 或 Slack 等平台上的沟通可以在一个地方统一管理。Hermes Agent 可以回复消息、发送更新,甚至通过聊天界面处理与任务相关的查询。这让工作流保持连接,无需打开多个应用。它还能通过自动回复和信息共享,让团队随时掌握最新动态。

§ 29

Scheduled automation

Tasks that need to run at specific times can be set once and left to operate automatically. Hermes Agent can schedule reports, reminders, or updates using simple instructions. This removes the need to manually repeat the same actions every day. It is useful for maintaining regular workflows like daily summaries or system monitoring, with minimal user intervention required.

定时自动化

需要在特定时间运行的任务可以一次性设置,然后自动执行。Hermes Agent 可以通过简单指令安排报告、提醒或更新。这样就不用每天手动重复同样的操作。它非常适合维护每日摘要或系统监控等常规工作流,只需极少的人工干预。

§ 30

Using Hermes Agent effectively depends on how clearly you communicate and structure your tasks. Small changes in how you give instructions can lead to much better results. The following tips help you get faster, more accurate, and more useful outputs:

能否高效使用 Hermes Agent,取决于你如何清晰沟通并结构化任务。下达指令时的微小改变,可能会带来明显更好的结果。以下技巧可帮助你获得更快、更准确、更有用的输出:

§ 31

Be specific about what you want

Clear instructions lead to better outcomes, while vague requests often require multiple corrections. Instead of asking for a general fix, mention exact details like file names, errors, or expected results. This reduces back-and-forth and helps the agent act with precision. A well-defined request saves time and improves accuracy.

明确说出你的需求

清晰的指令会带来更好的结果,而含糊的请求往往需要多次修正。不要只要求“帮忙修一下”,而要给出具体细节,如文件名、错误信息或预期结果。这样可以减少来回沟通,让智能体精确行动。定义良好的请求既省时又准确。

§ 32

Provide context up front

Adding all relevant details at the start makes the process smoother. Include error messages, background information, or what you are trying to achieve in one message. This helps avoid repeated clarification and speeds up the response. A single detailed prompt is often more effective than several short ones.

提前提供上下文

一开始就把所有相关细节说清楚,会让整个过程更顺畅。在一条消息中包含错误信息、背景资料或你要达成的目标。这样可以避免反复澄清,加快响应速度。一条详细的提示往往比几条简短的提示更有效。

§ 33

Use Context files

Saving repeated instructions in dedicated files keeps things consistent across sessions. These files can include coding rules, project structure, or preferred tools. Once set, the agent automatically follows these guidelines without needing reminders. This is useful for maintaining standards in long-term projects.

使用 Context 文件

将重复的指令保存在专用文件中,可以在多次会话间保持一致性。这些文件可以包含编码规范、项目结构或偏好工具。设置好后,智能体会自动遵循这些准则,无需重复提醒。这对于在长期项目中维护标准非常有用。

§ 34

Let the Agent use its tools

Trying to guide every step manually can limit what the agent can do. It already has access to tools like file search, terminal commands, and execution capabilities. Giving a high-level instruction allows it to explore and solve the problem efficiently. This approach often produces better and faster results.

让智能体使用自己的工具

如果每一步都手动引导,反而会限制智能体的能力。它已经拥有文件搜索、终端命令和执行能力等工具。给出一个高层级指令,让它去探索并高效解决问题。这种方式往往能带来更好、更快的效果。

§ 35

Create Skills for repeated tasks

Tasks that involve multiple steps and are used often can be turned into reusable skills. Once created, these can be triggered with a simple command instead of rewriting instructions. This saves effort and ensures consistency in how tasks are handled. Over time, it builds a personalized system tailored to your workflow.

为重复任务创建技能

涉及多个步骤且经常使用的任务,可以转化为可复用的技能。一旦创建,只需一个简单命令就能触发,而不用重新编写指令。这节省了精力,也保证了任务处理的一致性。随着时间推移,它会构建出一套贴合你工作流的个性化系统。

§ 36

Conclusion

Hermes Agent stands out as a practical tool that fits into real workflows, helping users move from simple tasks to more advanced automation over time. Its ability to adapt, learn, and handle tasks across platforms makes it useful for both individuals and teams. Choosing the right setup and using it wisely can improve productivity without adding complexity.

结论

Hermes Agent 是一款能融入真实工作流的实用工具,帮助用户从简单任务逐步走向更高级的自动化。它适应、学习并跨平台处理任务的能力,使其对个人和团队都非常有用。选择合适的配置并合理使用,可以在不增加复杂度的前提下提升生产力。

Open source ↗