How to make an LLM agent cite its sources, enforced by code→
A pattern for agentic pipelines that generate documents: make every fact either cited against something the code fetched, or explicitly marked unavailable, so the model physically cannot ship an invented number.