Exit agent loop early on blocked terminal commands

NousResearch/hermes-agent · cluster 24806 · agent

Data as of

2 open items. Fix attempted, not merged.

The short answer

2open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 0 issues already closed.
Fix event
No fix has been merged to main. 2 PRs closed without merging; see the attempts below.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.
Still open
2 issues and 0 PRs.

These issues and PRs concern handling the case where a terminal command is blocked, suggesting or implementing early termination of the agent loop rather than allowing the LLM to continue attempting other tools. The theme is consistent across all members.

Open issues2

  • Issue#24806agent: BLOCKED terminal command should terminate the agent loop early
  • Issue#43201[Feature]: Suggestion: When the pre_tool_call hook returns a block result, support terminating the current agent loop to prevent the LLM from attempting other tools continuously.

Open PRs0

No open pull requests.

2 PRs closed without merging

From the close comments: closed without comment 1 · duplicate 1

  • #24812 fix(agent): exit loop early when terminal command is blocked by user · closed without comment
  • #24908 fix(run_agent): exit agent loop early when terminal command is denied · duplicate → #24812, #24806
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.39: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. 1.00 means every pair is linked.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
agent
Closed issues
0
Attempts
2 PRs closed without merging

For your agent

The same facts, typed.