Skip to content

Medium Article Agent

A local pipeline that finds a trending story, researches it from real sources, drafts the article with a fine-tuned local LLM, fact-checks it and sends it to Discord for review.

Year
2026
Role
Solo
Status
Private · client
Context
Lab
The review preview of an article the pipeline drafted: title, subtitle and the generated cover graphic with two stat cards
LLM pipeline · Small-scale fine-tuning2026

Each stage is separate: trend discovery, source gathering and fact extraction, outline and title planning, writing, fact checking, and graphics. Unsupported numbers, quotes and claims are deleted or repaired against the sources before a draft is shown, and nothing is published automatically.

The writer is a small-scale fine-tune: Llama 3.1 8B with QLoRA, exported to GGUF and served by Ollama on my own GPU. Other steps use Gemini with a local Qwen fallback. A Discord bot is the whole interface, with approve, refine and reject buttons, a job queue and a GPU lock.

Further down the same preview: the opening paragraph, a section and the generated token pricing comparison table
Further down the same preview: the opening paragraph, a section and the generated token pricing comparison table
A release timeline graphic the pipeline rendered for the same article
A release timeline graphic the pipeline rendered for the same article