# NousResearch/hermes-agent · Anthropic OAuth token not updated after silent refresh

## Open now

- 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.

## 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 #133233. Verify it addresses your case.
- **Recommended:** read PR #133233 (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-133233`. 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

- #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)

## Prior & competing PRs

- **#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 · fix tier `verified`
  - maintainer direction: category `merged`
  - 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`
- **#121757: fix(agent): keep api_key in step after Anthropic credential refresh**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#133233`, `#121756`, `#107448`
- **#121859: fix(agent): move every holder of a revoked Anthropic token on refresh**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `fde2beaec960fb7dbd02099be5ad8b4fbef1c987`, `8b66a51036c1e20920a17cdd049fdf55c968d683`, `#121757`, `#104383`, `#107448`, `#122601`

## Fix status

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