JH

jacobhausler/hermes-workflows

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

4 stars 质量 62 趋势 26MIT

Hermes 代理拥有的工作流图:节点、扇出、门、指纹恢复、桌面DAG视图

概览

你的代理编写一个包含代理节点、扇出和门的JSON图;后台运行者在调用者进程树之外执行,并将结果反馈给它启动的同一工作流工具。Hermes Desktop绘制实时DAG。 单个代理回合是一条漫长而脆弱的工作线程:一个上下文,一个超时,没有可重复的检查点。A 将作业拆分为具有明确依赖关系的节点——并行侦察通道、合成连接、对抗审查门——每个节点是一个独立的子会话,拥有自己的模型、预算和类型故障。当某项任务中突然丧失或你改变主意时,只有受影响的节点会重新运行:完成的工作会从其存储的指纹重放,而不是重新付款。 一个工具,行动导向——完整的表面,带有重要的旗帜: 另外还有一个 /wf 斜杠命令:bare /wf 列出库;/wf [note] 启动该图,笔记作为上下文种子。

概述(AI 翻译)

Hermes Agent 的代理自有工作流程图。 你的代理编写一个包含代理节点、扇出和门的JSON图;背景 Runner 在调用者进程树之外执行该任务,并将结果反馈回去 与它启动时相同的workflow工具。Hermes Desktop 绘制实时 DAG。

四张生产图,每张图有两行注释: docs/showcase.md。

为什么会有这样的存在

一个代理回合是一条漫长而脆弱的工作线:一个情境,一个 超时,无可恢复检查点。图将作业拆分为节点,满足 显式依赖——并行侦察通道、合成连接、对抗 Review Gate——每个节点都是一个独立的子会话,拥有自己的模型、预算和 类型失败。当某物死亡或你在飞行中改变主意时,只有 受影响节点重运行:已完成的工作会从其存储的指纹重播, 没有还款。

你得到了什么

能力 一行
图运行 代理节点,边为goal,after,每个节点为model/provider/reasoning,以及max_turns/timeout/[run_budget] 上限;可选的concurrency/item_concurrency — 每个图或作为启动时运行的ARG,固定在所有者上限

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Hermes Workflows

Agent-owned workflow graphs for Hermes Agent. Your agent authors a JSON graph of agent nodes, fan-outs and gates; a background runner executes it outside the caller process tree and hands results back through the same workflow tool it launched from. Hermes Desktop draws the live DAG.

Four production diagrams, glossed two lines each: docs/showcase.md.

Why this exists

A single agent turn is one long, fragile thread of work: one context, one timeout, no resumable checkpoints. A graph splits the job into nodes with explicit dependencies — parallel recon lanes, a synthesis join, an adversarial review gate — each node a separate child session with its own model, budget, and typed failure. When something dies or you change your mind mid-flight, only the affected nodes re-run: completed work is replayed from its stored fingerprint, not re-paid.

What you get

Capability In one line
Graph runs Agent nodes with goal, after edges, per-node model/provider/reasoning, and max_turns/timeout/run_budget caps; optional concurrency/item_concurrency — per graph or as launch-time run args, clamped to owner caps
Fan-out One node → N live children from fanout.items or items_from:".items"; per-item liveness; quorum cancels stragglers once N commit (they are cancelled, never a failure)
Human + machine gates A gate holds on a question until release; gate.wait holds on a timer or an argv probe at zero token cost; when predicates branch on upstream output; on_skip:"prune" retires the losing arm; an optional default-off admission gate answers human releases at zero turns (docs/admission-gates.md)
Fingerprint resume Crash, restart, or amend the graph mid-flight — nodes whose effective fingerprint still matches replay-skip; only what actually changed re-runs. run/amend accept dry_run:true for a no-write preview
Cooperative steer steer queues text for a running node; the child pulls it at its next natural seam via the tool’s inbox action — prompts are never rewritten mid-flight
Profile delegation A node can run as another local Hermes profile (its instructions, memory, tools) behind a per-profile consent file — multi-personality graphs on one machine, no isolation claimed
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add jacobhausler/hermes-workflows
新手?先看 mcpskill.org 教程 →