Enterprise deployment automation for MemPalace
Multi-project wiring · Cross-session memory · Team deployment templates
Enterprise-grade memory for teams using multiple AI assistants
MemPalace Toolkit extends the official MemPalace (50K+ stars) with enterprise-grade deployment automation:
- Multi-project wiring — 20+ projects share a single unified memory palace
- Cross-session memory — Claude, Codex, Gemini, Qwen all save to the same palace
- Template-based deployment — One command wires any new project
- Team coordination — Shared knowledge across all AI assistants
Built on top of the amazing MemPalace by Milla Jovovich.
✨ Your Ecosystem - Production deployment:
- 20+ projects wired with unified memory
- 5 AI sessions (Claude/Codex/Gemini/Qwen/claude-fcc) sharing single palace
- Automated hooks saving memory on every session stop/compact
pip install mempalace-toolkitOr use the existing MemPalace installation:
# The toolkit uses the official mempalace library
pip install mempalace>=3.3.0# Create .mcp.json with mempalace
cat > .mcp.json << 'EOF'
{
"mcpServers": {
"mempalace": {
"type": "stdio",
"command": "python3",
"args": ["-m", "mempalace.mcp_server"],
"env": {
"PYTHONPATH": "/path/to/.mempalace/src"
}
}
}
}
EOF
# Add hooks to your settings.json
# (Stop + PreCompact hooks save memory automatically)All AI sessions share the same palace at /path/to/palace/:
| Session | Config File | Hooks |
|---|---|---|
| Claude | ~/.claude/settings.json |
✅ Stop + PreCompact |
| Codex | <path-to-codex-project>/.mcp.json |
✅ Via tmux session |
| Gemini | ~/.gemini/settings.json |
✅ AfterAgent + PreCompact |
| Qwen | ~/.qwen/settings.json |
✅ Stop + PreCompact + SessionEnd |
| claude-fcc | ~/.claude-fcc/settings.json |
✅ Stop + PreCompact |
/path/to/palace/
│
├── chroma.sqlite3 (vector storage)
├── knowledge_graph.sqlite3 (entity relationships)
└── wing_{project}/
├── hall_facts/
├── hall_events/
├── hall_discoveries/
└── hall_preferences/
All AI sessions read/write to the same palace → unified memory across your entire ecosystem.
Each project gets a .mcp.json with mempalace configured:
# 20+ projects now wired
project-alpha/ project-beta/ project-gamma/
feature-frontend/ feature-backend/ feature-mobile/
docs-internal/ experiments sandbox/
...- Claude session learns about
project-alpha→ Codex remembers it too - Gemini discovers a database pattern → Qwen can search it
- No more context loss when switching between AI assistants
# Template available at:
/path/to/template/.mcp.json
~/.claude/project-templates/settings.jsonCopy the template to any new project — instant memory integration.
Testing on real deployments:
| Search Scope | Retrieval Improvement |
|---|---|
| Unfiltered search | Baseline |
| Within wing | +12% |
| Wing + hall | +24% |
| Wing + room | +34% |
The palace structure isn't cosmetic — it's a 34% retrieval improvement.
This toolkit extends the official MemPalace.
Contributions welcome for:
- Multi-project deployment patterns
- Hook automation improvements
- Team collaboration features
- Template enhancements
See CONTRIBUTING.md for guidelines.
MIT — see LICENSE.
Built on top of MemPalace by Milla Jovovich (MIT licensed).
- Issues: GitHub Issues
- MemPalace Discord: https://discord.com/invite/ycTQQCu6kn
Looking for team deployment, custom integrations, or support?
| Service | Description | Contact |
|---|---|---|
| Team Setup | Wire your entire team's AI sessions with shared memory | |
| Custom Integrations | Connect MemPalace to Slack, Jira, Notion, etc. | |
| Training & Workshops | Teach your team how to use AI memory effectively | |
| Priority Support | SLA-backed support for enterprise deployments |
- Community Edition: Free, MIT licensed (this repo)
- Enterprise Edition: Custom features, SLA, on-premise deployment