- New ask_user core tool: mid-turn user question with option picking, refusing cleanly in autonomous mode, for background workers, and without a tty; system prompt points at it instead of prose questions. - Structural loop control for prompt-JSON CLI backends (opencode, grok, claude, codex, gemini): shared cli_json_turn repairs a missing JSON envelope exactly once, then accepts prose; prompt contract hardened against narrate-without-calling. - research/agentic-tool-loop-design: 74 sources plus 2 conclusions backing the loop-control decisions; INDEX updated to 6 subjects.
29 lines
1.0 KiB
Markdown
29 lines
1.0 KiB
Markdown
# zestones/hermes - _docs/spec/architecture/agent/tool-calling-loop.md
|
|
|
|
## Metadata
|
|
|
|
| Field | Value |
|
|
|---|---|
|
|
| Institute | Molodetz Institute — Research & Retrieval Division |
|
|
| Subject | agentic-tool-loop-design |
|
|
| Document type | Source Citation Card |
|
|
| Tier | 2 |
|
|
| Source title | zestones/hermes - _docs/spec/architecture/agent/tool-calling-loop.md |
|
|
| Source URL | https://github.com/zestones/hermes/blob/HEAD/_docs/spec/architecture/agent/tool-calling-loop.md |
|
|
| Source type | repository |
|
|
| Date researched | 2026-10-11 |
|
|
| Researched by | tai (agent), model: Muse Spark, on behalf of retoor |
|
|
| Research method | Search aggregator result listing (not independently opened or quoted) |
|
|
| Confidence | Not independently verified |
|
|
| Status | Active |
|
|
|
|
## Why it's here
|
|
|
|
Surfaced by the OpenAI function-calling loop search; looked relevant for its OpenAI-compatible round-trip spec (finish_reason tool_calls, JSON-string arguments).
|
|
|
|
## Changelog
|
|
|
|
| Date | Change |
|
|
|---|---|
|
|
| 2026-10-11 | Logged as consulted-but-not-analyzed. |
|