NousResearch/hermes-agent

Circuit breaker for infinite tool call loops

Cluster 12395 · agent. Data as of

1 open item. Fix attempted, not merged.

The short answer

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

These issues and fixes address scenarios where repeated tool or API failures cause the AI to loop indefinitely, consuming tokens without stopping. The work involves adding circuit breakers, permanent error classification, and consecutive failure guards to halt runaway retry cycles.

Open issues1

  • Issue#64927Bug: AI 死循环 — 工具反复失败不终止,系统仅有被动警告无硬熔断

Open PRs0

No open pull requests.

3 PRs closed without merging

From the close comments: stale or abandoned 2 · done elsewhere 1

  • #12401 fix: add circuit breaker for consecutive identical failing tool calls · stale or abandoned
  • #12405 fix: qqbot infinite retry - permanent error classification + circuit breaker (#12395) · done elsewhere
  • #12418 fix(gateway): add consecutive send failure guard to prevent infinite token burn (#12395) · stale or abandoned
Closed issues · 2
  • Closed#12395[Bug]: 想哭,qqbot消息推送失败后,hermes竟然一直循环调大模型,疯狂消耗token
  • Closed#49479[Feature]: 添加模型循环检测
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.25: 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
2
Attempts
3 PRs closed without merging

For your agent

The same facts, typed.