<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>AI智能 on Dick's Tech Notes</title><link>https://gods.1681588.xyz/categories/ai%E6%99%BA%E8%83%BD/</link><description>Recent content in AI智能 on Dick's Tech Notes</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sun, 03 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://gods.1681588.xyz/categories/ai%E6%99%BA%E8%83%BD/index.xml" rel="self" type="application/rss+xml"/><item><title>Mac 终端部署 Hermes Agent + OpenClaw 实操手册</title><link>https://gods.1681588.xyz/posts/hermes-openclaw-setup/</link><pubDate>Sun, 03 May 2026 00:00:00 +0000</pubDate><guid>https://gods.1681588.xyz/posts/hermes-openclaw-setup/</guid><description>&lt;h2 id="一安装-hermes-agent">一、安装 Hermes Agent&lt;/h2>
&lt;h3 id="11-一键安装">1.1 一键安装&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>安装过程会自动：&lt;/p>
&lt;ul>
&lt;li>克隆代码到 &lt;code>~/.hermes/hermes-agent/&lt;/code>&lt;/li>
&lt;li>创建 Python 虚拟环境&lt;/li>
&lt;li>安装所有依赖&lt;/li>
&lt;/ul>
&lt;h3 id="12-验证安装">1.2 验证安装&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>hermes --version
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>输出类似：&lt;/p>
&lt;pre tabindex="0">&lt;code>Hermes Agent v0.10.0 (2026.4.16)
Project: ~/.hermes/hermes-agent
Python: 3.11.15
&lt;/code>&lt;/pre>&lt;h3 id="13-检查目录">1.3 检查目录&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>ls ~/.hermes/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># hermes-agent/ profiles/&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>ls ~/.hermes/profiles/hermes-bot/
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># config.yaml .env skills/ sessions/ logs/&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="二配置-api-密钥">二、配置 API 密钥&lt;/h2>
&lt;h3 id="21-编辑密钥文件">2.1 编辑密钥文件&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>nano ~/.hermes/profiles/hermes-bot/.env
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>添加你的 API 密钥（选一个即可）：&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 方案一：DeepSeek（推荐，便宜好用）&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>DEEPSEEK_API_KEY&lt;span style="color:#f92672">=&lt;/span>sk-xxxxxxxxxxxxxxxx
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 方案二：OpenRouter（聚合多模型）&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>OPENROUTER_API_KEY&lt;span style="color:#f92672">=&lt;/span>sk-or-xxxxxxxxxxxxxxxx
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 方案三：Anthropic Claude&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>ANTHROPIC_API_KEY&lt;span style="color:#f92672">=&lt;/span>sk-ant-xxxxxxxxxxxxxxxx
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#75715e"># 方案四：小米 MiMo&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>XIAOMI_API_KEY&lt;span style="color:#f92672">=&lt;/span>sk-xxxxxxxxxxxxxxxx
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h3 id="22-设置模型">2.2 设置模型&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-bash" data-lang="bash">&lt;span style="display:flex;">&lt;span>hermes model
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;p>交互式选择，例如选 DeepSeek → deepseek-chat。&lt;/p></description></item></channel></rss>