How a deck-building agent stopped hallucinating by grounding every slide in trusted facts

Miserable_Donut8718 · reddit · 2026-07-24

A builder shares how a deck-generating agent stopped hallucinating once the workflow was changed from “let the model write the deck” to “retrieve trusted facts first, then write from those facts.”

The setup now requires every factual slide to be grounded in an internal knowledge base, with each claim traced to a source chunk. The agent can explicitly say there is no approved proof point instead of inventing one. A separate retrieval step ranks facts before writing, and a cheap groundedness check flags unsupported lines before render. The author also notes that Gamma’s Generate API made the presentation rendering easy, though the credit limit was low and the exported deck was not cleanly editable as PPTX.

Original post →

More from coding & agent

coding & agent channel →