When an AI chatbot project goes over budget, the cause is rarely the model. It's scope that was never written down: which questions the bot answers, which systems it touches, who it hands over to, and how anyone will know it's working. Two developers quote the "same" chatbot and one is three times the other, because they imagined different bots.
The fix is boring and effective: a one-page spec, in a format you can lint. This post gives you a YAML template we use at the start of chatbot work, and a 50-line Python validator that refuses to let a spec through until the expensive questions are answered.
What belongs in a chatbot spec?
Seven sections cover almost every project:
Goal and metric. One sentence on the job ("answer order and returns questions on the store website") and one number you'll track (for example, the share of conversations resolved without a person).
Channels. Website widget, WhatsApp, Instagram, an internal Slack bot.…