# NousResearch/hermes-agent · Fix SDK auto-retry conflicts with rate-limit handling

## Open now

- Nothing open on GitHub.

These issues and PRs address a problem where the Anthropic (and OpenAI) SDK's built-in auto-retry mechanism interferes with the custom rate-limit retry loop, and raise the Retry-After cap to prevent deadlocks on rate-limited accounts.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #53918. Verify it addresses your case.
- **Recommended:** read PR #53918 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-53918`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.50`: 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.

## Closed / duplicate issues

- #26293: fix(anthropic): SDK auto-retry + Retry-After 120s cap deadlock rate-limited Anthropic accounts

## Prior & competing PRs

- **#53918: fix(retry): stop SDK auto-retry double-firing inside the rate-limit loop (Anthropic + OpenAI), raise Retry-After cap to 600s**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/agent_runtime_helpers.py`, `agent/anthropic_adapter.py`, `agent/conversation_loop.py`, `tests/agent/test_anthropic_adapter.py`, `tests/run_agent/test_create_openai_client_disables_sdk_retries.py`, `tests/run_agent/test_run_agent.py`
- **#26311: fix(anthropic): disable SDK auto-retry and raise Retry-After cap to prevent rate-limit deadlock**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`
- **#35955: fix(anthropic): stop SDK auto-retry double-firing and raise Retry-After cap to 600s**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `1ab35ba25`, `#53918`

## Fix status

- Merged to main in PR #53918 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-06-28`.
- Subsystem: `agent`
