Hermes Coach commands and tools

Reference for the coach_ask and coach_decide tools, the /coach slash commands, the Decide backends, and where cards and review logs go.

Agent tools

The agent gets two tools. No skill or instruction file is required, because the tool descriptions carry their own guidance.

ToolArgumentsReturns
coach_askquestion (required, ≤ 4000 chars), intent (advice, plan, review), context (≤ 4000 chars)Advice text, or {ok: false, error}
coach_decidequestion (required), options (2–6 strings), state (object){decision, confidence, probabilities, gate, rationale}

turn_id and session_id are optional host hints used for per-turn caps and the child-session refusal. The agent does not need to send them, and the dispatcher overrides them if it does.

A consult is one model call. The ledger is capped at 3500 tokens and replies at 400 by default.

Decide backends

BackendModelBilling
jev-openrouter (default)typesafe/jev-1.14 through OpenRouterOPENROUTER_API_KEY
jev-directTypeSafe’s APITYPESAFE_API_KEY in ~/.hermes/.env
chat-modelAny chat model that returns JSONSelf-reported confidence, and less reliable

gate is act at or above the configured confidence threshold and escalate below it. An answer that cannot be parsed also escalates, rather than guessing.

The /coach command

CommandEffect
/coach statusModel, modes, spend and pending notes
/coach last [n]The last advice, or the last n, for this session
/coach log [n] [full]Recent reviews and decisions: turn, time, body, evidence, fix, question and options
/coach active on|off|pre|post|bothPer-turn review; a timing word also switches the mode on
/coach review on|offCompletion review
/coach decide on|offThe decide tool
/coach model [mode]Show or set a model
/coach set <key> <value>Any setting, by name
/coach guidanceBoth guidance paths and whether they exist
/coach pendingList held advice
/coach sendRelease held advice now
/coach pausePause background reviews for this session
/coach grant / revokeWrite or clear the model-override permission
/coach forgetDelete this session’s coach state

Unknown input prints the full help. A handler exception becomes a one-line error rather than a broken session.

Cards, notes and logs

Each review finding and decision is posted as a card in the conversation and written as one line in $HERMES_HOME/coach/logs/<session>.jsonl: timestamp, kind, severity, title, body, evidence and fix. Decisions also carry the question, options and rationale.

A card is a host notification and cannot carry buttons. The one-click path lives on the Desktop page: under Status → Recent reviews, every finding has a Send to chat button that puts it in the composer. From the CLI, /coach send does the same.

Where the model reads it: review and Active findings become <coach-note> blocks at the start of its next turn, and a blocked completion is a message inside the current turn. Consult advice is the tool result itself, which the agent is asked to relay.