Mycelos logo mycelos

Raspberry Pi Setup

Running Mycelos on a Raspberry Pi

Mycelos runs beautifully on a Raspberry Pi — your own private AI assistant on a $50 device. Access it from any device on your home network: phone, tablet, laptop.

Requirements

Nothing else needs to be on the Pi. Python, Node, and every runtime dependency ship inside the container image.

Installation

curl -fsSL https://raw.githubusercontent.com/mycelos-ai/mycelos/main/scripts/install.sh | bash

That’s the whole install. It creates ./data/, generates the master key + proxy token, pulls the Mycelos image, and brings up the gateway + proxy containers. Expect 1-2 minutes on a Pi 5 (image pull dominates).

Network access

By default the gateway binds to 127.0.0.1 inside the Pi, which means no other device on your network can reach it yet. To open it up to your home network:

cd ~/mycelos-new   # wherever install.sh placed docker-compose.yml
nano .env

Add or uncomment these two lines:

MYCELOS_BIND=0.0.0.0
MYCELOS_PASSWORD=a-long-random-password-you-pick-now

Then apply:

mycelos restart

Open from any device on your network:

http://raspberrypi.local:9100

…or the IP directly: http://192.168.1.42:9100. Your browser will ask for a username (leave blank) and the password you set.

Security notes

Autostart on boot

Docker handles this automatically. The docker-compose.yml sets restart: unless-stopped, so both containers come back on reboot. No systemd unit needed.

If Docker itself doesn’t start at boot:

sudo systemctl enable docker

Using with Ollama (local LLM)

Note: Running LLMs directly on a Raspberry Pi is possible but very slow. For a usable local LLM experience, run Ollama on a Mac Mini (Apple Silicon) or another GPU-capable machine on your network, and point Mycelos to it via the web UI’s provider setup.

For a basic offline setup on the Pi itself:

  1. Install Ollama: curl -fsSL https://ollama.com/install.sh | sh
  2. Pull a small model: ollama pull gemma2:2b
  3. Configure Mycelos to use it — see the Ollama Guide.
DeviceRAMModelSizeSpeed
Raspberry Pi4GBgemma2:2b1.6GBSlow but works
Raspberry Pi8GBphi3:mini2.3GBSlow
Mac Mini M1+8GB+gemma3:4b3.3GBFast
Mac Mini M1+16GB+llama3:latest4.7GBFast

Recommended setup: run Mycelos on the Raspberry Pi (low power, always on) and Ollama on a Mac Mini on the same network.

Troubleshooting

If something isn’t working, use the built-in diagnostic tool:

mycelos doctor              # Quick health check
mycelos doctor --why        # LLM-powered diagnosis (interactive)
mycelos logs -f             # Follow gateway + proxy logs

The doctor analyzes your system state, audit logs, and configuration to find root causes.

Tips