# NousResearch/hermes-agent · Agent iteration budget warning before limit reached

## Open now

- 2 issues, 1 PR open on GitHub.
- #414: Feature: Iteration Budget Pressure — Warn the LLM Before Max Iterations Hit
- #54153: \[Feature\]: Inject a 'save state and yield' soft-warning at ~80% of the tool-call iteration budget
- PR #54277: feat(agent): add iteration budget pressure warnings

These issues and pull requests all concern adding warnings or pressure signals to the agent when it is approaching its maximum iteration or tool-call budget, prompting it to wrap up before hitting the hard limit.

## TL;DR

- 5 member(s): 2 open issue(s), 0 closed issue(s), 1 open PR(s), 0 merged PR(s), 2 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): 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.34`: the share of member 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.

## Open related issues

- #414: Feature: Iteration Budget Pressure — Warn the LLM Before Max Iterations Hit
- #54153: \[Feature\]: Inject a 'save state and yield' soft-warning at ~80% of the tool-call iteration budget

## Prior & competing PRs

- **#762: feat: iteration budget pressure via tool result injection (#414)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`
- **#50802: feat(agent): warn near max iterations**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`
- **#54277: feat(agent): add iteration budget pressure warnings**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `#54277`
  - files: `agent/conversation_loop.py`, `tests/run_agent/test_run_agent.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
