# NousResearch/hermes-agent · Migrate API server to aiohttp AppKey storage

## Open now

- 1 issue, 2 PRs open on GitHub.
- #11635: API server still uses string aiohttp app keys, triggering NotAppKeyWarning on startup/tests
- PR #11669: fix(api-server): use AppKey for aiohttp adapter state
- PR #23641: fix(api-server): use aiohttp AppKey storage

These issues and PRs address the API server's use of plain string keys for aiohttp app state, which triggers NotAppKeyWarning. The work involves replacing string keys with typed aiohttp AppKey objects.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 1 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.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.

## Open related issues

- #11635: API server still uses string aiohttp app keys, triggering NotAppKeyWarning on startup/tests

## Prior & competing PRs

- **#11669: fix(api-server): use AppKey for aiohttp adapter state**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#11638`, `#11709`
  - files: `contributors/emails/[redacted:email]`, `gateway/platforms/api_server.py`, `scripts/release.py`, `tests/gateway/test_api_server.py`, `tests/gateway/test_api_server_jobs.py`, `tests/gateway/test_api_server_multimodal.py`, `tests/gateway/test_api_server_runs.py`, `tests/gateway/test_cron_fire_webhook.py`
- **#11709: fix(api-server): use aiohttp AppKey for adapter state**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#11669`
- **#23641: fix(api-server): use aiohttp AppKey storage**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#11669`, `#11635`
  - files: `gateway/platforms/api_server.py`, `tests/gateway/test_api_server.py`, `tests/gateway/test_api_server_jobs.py`, `tests/gateway/test_api_server_multimodal.py`, `tests/gateway/test_api_server_runs.py`

## Fix status

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