# NousResearch/hermes-agent · Memory provider startup race condition fixes

## Open now

- 2 issues, 2 PRs open on GitHub.
- #47954: WARNING: Memory provider 'honcho' loaded but no provider instance found (race condition on startup)
- #58360: Bug: Memory provider race — registers 0 tools before correcting to 55 at session start
- PR #58365: fix(memory): add rebuild_provider_tools() for async tool discovery race
- PR #84219: fix(plugins): serialize concurrent dynamic module loads

Multiple issues and fixes addressing a race condition during startup where memory providers load before tool discovery completes, resulting in zero or missing tools being registered. Approaches include retries, delays, and async rebuild mechanisms.

## 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_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- 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.

## Open related issues

- #47954: WARNING: Memory provider 'honcho' loaded but no provider instance found (race condition on startup)
- #58360: Bug: Memory provider race — registers 0 tools before correcting to 55 at session start

## Prior & competing PRs

- **#47958: fix(memory): retry memory provider load once with 100ms delay to absorb startup race**. closed without merge
  - maintainer direction: category `wontfix_bydesign`; implication `wontfix`
- **#47960: fix(plugins): retry memory provider load to avoid startup race warning**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#47958`, `#47958`
- **#58365: fix(memory): add rebuild_provider_tools() for async tool discovery race**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `agent/memory_manager.py`, `tests/run_agent/test_memory_provider_init.py`
- **#84219: fix(plugins): serialize concurrent dynamic module loads**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`
  - files: `plugins/context_engine/__init__.py`, `plugins/cron_providers/__init__.py`, `plugins/memory/__init__.py`, `tests/agent/test_context_engine_host_contract.py`, `tests/agent/test_memory_provider.py`, `tests/cron/test_scheduler_provider.py`

## Fix status

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