
Hermes Prime
io.github.hermes-labs-ai由 GitHub 帳號 hermes-labs-ai 發布v0.2.1-alpha.1更新於 Oct 24, 2026
Read-only stdio MCP server for a versioned convention card in Claude Code.
概覽
一個唯讀的 stdio MCP 伺服器,會把一份有版本編號的慣例卡片提供給全新的 Claude Code 工作階段。
- 可以做什麼
- 它透過 stdio 提供一個小型唯讀 MCP 介面,內含名為 get_conventions 與 list_scopes 的工具,會回傳隨套件附帶的 Markdown 慣例卡片。卡片內容涵蓋觸發外部查核的條件、校準與評分標準慣例、工具對照表,以及一條命名規則。它不會呼叫模型或網路服務,也不會修改 CLAUDE.md。
- 適用情境
- 當你希望新的 Claude Code 工作階段從一份具體、有版本編號的慣例文件開始,而不是從四散的筆記重建慣例時,可以採用它。它鎖定單一專案使用,註冊範圍由你自行選擇。
- 執行需求
- 以本機 stdio 程序執行,通常透過 uvx 從 PyPI 套件 hermes-prime-mcp 啟動;README 也記載了 python3 方式與 pip 主控台指令方式。只使用標準函式庫,沒有第三方執行階段相依性。選用環境變數 HERMES_PRIME_FRAGMENT_ROOT 可指向存放自訂 CLAUDE-fragment.md 的目錄。不需要帳號、金鑰或網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Hermes Prime,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
hermes-prime
Deliver a versioned convention card to a fresh Claude Code session.
hermes-prime is developed by Hermes Labs.
Hermes Labs is an agentic infrastructure company building the reliability layer for autonomous systems.
The Bash surface snapshots the card into a project's CLAUDE.md; the read-only MCP
surface returns the same card over stdio. The mechanism makes conventions
available. It does not prove that a model will follow them or prevent drift.
This is a small transport, not an enforcement layer. Hermes Labs ships the
convention card it uses itself; fork it or select another fragment with
HERMES_SESSION_INIT_FRAGMENT=/path/to/custom.md.
Two surfaces share one fragment: a four-subcommand Bash tool for
CLAUDE.md-based workflows and a Claude-Code-native MCP server that does not
mutate CLAUDE.md. Neither surface calls a model or a network service. The Bash
path makes no global configuration change; MCP registration uses the scope the
user selects.
Pain
Conventions can fall out of visible context between sessions. A versioned card gives a new session one concrete artifact to read instead of requiring it to reconstruct those conventions from scattered notes.
The discipline rules normally live in scattered handbook docs, feedback files, or session-end retros — places a fresh session never reads. hermes-prime packages them as a single self-contained card the orchestrator opens with.
How it's different
Most "set up the agent" tools either (a) ship a giant prompt file you copy-paste,
or (b) install a global hook that runs on every session whether you want it or
not. hermes-prime is per-project, marker-anchored, and idempotent. Unedited
injected suffixes are byte-reversible; edited blocks use the documented
marker/backup fallback.
The fragment is a snapshot, not a live reference. Re-inject to refresh. The marker (<!-- session-init: BEGIN/END -->) means uninject is byte-clean.
Two surfaces
Both share the same CLAUDE-fragment.md. They are independent surfaces; pick whichever fits your agent.
MCP server (Claude Code native)
Run that command from the repository root. Local scope loads the server for the
current project. Last verified against Claude Code 2.1.268 on 2026-09-11:
claude mcp list reports the server as Connected. The server's initialize
response carries a short instructions string, which Claude Code shows to the
model so a fresh session knows to call get_conventions. Use --scope user only if you intend to make the same command
available to your own sessions across projects. Then call get_conventions
from a session covered by the selected scope. Pure stdlib, no third-party
runtime dependencies. Full registration and removal instructions, plus the
packaged pip install hermes-prime-mcp console-script path and the
server.json MCP Registry manifest, are documented in
mcp-server/README.md.
Install (bash binary)
Or symlink into ~/bin/. No package install — it is one bash script and one markdown fragment.
Quickstart
What it does
Note:
hermes-groundis an internal Hermes Labs grounding tool. It is not publicly released; the convention simply describes the orchestrator behavior it triggers.
What gets injected
A short markdown block containing:
- Grounding triggers — the 7 conditions under which the orchestrator should call
hermes-groundfor an external reality check. - Self-contained conventions — calibration, rubric pass-through, grounding, and name discipline.
- Tool map — functional categories, Hermes Labs implementations, and manual fallbacks.
- The rule most often forgotten mid-session — no noun-phrase label until a file exists at a path.
See CLAUDE-fragment.md for the full text. The fragment is the contract.
Preliminary evals
Three honest evals live in evals/:
- E1 — convention-recall test: does a fresh
claude --printsession injected with the fragment correctly identifyhermes-groundas the external-grounding tool, vs an un-injected session? - E2 — idempotency stress: inject 5x in a row, assert size delta ≤ 2 chars.
- E3 — uninject roundtrip: inject → uninject → require identical raw pre/post hashes.
Run them: bash evals/preliminary-bootstrap-eval.sh. Protocol in evals/EVAL-PROTOCOL.md. Run transcripts at evals/runs/. Null results published unredacted per the standing convention.
How it relates to the other Hermes Labs tools
hermes-prime is a convention-delivery surface among the Hermes Labs open-source
tools. It does not replace companion tools and does not ensure that they are
called.
hermes-rubric— evidence-first scoring; the convention "every shippable artifact passes through a BLINDed rubric" points here.hermes-blind— a separately invoked multi-turn recovery scaffold.
Status
Source version 0.2.1-alpha.1 — unreleased alpha candidate. There is no public 0.2.1-alpha.1 tag or GitHub release, and this branch does not authorize one.
The MCP distribution is a separate surface and it is public: hermes-prime-mcp
0.2.1a2 is on PyPI and the MCP Registry listing
io.github.hermes-labs-ai/hermes-prime 0.2.1-alpha.1 is active (both
verified 2026-09-18). uvx --from hermes-prime-mcp hermes-prime-mcp works today
without a checkout. "Unreleased" above describes the repository, not the package.
The mechanism suite contains 11 Bash assertions plus 13 MCP tests. E1 is one author-run three-question control/treatment observation; it is preliminary convention-recall evidence, not evidence that the tool prevents drift or improves downstream task performance.
If E1 returns a null result on a larger sweep, that gets published, not papered over. Same standing convention as the rest of the Hermes Labs open-source tools.
Local mechanism gate
Before requesting any push or release, run the local mechanism gate:
It runs ShellCheck, the 11-assertion Bash suite, the 13-test MCP suite, and
fragment size/marker checks. The hosted workflow (.github/workflows/ci.yml)
runs the same suites on macOS and Ubuntu. Exit 0 is evidence only for those named checks at the
current tree; it is not push, release, or publication authorization.
License
MIT. See LICENSE.
Built by Hermes Labs.
About Hermes Labs
Hermes Labs is an agentic infrastructure company building the reliability layer for autonomous systems. This repository is one small mechanism in that portfolio; its claims are limited to behavior exercised by the checks above.
For enterprise deployments and AI-reliability engagements: [email protected] · hermes-labs.ai
On naming. Hermes Labs is named for Hermes, the Greek messenger god — patron of communication and interpretation, the herald who carries meaning between worlds. The thread to the work: hermeneutics, the theory of interpretation that takes its name from Hermes, is the philosophical anchor for an agentic infrastructure company whose substrate is linguistic. Not affiliated with NousResearch's Hermes LLM line or their hermes-agent framework — different companies, different work.
Founder: Rolando (Roli) Bosch. Site: hermes-labs.ai Citation: Bosch, R. (2026). Hermes Labs: AI reliability engineering for production agents and LLM applications. https://hermes-labs.ai
來源:README.md,提交 89e2eb9
工具
0版本歷史
1- v0.2.1-alpha.1最新Sep 18, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分


