Open source Powers sellonllm.com/blog GitHub Actions

Autonomous AI blogging that runs while you sleep

Blogging Agent is a multi-agent Python pipeline that researches SEO topics from Google Search Console & GA4, writes and edits full articles, publishes to your site, monitors performance, and rewrites underperformers—zero manual steps after a one-time setup. We built it for SellOnLLM; you can fork it for any static site or markdown CMS.

Free tier friendly · Groq for writing · GPT-4o for strategy · Gmail run reports optional · Web + CLI run logs

This is the same stack running our SEO & AEO blog—new posts ship automatically via GitHub Actions + Vercel. Pair with our free SEO tools and GA + GSC chat for the full loop.

Pipeline

StrategyCompetitor research, content pillars, quick-win keywords
ResearchGSC gaps, GA4 declines, competitor sitemaps, Trends
Write + EditFull SEO article with internal links, then quality pass
PublishMarkdown → HTML, sitemap, blog index, llms.txt
Monitor + CorrectWeekly health scores; rewrite, retitle, or requeue weak posts
8
Specialized agents
0
Daily manual work
1
Post / day max
Sites you can power
Multi-agent system

Eight agents, one brain

Each agent has a narrow job. Together they replace a content team’s research, writing, editing, and maintenance loop.

🎯

Strategy Agent

Interviews you (or reads env vars), maps competitors, finds content gaps, stores pillars that guide every future run. Uses GPT-4o for deep reasoning.

Run once · manual or CI
🔍

Research Agent

Pulls GSC queries with high impressions but weak CTR, checks competitor sitemaps, validates keywords via SERP analysis, deduplicates against your archive.

Scheduled + on demand
✍️

Writer Agent

Produces full markdown articles with hooks, H2/H3 structure, internal link suggestions from your post memory index, and fresh web research.

Per topic
✂️

Editor Agent

Reviews drafts against the research brief—SEO placement, clarity, engagement—and edits in place with notes on what changed and why.

Per article
📅

Smart Scheduler

Reads queue size, ramp limits, and GSC opportunity scores to decide: publish now, fill the queue with research, or wait.

Every 6 hours
📊

Performance Monitor

Daily GSC + GA4 snapshots per post. Computes health scores and flags underperformers for the corrector.

Daily 8am UTC
🔧

Self-Correction Agent

Chooses rewrite, retitle, requeue, or wait for flagged posts based on real ranking and traffic data.

Weekly Monday
🧠

Post Memory + Dedup

Jaccard fingerprint index for internal links and duplicate blocking—no vector DB required. State persists in SQLite across CI runs.

Always on
Quick start

Up and running in 15 minutes

# 1. Clone & install git clone https://github.com/vipulawl/blogging-agent.git cd blogging-agent && pip install -r requirements.txt # 2. Configure (.env — Groq free tier works) cp .env.example .env # GROQ_API_KEY, OPENAI_API_KEY (strategy), optional GSC/GA4 # 3. Build strategy (once) python main.py strategy --auto # 4. Full autonomous mode — add GitHub Actions secrets & push # Workflows: pipeline, scheduler, monitor, corrector # 5. Inspect agent run logs (CLI dashboard) python main.py logs python main.py logs --run 2 --full # SellOnLLM web dashboard: /blog-agent-dashboard.html

SellOnLLM integrates this agent into our main repo with a markdown→HTML publish bridge, sitemap updates, Gmail run reports, and a live run dashboard. Fork blogging-agent for a standalone setup, or study our integration in vipulawl/sellonllm.