From the mathematics of attention to production agent systems. A practitioner's guide for engineers, researchers, and students.