{"slug": "i-automated-my-entire-dev-workflow-with-ai-agents-running-24-7-on-a-mac-mini", "title": "I Automated My Entire Dev Workflow with AI Agents Running 24/7 on a Mac Mini", "summary": "A developer automated their entire dev workflow using AI agents running 24/7 on a Mac Mini, with a total electricity cost of about $13 per month. The system routes tasks between a Mac Mini, a Windows PC, and an Ubuntu server, handling scheduling, coding, writing, and home monitoring via Telegram. The setup saves an estimated $300-400 per month compared to cloud alternatives, though it requires occasional maintenance and has limitations with context windows and hardware fallback.", "body_md": "Every morning I wake up and check Telegram. There's a message from Celebi — my AI agent — telling me what happened overnight. New emails summarized. A draft article ready for review. A reminder that I have a meeting in 2 hours. Sometimes a screenshot from a camera showing motion at the front door.\n\nAll of this runs on a Mac Mini. Not in the cloud. Not on rented GPUs. On a $599 box under my desk.\n\nHere's how I built it and what it actually costs.\n\nMy setup is three machines that talk to each other over my home network:\n\n| Machine | Role | Cost |\n|---|---|---|\n| Mac Mini M4 (16GB) | Always-on orchestrator, notifications, lightweight tasks | $599 |\n| Windows PC (AMD 9970X, RTX 3060 12GB) | Heavy lifting — coding models, image generation | ~$2,500 existing hardware |\n| Ubuntu Server (CPU-only) | Fallback, OCR backend, lightweight inference | ~$300 old laptop |\n\nThe Mac Mini is the brain. It's on 24/7, draws maybe 15W at idle, and handles routing, scheduling, and simple queries. The Windows PC wakes up for the hard stuff — 30B parameter models, vision tasks, anything that needs a GPU.\n\nThe Ubuntu box is my safety net. When the Windows PC is offline or I need something CPU-only, it handles it. It's slow (180 seconds for a vision query vs 4 seconds on the GPU), but it works.\n\nMy main agent. It runs on the Mac Mini and handles:\n\nResponse time: 1-3 seconds. Perfect for \"what's my schedule today?\"\n\nThe coder. Handles:\n\nResponse time: 8-15 seconds. Worth the wait for quality code.\n\nThe writer. Handles:\n\nResponse time: 3-5 seconds. Fast enough for iterative writing.\n\nNo Kubernetes. No Docker Swarm. Just:\n\n```\nUser (Telegram) → Celebi → Router → Right Agent → Response\n```\n\nCelebi receives the message, classifies it (coding, writing, general), and routes to the right specialist. The specialist does the work and sends it back to Celebi, which formats it and sends it to me.\n\nIf the Windows PC is offline, Celebi either handles it itself or falls back to the Ubuntu server. It's not fancy, but it works.\n\nCelebi checks my calendar, recent emails, and any flagged notifications. Sends a 3-sentence summary to Telegram. Takes me 10 seconds to read instead of 10 minutes of app-hopping.\n\nProgrammierMinna writes a draft from my notes. DocMinna reviews and edits. Celebi publishes via the Dev.to API. I get a notification with a link to review.\n\nActual time I spend per article: 10-15 minutes editing. Before this? 2-3 hours writing from scratch.\n\nProgrammierMinna scans PRs for bugs, anti-patterns, missing error handling. It's not perfect — it misses edge cases sometimes — but it catches 80% of the obvious stuff before a human reviews it.\n\nCamera detects motion? Celebi sends me a screenshot and asks if it's important. Package delivery? I'll know in 10 seconds. Stray cat? Also know in 10 seconds.\n\n| Component | Cost |\n|---|---|\n| Mac Mini electricity (24/7, ~15W) | ~$3/month |\n| Windows PC electricity (on demand, ~200W when active) | ~$8/month |\n| Ubuntu server electricity (24/7, ~10W) | ~$2/month |\n| Dev.to API | $0 |\n| Telegram Bot API | $0 |\n| Ollama | $0 |\nTotal |\n~$13/month |\n\nCompare that to cloud alternatives:\n\n**Savings: ~$300-400/month.** The Mac Mini paid for itself in 2 months.\n\n**Model management.** Keeping track of which model is on which machine, updating them, clearing old ones — it's overhead. Not huge, but real.\n\n**Windows PC sleep.** When the PC is asleep, complex queries take 180 seconds on the Ubuntu fallback instead of 8 seconds on the GPU. I've learned to schedule heavy tasks during hours when the PC is already awake.\n\n**Context limits.** Even 30B models have limited context windows. For large codebases, I have to chunk the work. The model doesn't see the full picture, which leads to integration issues.\n\n**Debugging the system.** When something breaks, it's not always obvious where. Is the model acting weird? Is the routing wrong? Is the hardware offline? I spend maybe 30 minutes per week on maintenance.\n\n**Local models are faster for simple tasks.** A Qwen 3.5 9B on the Mac Mini answers in 1-2 seconds. GPT-4o via API? 500ms to 2 seconds plus network latency. For quick queries, local is actually snappier.\n\n**The agents talk to each other better than expected.** I was worried about the handoff — would context get lost? Would responses be garbled? In practice, the routing works 95% of the time. The 5% failures are usually obvious and easy to fix.\n\n**It's more reliable than cloud.** I've had OpenAI outages, rate limits, API changes. My local setup? The only downtime is when I restart the machine for updates. In 6 months of operation, total downtime: maybe 2 hours.\n\nThis isn't about replacing developers or writers or thinkers. It's about removing friction.\n\nI still make all the decisions. I still review all the code. I still edit every article. The agents just handle the parts I find tedious — turning my rough notes into readable prose, catching obvious bugs, formatting responses.\n\nThe result? I ship more. I write more. I spend less time on grunt work and more time on things that matter.\n\nIs it perfect? No. Is it better than doing everything manually? Absolutely.\n\nIf you're running side projects and drowning in maintenance, consider a local agent setup. It doesn't have to be this elaborate — start with one agent on one machine and expand from there.\n\nThe $599 Mac Mini was the best dev investment I've made this year.\n\n*Sam Hartley is a solo dev building tools on a 3-machine home lab. Writes about the messy reality of shipping stuff with AI.*\n\n→ [Custom automation setups on Fiverr](http://www.fiverr.com/s/XLyg)\n\n→ [Follow CelebiBots on Telegram](https://t.me/celebibot_en)", "url": "https://wpnews.pro/news/i-automated-my-entire-dev-workflow-with-ai-agents-running-24-7-on-a-mac-mini", "canonical_source": "https://dev.to/samhartley_dev/i-automated-my-entire-dev-workflow-with-ai-agents-running-247-on-a-mac-mini-1ikc", "published_at": "2026-07-17 08:03:02+00:00", "updated_at": "2026-07-17 08:32:20.682739+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-infrastructure", "ai-products", "machine-learning"], "entities": ["Mac Mini", "Telegram", "Celebi", "ProgrammierMinna", "DocMinna", "Ollama", "Dev.to"], "alternates": {"html": "https://wpnews.pro/news/i-automated-my-entire-dev-workflow-with-ai-agents-running-24-7-on-a-mac-mini", "markdown": "https://wpnews.pro/news/i-automated-my-entire-dev-workflow-with-ai-agents-running-24-7-on-a-mac-mini.md", "text": "https://wpnews.pro/news/i-automated-my-entire-dev-workflow-with-ai-agents-running-24-7-on-a-mac-mini.txt", "jsonld": "https://wpnews.pro/news/i-automated-my-entire-dev-workflow-with-ai-agents-running-24-7-on-a-mac-mini.jsonld"}}