Building a Gemini multi-agent system and RAG-powered validation pipeline to automate high-fidelity technical content generation.
Founding Engineer project targeting high concurrency, real-time sync, or custom system designs.
Generating high-volume, search-optimized technical content is incredibly slow and expensive when done manually. However, simple one-shot LLM prompts fail because the AI produces generic, dry text and suffers from factual hallucinations (incorrect tech facts or broken code snippets).
To be valuable in production, AI-generated content needs to be factually accurate, structured, SEO-optimized, and automatically formatted for publishing without constant manual human intervention.
As a Founding Engineer, I built an autonomous multi-agent content factory powered by the Gemini API and Supabase:
Our initial agent pipeline struggled with conversational drift and infinite validation loops. The Technical Writer Agent and the SEO Agent would pass revisions back and forth indefinitely, bloating token costs and degrading article quality.
I resolved this by refactoring the system into a Directed Acyclic Graph (DAG) state machine using LangGraph. I defined rigid input and output schemas (zod structures) for each node.
Under this model, the SEO Agent is limited to a single validation pass, generating structured modification instructions. The final article must pass through a strict semantic evaluator node. If the semantic similarity score between the generated draft and the source documentation falls below 85%, the system halts, logs the discrepancy, and alerts an editor, ensuring absolute quality control.
Related Reading: To read a complete architectural deep dive explaining how I designed the RAG engine and LLM multi-agent pipelines for this factory, read my post: How I Built the CongKong AI Content Factory.
Screenshots, dashboard metrics, and recorded event videos proving the system running in real-time.

CongKong's AI Content Factory dashboard displaying scheduled blog pipelines and multi-agent queues.

RAG-backed factual validation checkpoints and semantic similarity scores.