# NousResearch/hermes-agent · Z.AI/GLM API key detection in status command

## Open now

- 2 issues, 2 PRs open on GitHub.
- #21990: hermes status: Z.AI / GLM key not detected when using ZAI_API_KEY env var
- #35266: bug: status.py API Keys section only checks GLM_API_KEY for Z.AI / GLM, missing ZAI_API_KEY and Z_AI_API_KEY
- PR #23557: fix(status): detect ZAI env vars in hermes status
- PR #35274: fix(status): check all Z.AI/GLM API key variants in status display

These issues and fixes address the status command failing to detect Z.AI/GLM credentials when stored under alternative environment variable names like ZAI_API_KEY or Z_AI_API_KEY. One member also adds broader first-class provider support for Z.AI/GLM, Kimi, and MiniMax.

## TL;DR

- 6 member(s): 2 open issue(s), 0 closed issue(s), 2 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_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.36`: 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

- #21990: hermes status: Z.AI / GLM key not detected when using ZAI_API_KEY env var
- #35266: bug: status.py API Keys section only checks GLM_API_KEY for Z.AI / GLM, missing ZAI_API_KEY and Z_AI_API_KEY

## Prior & competing PRs

- **#21991: fix(status): recognize ZAI API key aliases**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`
- **#21993: fix(status): detect Z.AI / GLM key via ZAI_API_KEY env var**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`
- **#23557: fix(status): detect ZAI env vars in hermes status**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#21993`, `#21990`
  - files: `hermes_cli/status.py`, `tests/hermes_cli/test_status.py`
- **#35274: fix(status): check all Z.AI/GLM API key variants in status display**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#35266`, `#21990`, `#21991`, `#21993`
  - files: `hermes_cli/status.py`, `tests/hermes_cli/test_status.py`

## Fix status

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