Self-hosted Mem0 HomeLab deployment, Hermes plugin, release watcher, tests, and runbooks.
- Python 98.6%
- Shell 1.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| config | ||
| deploy | ||
| dist | ||
| docs | ||
| plugin/mem0_selfhost | ||
| scripts | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| SECURITY.md | ||
Mem0 HomeLab
Reusable, secret-free source for the Majlis7 self-hosted Mem0 deployment and Hermes integration.
Included
plugin/mem0_selfhost/— Hermes memory provider for Mem0 OSS routes (/memories,/search).scripts/check_mem0_release.py— silent watcher for official Python OSS tags matchingvX.Y.Z; unrelated monorepo releases are ignored.scripts/install-hermes-plugin.sh— installs the provider into$HERMES_HOME/plugins/.scripts/smoke-test-api.py— add/search/delete API smoke test that cleans up its temporary record.config/— non-secret Hermes configuration examples.deploy/— LAN Compose customization example and deployment notes.docs/— architecture, deployment, maintenance, integration, and historical HomeLab notes.dist/— portable plugin archive plus checksum.
Security
This repository intentionally excludes .env, API keys, JWT secrets, dashboard passwords, database dumps, bootstrap credentials, and live memory data. See SECURITY.md.
Quick plugin install
git clone https://git.majlis.lab/anas/mem0-homelab.git
cd mem0-homelab
./scripts/install-hermes-plugin.sh
cp config/mem0.json.example ~/.hermes/mem0.json
# Add the real MEM0_API_KEY and agent-specific IDs to ~/.hermes/.env
hermes config set memory.provider mem0_selfhost
hermes memory status
Restart Hermes or its gateway after first enabling the provider. Each agent should use a separate API key and isolated MEM0_USER_ID.
For an archive-based install, download dist/mem0_selfhost-plugin-1.1.3-20260805.tar.gz, verify it with sha256sum -c dist/SHA256SUMS, and extract it under $HERMES_HOME/plugins/.
Update policy
Track and install official Mem0 releases only. Unreleased origin/main commits are not routine update candidates.