Pushing my Pi 4 8GB beyond a typical homelab — SSD boot, OpenCode, MCP, Docker, Tailscale and AI experimentation
I've been gradually turning my Raspberry Pi 4 (8GB) into a small development, homelab and AI experimentation server, and I'm curious how far other people have pushed a Pi 4 for similar workloads.
My current hardware/software baseline:
- Raspberry Pi 4 Model B — 8GB
- Booting directly from an external SSD
- ~300+ MB/s storage performance in my setup
- Stable 2.0 GHz CPU overclock
- Active cooling
- 64-bit Raspberry Pi OS
- Ethernet
- Docker
- Tailscale + SSH for remote access
The SSD boot setup has made a noticeable difference compared with using a microSD card, especially when running multiple services and containers. It also gives me much more confidence using the Pi as a 24/7 development/server machine.
On top of that, I'm experimenting with:
- OpenCode for AI-assisted development
- MCP-based tooling
- Web Search MCP
- GitHub MCP
- TUI-based administration
- Termux from Android for remote terminal access
- Grafana + Prometheus
- Pi-hole + Unbound
- NAS/storage services
- IoT/environmental monitoring
One setup I'm particularly interested in is using the Pi as a remote AI development environment.
I can connect from my phone or laptop through Tailscale and SSH, open a terminal/TUI environment, and use OpenCode on the Pi while giving it access to tools through MCP.
The workflow I'm exploring is roughly:
Phone/Laptop
↓
Tailscale + SSH
↓
Raspberry Pi
↓
OpenCode / n8n / LangGraph
↓
MCP tools
↓
GitHub / Web / APIs / other services
↓
OpenRouter / other model providers
I'm now looking at adding n8n and LangGraph to the setup.
The goal isn't to run a huge LLM locally on the Pi. I want to use it as an AI development and orchestration node, with heavier inference handled through APIs or another machine.
For learning, I'm considering OpenRouter and other free/low-cost API providers so I can experiment with agent workflows without immediately building an expensive setup.
I'm still exploring this architecture, so I'd appreciate suggestions from people who have actually tried similar things on a Pi 4:
Is n8n practical on a Pi 4 8GB for a personal learning setup?
Would you start with LangChain and then move to LangGraph, or go directly to LangGraph?
What free/cheap API providers are currently useful for learning?
Which MCP servers are worth running on a Pi?
What should stay on the Pi versus moving to another machine?
Any ARM64/Docker issues I should watch for?
Has anyone built a similar Raspberry Pi-based AI development/orchestration stack?
I'm mainly interested in practical setups rather than benchmarks.
The Pi has already become much more than a small server for me. Now I'm exploring how far I can take it as a lightweight development, automation and AI orchestration node.