# NousResearch/hermes-agent · mem0 OSS mode skips unnecessary API key lookup

## Open now

- Nothing open on GitHub.

These items address a bug where mem0 unconditionally calls get_secret() even when running in OSS mode with api_key_required set to false. The fix ensures platform key lookups are skipped in OSS/self-hosted deployments, and related work scopes memory-provider and tool reads to their routed profile.

## TL;DR

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

- #99121: mem0 plugin fails closed on self-hosted OSS when no API key exists — unconditional get_secret() contradicts api_key_required = mode != "oss"

## Prior & competing PRs

- **#108319: fix(multiplex): tool and memory-provider reads stay inside the routed profile — keys, identities, endpoints, webhook secrets, cache eviction (#82903, #65941, #99121; salvage #103957, #99132, #65958, #82938)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/auxiliary_client.py`, `agent/i18n.py`, `agent/inline_tool_executors.py`, `agent/outbound_webhooks.py`, `gateway/run_agent_cache.py`, `gateway/run_turn.py`, `hermes_cli/auth_nous.py`, `plugins/browser/browserbase/provider.py`, `plugins/browser/firecrawl/provider.py`, `plugins/memory/hindsight/README.md`, `plugins/memory/hindsight/__init__.py`, `plugins/memory/hindsight/embedded.py`, `plugins/memory/honcho/client.py`, `plugins/memory/mem0/__init__.py`, `plugins/memory/mem0/_openai_llm.py`, `plugins/memory/openviking/__init__.py`, `plugins/memory/retaindb/__init__.py`, `plugins/memory/supermemory/__init__.py`, `plugins/video_gen/xai/__init__.py`, `tests/agent/test_i18n.py` (+13 more)
- **#99132: fix(mem0): skip platform key lookup in OSS mode**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `a1b689f12a2`, `#108319`, `#99121`

## Fix status

- Merged to main in PR #108319 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-11`.
