- Landing page with overview and comparison - Extensive FAQ (60+ questions) - Step-by-step setup guide - Security documentation - Personas customization guide
12 KiB
| summary | read_when | |||
|---|---|---|---|---|
| Moltmates FAQ - Comprehensive answers to common questions |
|
🦞 Moltmates FAQ
Comprehensive answers to frequently asked questions about Moltmates.
General Questions
What is Moltmates?
Moltmates is a multi-user fork of Moltbot that lets you run AI assistants for multiple people from a single server. Each user gets their own isolated workspace and Docker sandbox.
How is Moltmates different from Moltbot?
| Aspect | Moltbot | Moltmates |
|---|---|---|
| Target use | Single user (you) | Multiple users (family/team) |
| Workspace | One shared | Per-user isolation |
| Security | Trusts the user | Zero-trust sandboxing |
| Personas | One bot personality | User-selectable personas |
| Execution | Direct on host | Docker containers |
Is Moltmates free?
Yes! Moltmates is open source (MIT license). You only pay for:
- API costs — Anthropic/OpenAI usage
- Server — VPS or home server
- Optional: Domain, SSL, etc.
What AI models can I use?
Moltmates supports all models Moltbot supports:
- Anthropic: Claude 3.5 Sonnet, Claude 3 Opus, Claude 4 (when available)
- OpenAI: GPT-4o, GPT-4 Turbo, o1, o1-mini
- Local: Ollama, llama.cpp, vLLM
- Other: Groq, Together, Perplexity, etc.
Do users share context?
No. Each user has completely isolated:
- Conversation history
- Memory files (MEMORY.md)
- Workspace files
- Session state
- Docker container
User A cannot see User B's conversations or files.
Setup & Installation
What are the system requirements?
Minimum:
- 2 CPU cores
- 4 GB RAM
- 20 GB disk
- Docker installed
- Node.js ≥22
Recommended:
- 4+ CPU cores
- 8+ GB RAM
- 50+ GB SSD
- Docker with BuildKit
How do I install Moltmates?
# Clone
git clone https://github.com/YOUR_FORK/moltmates
cd moltmates
# Install dependencies
pnpm install
# Build
pnpm build
# Build sandbox image
docker build -f Dockerfile.sandbox -t moltmate-sandbox:bookworm-slim .
# Configure
cp ~/.moltmate/moltmate.example.json ~/.moltmate/moltmate.json
nano ~/.moltmate/moltmate.json
# Start
pnpm dev # or systemctl start moltmate
How do I add a new user?
- Get their Telegram/Discord/WhatsApp ID
- Add to config:
"channels": { "telegram": { "allowFrom": ["existing_id", "NEW_USER_ID"] } } - Restart:
systemctl restart moltmate - User messages bot → onboarding starts
How do I remove a user?
- Remove their ID from
allowFrom - Delete their workspace:
rm -rf ~/.moltmate/users/telegram_THEIR_ID/ - Restart:
systemctl restart moltmate
How do I reset a user's workspace?
# Remove their workspace (they keep their allowlist entry)
rm -rf ~/.moltmate/users/telegram_THEIR_ID/
# Next message triggers fresh onboarding
Security & Isolation
How does sandbox isolation work?
Each user's agent runs in a Docker container with:
- No network access (optional)
- Read-only root filesystem
- Isolated /tmp and workspace
- Allowlisted binaries only
- No access to host filesystem
What can users execute?
Only explicitly allowed commands:
"exec": {
"security": "allowlist",
"safeBins": ["cat", "head", "tail", "grep", "wc", "pdftotext"]
}
Anything not in safeBins is blocked.
Can users see each other's data?
No. Isolation is enforced at multiple levels:
- Session routing — Messages go to correct user's session
- Workspace isolation — Each user has own directory
- Docker containers — Separate container per session
- Memory files — Stored in user-specific paths
What if a user tries to "jailbreak" the AI?
Several protections:
- Sandbox limits damage — Even if jailbroken, can't access host
- Allowlisted tools — Can't run arbitrary commands
- No network (optional) — Can't exfiltrate data
- Session isolation — Can't affect other users
Is my API key safe?
API keys are:
- Stored in config on host (not in sandbox)
- Injected at runtime via environment
- Never visible to user agents
- Not logged or exposed
Personas & Customization
How do personas work?
On first message, users choose a persona:
1. ✨ Custom - Describe your own
2. 🦎 Cami - Warm and adaptive
3. 🦀 Molty - Direct and reliable
The selected persona template is copied to their SOUL.md.
How do I add a new persona?
-
Create template in
templates/souls/:nano /root/moltmates/templates/souls/my-persona.md -
Update
src/users/persona-setup.ts:const PERSONAS = { custom: { emoji: "✨", file: "custom.md" }, cami: { emoji: "🦎", file: "cami.md" }, molty: { emoji: "🦀", file: "molty.md" }, my_persona: { emoji: "🎭", file: "my-persona.md" } // Add }; -
Rebuild:
pnpm build -
Restart:
systemctl restart moltmate
Can users change their persona later?
Yes, they can:
- Edit their
SOUL.mddirectly (if they have workspace access) - Ask the bot to update its personality
- Have you reset their workspace for re-onboarding
How do I edit a user's persona?
nano ~/.moltmate/users/telegram_THEIR_ID/SOUL.md
# Edit personality
systemctl restart moltmate
Docker & Containers
How do I check if sandbox is working?
# See running containers
docker ps | grep moltmate
# Should show: moltmate-sbx-SESSION_ID
How do I add tools to the sandbox?
-
Edit
Dockerfile.sandbox:RUN apt-get update && apt-get install -y \ poppler-utils \ # for pdftotext NEW_PACKAGE \ # add here && rm -rf /var/lib/apt/lists/* -
Rebuild image:
docker build -f Dockerfile.sandbox -t moltmate-sandbox:bookworm-slim . -
Add to safeBins in config:
"safeBins": ["cat", "head", "pdftotext", "NEW_BINARY"] -
Restart:
systemctl restart moltmate
Container won't start — what do I do?
# Stop orphaned containers
docker stop $(docker ps -q --filter name=moltmate-sbx)
# Remove them
docker rm $(docker ps -aq --filter name=moltmate-sbx)
# Restart gateway
systemctl restart moltmate
# Check logs
journalctl -u moltmate -f
How much disk space do containers use?
- Base image: ~150 MB
- Per container: ~50-100 MB (ephemeral)
- Workspaces: Varies by user (typically <100 MB each)
Containers are ephemeral — they don't persist state between restarts.
Channels & Messaging
Which channels are supported?
All Moltbot channels work:
- ✈️ Telegram (recommended)
- 💬 WhatsApp (via Baileys)
- 🎮 Discord
- 💼 Slack
- 📧 Google Chat
- 📱 iMessage (macOS only)
- 🔒 Signal
- 🏢 Microsoft Teams
- 🔌 Mattermost (plugin)
Can different users use different channels?
Yes! User A can use Telegram while User B uses Discord. Isolation is per-user, not per-channel.
How do I set up Telegram?
- Create bot via @BotFather
- Get token
- Add to config:
"channels": { "telegram": { "botToken": "123456:ABC-DEF...", "dmPolicy": "allowlist", "allowFrom": ["YOUR_TELEGRAM_ID"] } } - Get your ID from @userinfobot
How do I enable group chats?
"channels": {
"telegram": {
"groupPolicy": "allowlist",
"groups": {
"allowFrom": ["GROUP_CHAT_ID"]
}
}
}
Memory & Storage
Where is user data stored?
~/.moltmate/
├── moltmate.json # Main config
├── users/
│ ├── telegram_123456/ # User A
│ │ ├── SOUL.md # Personality
│ │ ├── USER.md # Profile
│ │ ├── MEMORY.md # Notes
│ │ └── memory/ # Daily logs
│ └── telegram_789012/ # User B
│ └── ...
└── skills/ # Shared skills
How do I backup user data?
# Backup all users
tar -czf moltmates-backup-$(date +%Y%m%d).tar.gz ~/.moltmate/users/
# Backup specific user
tar -czf user-123-backup.tar.gz ~/.moltmate/users/telegram_123456/
How do I restore from backup?
# Extract backup
tar -xzf moltmates-backup-20260128.tar.gz -C ~/
# Restart
systemctl restart moltmate
Does the AI remember conversations?
Yes, via:
- Session history — Recent messages in context
- MEMORY.md — Important notes the AI saves
- memory/*.md — Daily logs (if configured)
Memory is per-user and isolated.
Troubleshooting
Bot doesn't respond to messages
- Check gateway is running:
systemctl status moltmate - Check logs:
journalctl -u moltmate -f - Verify user is in
allowFrom - Check channel connection (Telegram token valid, etc.)
"exec not working" error
- Verify
execis intools.allow:"tools": { "allow": ["read", "write", "edit", "exec", ...] } - Check
safeBinsincludes the command - Verify binary exists in sandbox:
docker run --rm moltmate-sandbox:bookworm-slim which COMMAND
User stuck in onboarding loop
# Reset their workspace
rm -rf ~/.moltmate/users/telegram_THEIR_ID/
# They'll get fresh onboarding on next message
API rate limits / errors
- Check your API quota (Anthropic/OpenAI dashboard)
- Consider adding rate limits in config
- Use cheaper model for non-critical users
- Set up model fallbacks
High memory usage
# Check container memory
docker stats
# Limit container memory in Dockerfile or compose
# Or reduce concurrent sessions
Advanced Topics
How do I run multiple instances?
Use different ports and state directories:
# Instance 1 (port 18789)
MOLTMATE_STATE_DIR=~/.moltmate-1 moltmate gateway --port 18789
# Instance 2 (port 18790)
MOLTMATE_STATE_DIR=~/.moltmate-2 moltmate gateway --port 18790
Can I use different models per user?
Yes, via config overrides:
"agents": {
"main": {
"model": "claude-sonnet-4-5"
}
}
Or let users set via /model command if enabled.
How do I monitor usage?
# Check logs
journalctl -u moltmate --since "1 hour ago"
# Monitor sessions
moltmate sessions list
# API usage: check provider dashboards
Can users upload files?
Yes, depending on channel:
- Telegram: Images, documents, voice
- Discord: Attachments
- WhatsApp: Media messages
Files are processed in the user's sandbox.
Migration & Updates
How do I update Moltmates?
cd /root/moltmates
git pull origin main
pnpm install
pnpm build
systemctl restart moltmate
How do I migrate from Moltbot?
- Export your Moltbot config
- Install Moltmates
- Copy config, adjusting for multi-user settings
- Copy MEMORY.md and workspace files if desired
- Test with one user before enabling more
Breaking changes between versions?
Check CHANGELOG.md before updating. Major changes are documented.
Getting Help
Where can I get support?
- GitHub Issues: File bugs and feature requests
- Discord: discord.gg/clawd
- Docs: docs.molt.bot
How do I report a bug?
- Check existing issues first
- Include:
- Moltmates version
- Node.js version
- Docker version
- Relevant logs (
journalctl -u moltmate) - Steps to reproduce
- File at GitHub Issues
How do I contribute?
- Fork the repo
- Create feature branch
- Make changes
- Test thoroughly
- Submit PR with clear description
Made with 🦞 by the Moltmates community