<tool_call>, and the server loops until the task is done or a spend is awaiting approval.
Request body
The directive for the agent.
The workspace to operate in. Isolates Treasury, proposals, and the agent body.
Prior conversation turns, each
{ role: "user" | "assistant", content: string }. Lets Hermes keep context across directives.Response
Returns anAgentTurnResult.
The ordered trace of the turn: thoughts, tool calls, tool results, proposals, awaiting-approval, and errors.
Hermes’s final message to the operator.
True when a spend is held for a human decision.
The live Treasury state after the turn.
Example
propose_spend tool call, a blocked safety verdict, and a Treasury state with the balance unchanged at $0.
Errors
| Status | Condition |
|---|---|
400 | message is missing, or the body is not valid JSON. |
500 | An unexpected error during the turn (the message is returned in error). |