feat(mem0): add self-hosted mode to the setup wizard - #60494
Merged
Conversation
The salvaged SelfHostedBackend made self-hosted servers reachable via mem0.json / MEM0_HOST, but the setup wizard still offered only Platform and OSS — exactly the gap users hit (Discord report: 'At memory setup there's only 2 options'). Adds a third wizard mode: - interactive picker: Platform / Self-hosted server / Open Source - non-interactive: hermes memory setup mem0 --mode selfhosted --host http://... [--api-key ...] [--dry-run] - host -> mem0.json (behavioral), API key -> .env as MEM0_API_KEY (secret), optional key for AUTH_DISABLED servers - best-effort reachability check against the server, non-fatal - README + memory-providers docs updated with the wizard path
teknium1
force-pushed
the
salvage/56943-mem0-self-hosted
branch
from
July 7, 2026 20:56
b9d7add to
f9f0201
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(mem0): add self-hosted mode to the setup wizard
Summary
hermes memory setupcan now configure the mem0 plugin's self-hosted server mode — previously the wizard offered only Platform and OSS, so the self-hosted support merged in #56943 was reachable only by hand-editingmem0.json/.env(the exact gap reported by community users).Changes
_setup.py: interactive picker now shows Platform / Self-hosted server / Open Source; new_setup_selfhosted()flow (host →mem0.json, optional API key →.envasMEM0_API_KEY, best-effort non-fatal reachability check); non-interactive viahermes memory setup mem0 --mode selfhosted --host http://... [--api-key ...] [--dry-run]tests/plugins/memory/test_mem0_setup.py: 4 new tests (flag mode, AUTH_DISABLED no-key, dry-run, trailing-slash normalization)plugins/memory/mem0/README.md+website/docs/user-guide/features/memory-providers.md: wizard path documentedValidation
Follow-up to #56943 (@kshitijk4poor / @kartik-mem0), which added the self-hosted backend but not the setup-UX integration. Closes the wizard gap from #52478.
Infographic