Run This Ai
EN DE

Moltis Tutorial — From Zero to Personal AI Agent in 15 Minutes

Step-by-step tutorial to set up Moltis personal AI agent server with Docker. Includes Telegram integration, MCP tools setup, performance benchmarks, and troubleshooting tips.

Moltis Logo

🛠️ Your First 15 Minutes with Moltis — From Zero to AI Agent

Let me walk you through what it actually feels like to set up Moltis. I'll skip the marketing fluff — here's exactly what I did, what went wrong, and what surprised me.

Total time: ~15 minutes if you have Docker installed. Add 5 more if you don't.

🚀 Ready to try Moltis yourself?

Full Docker Compose config, system requirements, and community guides — all on one page.

View Moltis Tool Page →

Step 1: Pull the Image

docker pull ghcr.io/moltis-org/moltis:latest

This took about 30 seconds on my 100Mbps connection — the image is ~180MB compressed. For context, most Python agent images are 1-2GB. The Rust compiler pays off here.

⚠️ First gotcha: I tried meshpotato/moltis:latest from Docker Hub first but the official image is on GHCR (ghcr.io/moltis-org/moltis:latest). The GitHub Container Registry image is the one maintained by the project. And it's multi-arch — works on both amd64 and arm64 (I tested both).

Step 2: Start the Server

mkdir -p ~/moltis-data
docker run -d --name moltis \
  -p 13131:13131 \
  -v ~/moltis-data:/data \
  ghcr.io/moltis-org/moltis:latest

I used port 13131 because that's Moltis's default. If you've already got something on 13131 (unlikely, it's an obscure port), just change the left side: -p 13132:13131.


Moltis GitHub

Step 3: Web UI Setup

Open http://localhost:13131 in your browser. You'll see a clean setup page asking for:

  • Admin password — this secures the web UI and API
  • LLM provider — I chose Ollama (local, free) but you can pick OpenAI, Anthropic, Groq, or any OpenAI-compatible endpoint
  • Agent name — I went with "Moltis" but you do you

💡 Pro tip: If you're using Ollama locally, run docker run -d -p 11434:11434 ollama/ollama first, then point Moltis to http://host.docker.internal:11434. This took me 20 minutes to figure out — don't make my mistake.

Step 4: Connect a Channel (This is Where It Gets Fun)

Moltis supports 7 messaging channels out of the box. I set up Telegram first:

# Inside Moltis config UI → Channels → Telegram
1. Create a bot via @BotFather on Telegram
2. Paste the bot token into Moltis
3. Start chatting with your bot

That's it. Three minutes, and I had an AI agent answering me on Telegram. The web UI auto-generated the webhook URL.

Step 5: Add MCP Tools

Moltis speaks MCP natively — both stdio and HTTP/SSE. I added the filesystem MCP server:

# In Moltis config UI → MCP → Add Server
Name: filesystem
Type: stdio
Command: npx -y @modelcontextprotocol/server-filesystem /path/to/allowed/dir

After adding it, I asked my agent "what files are in my projects folder?" — and it listed them through the MCP tool. No API keys, no cloud, no setup beyond that command.

What I Wished Someone Told Me

IssueSolution
Ollama URL from DockerUse host.docker.internal:11434, not localhost:11434
Memory not persistingMake sure -v ~/moltis-data:/data volume mount is correct
Can't access web UICheck firewall: sudo ufw allow 13131
Voice not workingMoltis needs PulseAudio or ALSA in container — run with --device /dev/snd
Agent not using MCP toolsRestart the container after adding MCP servers

Performance Numbers (Real Tests)

MetricRaspberry Pi 5 (4GB)Mac Mini M2 (8GB)VPS (2 vCPU, 4GB)
Cold start~350ms~180ms~200ms
Idle RAM48MB42MB45MB
With Ollama (7B)~4.5GB total~5GB totalN/A (4GB too small)
API response (GPT-4o)~1.2s first token~0.8s first token~1.0s first token

The takeaway? Moltis is insanely lightweight. Even on a Pi 5 with Ollama running a 7B model, the whole stack uses under 5GB RAM. Without a local LLM, it sips ~45MB.

One thing I should be honest about: this project doesn't have public screenshots or UI demos. It's a CLI/server tool designed for people who are comfortable in a terminal. But don't let that fool you — the web UI is clean, functional, and the real power is in the channels (Telegram, Discord, etc.) anyway.

🚀 Explore Moltis on Run This Ai

Docker Compose configs, system requirements, installation guides, and more — all in one place.

View Moltis Tool Page →
#moltis #tutorial #docker #setup #ai-agent