# NousResearch/hermes-agent · WhatsApp adapter missing aiohttp dependency fixes

## Open now

- Nothing open on GitHub.

A bug report and multiple fix attempts addressing a ModuleNotFoundError caused by aiohttp not being available when the WhatsApp adapter starts. The fixes explore various approaches to lazy-installing or declaring aiohttp as a required dependency.

## TL;DR

- 7 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 5 PR(s) closed without merging.
- A fix was merged to main in PR #133023. Verify it addresses your case.
- **Recommended:** read PR #133023 (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: `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.29`: 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

- #54217: \[Bug\]: WhatsApp adapter fails with ModuleNotFoundError: No module named 'aiohttp'

## Prior & competing PRs

- **#54237: fix(whatsapp): add aiohttp to LAZY_DEPS and pyproject extras**. closed without merge · fix tier `suggested`
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#54249`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#133023: fix(whatsapp): a missing aiohttp no longer loops the bridge forever — PM installs it or a named error stops it (#126358, salvage #131431)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `plugins/platforms/whatsapp/adapter.py`, `tests/gateway/test_whatsapp_connect.py`
- **#54249: fix(whatsapp): lazy-install aiohttp on connect (#54217)**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `c93c632c93`, `#133023`, `#133023`
- **#55297: fix(whatsapp): add lazy-deps entry and ensure() call for aiohttp**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#54249`, `#54217`, `#54249`, `#40734`
- **#56875: fix(whatsapp): lazy-install aiohttp so the adapter starts (closes #54217)**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#54249`, `#54217`, `#54249`, `#55297`
- **#57188: fix(whatsapp): lazy install aiohttp dependency**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#54249`

## Fix status

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