Automated content pipelines often fail a critical test: they pass superficial SEO checks while harboring factual errors. Bauke ten Have, co-founder of Amsterdam-based agency Chef AI, discovered this flaw when his system’s first four AI-written posts scored a perfect 100/100 on internal SEO metrics yet contained three to six significant mistakes each. To address this, Chef AI implemented a dual-model architecture using Claude Sonnet for drafting and Claude Opus for auditing, resulting in the identification of 4,334 errors across 125 posts since early October.
The Limitations of Metric-Based QA
Traditional automated quality assurance relies on counting features rather than verifying truth. The SEO checker at Chef AI validated keyword placement, intro length, link counts, and FAQ presence, but never analyzed the semantic integrity of the sentences. This allowed posts to pass validation even when mathematical sums were incorrect—such as stating tasks totaled 45 hours when they actually summed to 35. Ten Have realized that a checklist cannot detect hallucinations, prompting the development of a second reader designed specifically to interpret context and logic rather than just formatting.
Architecting the Writer-Auditor Split
The solution separates generation from validation to prevent self-correction bias. The writer agent, running on Claude Sonnet, receives research, briefs, and writing rules to produce a draft. The auditor agent, running on Claude Opus, receives the finished post alongside the original inputs but operates under a strict instruction: "You didn't write it, and that's the reason you're here." This auditor checks six specific dimensions: mathematical accuracy, source backing for claims, factual invention, rule adherence, tone consistency, and alignment with actual service offerings. Crucially, the auditor does not edit the file directly; instead, it outputs a JSON file detailing each error with the old text, the proposed new text, and the reasoning.
Practical Implementation and Cost Optimization
A Python script applies the auditor’s JSON fixes, but not without safeguards. The system performs a dry run, applying each fix and re-running the SEO check to ensure the correction doesn’t break other metrics, such as removing a necessary keyword. Fixes that fail this secondary check are rolled back. This approach mitigated early issues where well-intentioned edits by the auditor removed critical SEO elements. Financially, the pipeline initially consumed 17 million tokens per post due to high context usage across multiple agent turns. By optimizing context windows and limiting agent turns to 12 for the reader, Chef AI reduced costs to approximately 900,000 tokens per post, demonstrating that efficient architecture is as vital as model selection.
Key Takeaways
- Separation of Duties: Using a different model (Opus) to audit another (Sonnet) catches errors that self-correction misses.
- Structured Outputs: Auditors should output JSON with specific old/new text pairs rather than editing files directly, allowing for programmatic validation.
- Feedback Loops: Logging every error into a CSV allows recurring mistakes to be converted into deterministic script checks, reducing reliance on LLM auditing over time.
- Context Management: Strict limits on agent turns and context windows are essential to keep automated content pipelines cost-effective.
The Bottom Line
Stop trusting your SEO checker to tell you if your content is true. If you are automating content generation, you need a second, more powerful model acting as a ruthless editor, and you need a script that refuses to apply fixes that break the build.