A $30 Orange Pi Runs a 24/7 AI Agent in Under 20MB of RAM

D777Castle · reddit · 2026-08-21

The author built a 24/7 personal AI agent on a sub-$30 Orange Pi Zero H3 (512MB RAM), showing ultra-cheap hardware is viable.

Architecture: the LLM runs via the OpenRouter API (not locally); a Go binary orchestrates, a Telegram bot serves as the interface, and a multimodal model handles images directly.

Memory: short-term memory keeps the last 10 chats on-device; long-term memory uses Pinecone, with documents chunked, embedded via Gemini Embedding 2, and reranked by VoyageAI; selective memory automatically tracks names, events, and pending tasks.

Extras: Tavily web search and cron jobs for reminders. Compiled binary runs under pm2 24/7 in <20MB of RAM; Pinecone's free tier suffices, so cost is mostly just tokens. More capabilities (image/video/music generation, voice, deep research) can be added via OpenRouter.

Original post →

More from coding & agent

coding & agent channel →