Self-hosted AI chat gateway powered by OpenRouter free models.
Run your own AI assistant on a Raspberry Pi.
curl -sSL https://raw.githubusercontent.com/LSDLabsHQ/piailot/main/install.sh | bash
Python 3.11+ · 1GB RAM · MIT License
Each user gets a unique 4-digit PIN. No passwords, no accounts, no OAuth. Just a PIN and you're in.
Create custom system prompts that shape AI behaviour. Build skills for coding, writing, translation, analysis -- whatever you need.
Web search, calculator, and other utilities available to the AI. Attach tools to skills for task-specific capabilities.
Automatically cycles through free OpenRouter models if one is rate-limited. Always finds a model that works.
Real-time token streaming via Server-Sent Events. Responses appear as the AI thinks, not after.
Manage users, monitor system health, view model status, and track usage -- all from a web interface.
Runs comfortably on 1GB RAM. Raspberry Pi, cheap VPS, old laptop -- if it runs Python, it runs piailot.
File-based storage using JSON and Markdown. No PostgreSQL, no Redis, no Docker. Just files on disk.
Clean, monospace UI with a hacker-friendly feel. Dark theme, green accents, zero bloat.
Sign up at openrouter.ai/keys -- free tier gives you access to dozens of AI models at no cost.
One command sets up everything: clones the repo, creates a virtualenv, installs dependencies, configures nginx and systemd.
Navigate to http://your-pi.local and create your first user. That's it -- you're chatting with AI.
piailot binds to 127.0.0.1 by default — it's only accessible on your local network. For secure remote access from anywhere, pair it with Tailscale.
curl -fsSL https://tailscale.com/install.sh | sh && sudo tailscale up
Add your phone, laptop, or tablet to the same Tailscale network. All free for personal use.
Open http://<your-pi-tailscale-name> from any device on your Tailnet. Encrypted, no port forwarding, no exposed services.
Thank you, OpenRouter
piailot exists because OpenRouter gives everyone access to powerful AI models for free. No gatekeeping, no waitlists, no credit card. Just an API key and you're building. That's the kind of infrastructure that makes projects like this possible.