cd /news/ai-agents/building-an-autonomous-ai-agent-is-e… · home › topics › ai-agents › article
[ARTICLE · art-152255] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Building an autonomous AI agent is easy. Keeping it alive 24/7 for four months on a ₹0 budget is the real engineering problem

A developer built XeL Studio, an open-source autonomous newsroom that discovers tech news, writes articles, generates cover images and publishes every 30 minutes with no human in the loop, running entirely on free tiers. The system routes between Groq and Cerebras LLMs behind a fallback router, runs generation and Python scraping on GitHub Actions to avoid serverless timeouts, and uses Cloudflare and Cloudinary for image generation and delivery. The developer says the fallback router fixed most of the first version's failures, which stemmed from a single LLM freezing the pipeline on rate limits or outages.

by read1 min views2 publishedOct 18, 2026

.My first version taught me that the hard way. One LLM, no fallback. Every rate limit or outage froze the entire pipeline. Image generation was worse: I went through several free tiers before Cloudflare, and Hugging Face's free inference simply wasn't dependable enough for a system that never sleeps.

So I rebuilt it as XeL Studio, an open-source, self-driving newsroom. Every 30 minutes it finds tech news, writes the article, generates a cover image, and publishes. Once a day it cleans its own database. No human in the loop.

Here's how I designed around free-tier limits instead of fighting them:

Two LLMs, one pipeline

Groq and Cerebras run behind a fallback router. If one hits a rate limit or goes down, the other takes over. That single change fixed most of v1's failures.

Vercel for the frontend, GitHub Actions for the heavy lifting

The Next.js + TypeScript frontend is hosted on Vercel. But serverless timeouts kill long jobs, so AI generation and Python scraping run on GitHub Actions as a scheduled backend.

Three databases, each with one job

Discovery via Searchwala

News discovery runs on Searchwala, another open-source project of mine.

Media at ₹0

Cloudflare generates the cover images. Cloudinary stores and delivers them.

Honestly, this is my favourite part of building: taking free tiers that are weak on their own and combining them into something that holds up in production.

Both XeL Studio and Searchwala are open-source. Links in the first comment.

So, would you trust a free-tier stack like this in production, or is it a ticking time bomb?

Website link:

https://xel-studio.vercel.app/ GitHub link:

https://github.com/SandeepAi369/xel-studio

── more in #ai-agents 4 stories · sorted by recency
── more on @xel studio 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/building-an-autonomo…] indexed:0 read:1min 2026-10-18 · —