What it does
- Accelerates research and first drafts
- Keeps source and candidate constraints visible
- Produces structured output for fast review
AI Systems & Agents
An AI editorial workflow that turns a topic into a structured, researched, copy-ready blog draft with human review before publication.
BlogAgent combines bounded LLM agents with deterministic contracts for research, candidate validation, drafting, review, and final output control.
Project Snapshot
Start here for the project type, use case, my role, the working stack, and its current state.
01 / Problem
Most AI blog generators produce fluent text, but they do not prove that sources exist, recommendations are real entities, or the article respects the count promised in its title. In a “5 best X” post, one small failure - an author confused with a product, six items under a five-item headline, or an unsupported citation - turns a useful draft into unreliable content.
BlogAgent addresses that gap by controlling the workflow between research, candidates, drafting, review, and final output, rather than treating writing as a single model response.
02 / Product goal
The goal was not to create an autopublishing tool. BlogAgent is an internal system for producing copy-ready drafts: text I can move into my blog editor, review, adjust lightly, and publish manually.
The value is speed plus evidence and control, not hands-free automation.
03 / Architecture decision
The architecture combines deterministic steps with bounded LLM agents. Code controls sequence, limits, contracts, validation, and final decisions. Models support planning, synthesis, drafting, and review, but they do not freely decide what counts as valid.
04 / Core components
Locks task type, domain, requested count, answer entity type, and safety constraints before drafting.
Extracts possible entities and rejects fragments, bylines, dates, source titles, brand clusters, and malformed candidates.
Locks the exact recommendation set the writer is allowed to use.
Drafts the article inside the locked structure and selected tone profile.
Checks contract compliance, candidate fidelity, and whether a rewrite or targeted repair is required.
Blocks count mismatches, invalid candidates, unsafe outputs, and incoherent workflow states.
05 / Design lesson
PERSON != PRODUCTDuring testing, a watch recommendation article included “Paul Altieri” as one of the recommended watches. He was a person associated with a source, not a watch. The failure exposed the central risk in recommendation workflows: the writer can only be as reliable as the candidate set it receives.
The fix was not another prompt. It was a candidate cleanliness gate, a CandidatePack quality report, reviewer veto power, and a final contract that prevents polished prose from passing when the underlying candidate set is invalid.
06 / Safety and control
BlogAgent keeps external effects and high-risk claims outside the autonomous workflow.
07 / Evaluation
The evals validate workflow behavior, contracts, and safety boundaries in mock mode. Live search and model quality remain source-dependent and require human review.
08 / Result
The result is a practical internal AI workflow: not an autonomous writer, but a controlled drafting system that creates structured, source-aware, copy-ready drafts with enough traceability to review them quickly.
09 / Limitations
10 / What I learned
The main lesson was that most “AI writing quality” failures were actually identity, counting, validation, and handoff problems. Once the system locked candidates, audited sections, gave the reviewer veto power, and treated the final contract as the source of truth, the agent became more reliable without becoming more autonomous.