跳到正文
Skillpedia
智能体260k · #482

actual-setup

它能做什么

它把 Actual Computer 设置为 Hermes 智能体的 AI 模型服务商,可以通过其云中继,或通过你电脑上的本地守护进程进行连接。它适合希望让自己的硬件处理模型请求的人。

适用场景

  • ✓你想让 Hermes 使用你的 Actual 集群作为模型服务商的时候。
  • ✓你想通过 Actual 守护进程,在设备端完全本地地进行模型推理的时候。
  • ✓Actual 请求失败,报出不清楚的错误或返回空响应的时候。

技能链接

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/devops/actual-setup/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/devops/actual-setup/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请使用我的密钥将 Hermes 连接到我的 Actual Computer 账号,让它使用我的集群处理 AI 请求。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体使用内置的 Actual 服务商进行配置,可以选择云中继加账号密钥,也可以选择你电脑上的本地地址。技能提醒你必须自行安装守护进程,因为设备授权需要在浏览器中完成。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Actual Computer Setup Skill

Sets up actual.inc (Actual Computer) as a Hermes inference provider. Actual turns the user's own hardware into a private inference cluster and exposes an OpenAI-compatible API two ways: a hosted end-to-end-encrypted relay at https://api.actual.inc (authenticated with an ac_ key), and a local on-device daemon at http://127.0.0.1:8080 (no auth on loopback). This skill does not install the Actual daemon for the user — device authorization requires a human in a browser.

When to Use

  • User wants to add actual.inc as an inference provider (cloud relay or local).
  • User has an ac_ key and wants Hermes routed through their Actual cluster.
  • User wants fully-local, on-device inference via the Actual daemon.
  • Troubleshooting: Actual requests failing with cryptic 400s or empty streams.

Prerequisites

  • Hermes has first-class actual provider support (provider id actual, aliases actual-computer, actualcomputer, aci). Do NOT configure Actual as a custom_providers / providers.actual.* entry on current Hermes — the built-in provider owns the name and handles base-url normalization, the Responses transport, and local no-auth automatically.
  • Relay mode: an Actual account and an ac_ inference key from https://actual.inc/user/keys.
  • Local mode: the user has installed the daemon (curl -fsSL "https://actual.inc/install" | bash) and completed device authorization by running actual once and opening the printed https://actual.inc/device?code=... URL in a browser. Relay that URL to the user and WAIT — never invent an email or authorize on their behalf. Codes expire in 5 minutes; re-run actual for a fresh one.

How to Run

Relay / API mode

  1. Put the key in .env (secrets only — never config.yaml): append ACTUAL_API_KEY=ac_... to ~/.hermes/.env.
  2. Verify the key and discover models with terminal:
    curl -s https://api.actual.inc/v1/models -H "Authorization: Bearer $ACTUAL_API_KEY"
    
  3. Select provider + model:
    hermes config set model.provider actual
    hermes config set model.default "MODEL_ID_FROM_DISCOVERY"
    
  4. Verify end-to-end:
    hermes chat -Q -q "Reply with exactly: ACTUAL_OK" --provider actual -m MODEL_ID
    

Local mode

  1. Human has installed + authorized the daemon (see Prerequisites).
  2. Download and load a model (scriptable once authorized):
    actual models search "qwen2.5 0.5b instruct gguf" --limit 8 --no-prompt
    # Downloads REQUIRE an explicit quantization (409 ambiguous_model_download otherwise):
    actual models download "Qwen/Qwen2.5-0.5B-Instruct-GGUF/Q4_K_M"
    actual models list        # note the INSTALLED name (differs from download id)
    actual models load "qwen2.5-0.5b-instruct-q4_k_m"   # load by installed name
    
  3. Point Hermes at the daemon. ACTUAL_BASE_URL with a loopback host flips the built-in provider into local no-auth mode automatically — no key needed: append ACTUAL_BASE_URL=http://127.0.0.1:8080 to ~/.hermes/.env, then:
    hermes config set model.provider actual
    hermes config set model.default "INSTALLED_MODEL_NAME"
    
  4. Verify (reduced toolset — see context-window pitfall below):
    hermes chat -Q -q "Reply with exactly: LOCAL_OK" --provider actual -m INSTALLED_NAME -t file,web
    

Quick Reference

Thing Value
Hosted relay https://api.actual.inc/v1 (normalized from bare host automatically)
Local daemon http://127.0.0.1:8080/v1 (no auth on loopback)
Key env var ACTUAL_API_KEY (ac_...)
Base URL env var ACTUAL_BASE_URL (loopback host ⇒ local no-auth mode)
Provider id / aliases actual / actual-computer, actualcomputer, aci
Transport Responses API (codex_responses) — built-in, do not override
Cluster pinning X-Cluster-ID header via providers.actual.extra_headers in config.yaml
Model size guide 0.5B Q4_K_M ~470MB (toy), 7-8B Q4_K_M ~4.5GB (daily driver), 32B ~20GB

Pitfalls

  1. reasoning_effort trap (handled by Hermes since the first-class provider). Actual's SGLang/vLLM backends accept only none/low/medium/high/max; xhigh/ultra used to fail with a cryptic Expecting value: line 1 column 1 (char 0) (a wrapped HTTP 400). The built-in provider clamps xhigh→high and ultra→max on the wire. If a request still 400s this way on an old Hermes,
常见问题

本地使用需要账号吗?

本地模式使用你电脑上的守护进程,回环地址不需要身份验证。

技能能替我安装守护进程吗?

不能。技能说明设备授权需要一个人在浏览器中完成。

我应该把 Actual 添加为自定义服务商吗?

不应该。技能说明当前版本的 Hermes 已内置支持,自定义条目会与之冲突。

详情

作者的原始描述

Set up Actual Computer (actual.inc) inference in Hermes.

repo: NousResearch/hermes-agent

热度

GitHub 星标
260k
排名
#482
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能