NousResearch/hermes-agent

Anthropic OAuth token not updated after silent refresh

Cluster 121756 · agent. Data as of

Nothing open on GitHub. Fix merged in #133233 on 7 Oct 2026. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #133233. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #133233. That is separate from the fix event.
Still open
Nothing open on GitHub.

A bug where the agent's stored API key is not updated when an Anthropic OAuth token is silently refreshed, causing auxiliary or subsequent calls to continue sending the revoked token. Related fixes address keeping the key current and propagating the refresh to all holders of the old token.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #133233 Anthropic OAuth sessions keep compression and auxiliary calls working after a silent token refresh, including compaction before the first request (#121756, salvage #121859, #121757, #130334)

    merged to main

    files: agent/auxiliary_key_rotation.py, agent/client_lifecycle.py, agent/conversation_compression.py, agent/conversation_compression_codex.py, contributors/emails/[redacted:email], contributors/emails/[redacted:email], contributors/emails/[redacted:email], tests/agent/test_anthropic_third_party_oauth_guard.py

2 PRs closed without merging

From the close comments: duplicate 1 · superseded by another PR 1

  • #121757 fix(agent): keep api_key in step after Anthropic credential refresh · superseded by another PR → #133233, #121756, #107448
  • #121859 fix(agent): move every holder of a revoked Anthropic token on refresh · duplicate → fde2bea, 8b66a51, #121757, #104383, #107448, #122601
Closed issues · 1
  • Closed#121756[Bug]: Auxiliary calls on `auto` keep sending a revoked Anthropic OAuth token after the main agent's silent token refresh (`agent.api_key` is never updated)
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.50: 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
Merged PRs
#133233
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
7 Oct 2026

For your agent

The same facts, typed.