Most AI features break because the model is asked to do work that should be plain code. I build them the other way round: a tested, deterministic core, and a language model only where language is the actual job. My production example turns a pricing matrix and a short brief into a branded Word proposal, with 170 automated tests around it.