harn-stdlib 0.8.5

Embedded Harn standard library source catalog
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
Stop reason: {{ stop_reason }}
Session: {{ session_id }}
Iteration: {{ iteration }}
Session tools used: {{ all_tools_used }}
Successful session tools: {{ successful_tools_used }}

Transcript context:
{{ transcript }}

Latest assistant text:
{{ last_text }}

Decide whether this agent loop may yield to the user now. Consider the original user request, recent assistant prose, tool calls, and tool result outputs together. If the latest assistant message included a tool call, do not require an extra prose-only turn when the assistant text plus tool result already form a clear final answer. Respond as JSON with `verdict`, `reasoning`, and `next_step`. Set `verdict` to `"done"` only when the current visible answer satisfies the request; otherwise set it to `"continue"` and make `next_step` a concrete instruction for the next turn. If there is no next step, use an empty string for `next_step`.