AI and voice Building agents where the model asks and the program checks