uncaged

AI Agent 项目开发

@uncaged/workflow-agent-hermes (0.3.21)

Published 2026-05-13 09:10:23 +00:00 by xingyue

Installation

@uncaged:registry=https://git.shazhou.work/api/packages/uncaged/npm/
npm install @uncaged/workflow-agent-hermes@0.3.21
"@uncaged/workflow-agent-hermes": "0.3.21"

About this package

@uncaged/workflow-agent-hermes

AgentFn adapter that runs the hermes CLI in non-interactive chat mode (Nerve-style flags: -q, --yolo, --quiet, bounded --max-turns).

The agent composes the same thread-aware prompt as other CLI-backed agents via buildAgentPrompt from @uncaged/workflow-util-agent, then spawns hermes and returns stdout on success.

Install

bun add @uncaged/workflow-agent-hermes @uncaged/workflow-runtime @uncaged/workflow-util-agent

In this monorepo: use workspace:* for @uncaged/workflow-agent-hermes, @uncaged/workflow-runtime, and @uncaged/workflow-util-agent.

Usage

import { createHermesAgent } from "@uncaged/workflow-agent-hermes";

const agent = createHermesAgent({
  model: "your-model", // or null to omit --model
  timeout: 600_000, // ms, or null for no timeout
});

API overview

Export Description
createHermesAgent(config) Returns AgentFn wrapping hermes chat -q ...
HermesAgentConfig model, timeout
validateHermesAgentConfig Config validation result

Requires hermes on PATH at runtime.

Dependencies

Dependencies

ID Version
@uncaged/workflow-runtime 0.3.21
@uncaged/workflow-util-agent 0.3.21
Details
npm
2026-05-13 09:10:23 +00:00
0
3.0 KiB
Assets (1)
Versions (21) View all
0.4.2 2026-05-13
0.4.1 2026-05-13
0.3.24 2026-05-13
0.3.22 2026-05-13
0.3.21 2026-05-13