Preface#
Organizations are adding AI to the information systems they depend on: help desks that draft answers, ERP systems that flag unusual transactions, search tools that answer from company documents, and agents that carry out tasks across several systems. Someone has to build these features, connect them to existing systems, keep them running, and make sure they are secure and used responsibly. That work falls to information systems and IT professionals and to the software engineers they work beside.
This book prepares you for that work. It treats AI as a system to be engineered and operated, not a black box to be admired. You will learn how AI systems are built from data, models, and prompts; how to build applications with model APIs, retrieval, and agents; how to integrate and operate them; and how to secure and govern them.
Who This Book Is For#
This book is written for upper-level undergraduate students in information systems and computer science, including management information systems (MIS), information science and technology (IST), and computer science (CS) majors, and for graduate students in IS, IT, and CS programs. Students in related programs, such as software engineering, information technology, cybersecurity, and data science and business analytics, will find it useful as well.
The two groups bring different strengths. IS students usually know how organizations and their systems work; this book gives them the implementation depth to build and run AI features themselves. CS students usually know programming and algorithms; this book gives them the systems view: integrating AI with enterprise platforms and databases, operating it in production, and securing and governing it. Both groups do the same labs.
The book assumes you can write basic Python; Think Python is the reference if you need a refresher. Some familiarity with SQL and the command line helps in later chapters. Each chapter has a core that every reader should complete, and graduate readers will find Graduate Extension subsections and (challenge) exercises that go further into architecture, evaluation, and governance.
A companion book, AI for Management, covers AI from the manager’s side. The two books share topics such as evaluation, retrieval, agents, and security; this book goes deeper into how those systems are built and run.
How the Book Works#
Labs are central to every chapter. You will call model APIs, validate structured output, build semantic search and a retrieval-augmented question-answering tool, write a tool-using agent, generate and check SQL, evaluate prompts with test sets, and test an assistant against prompt injection. Code runs in the book with the Run button, so you can start without installing anything.
The book is applied and technical, about as technical as a database or web development course. You will write and debug real Python against real services and deal with the problems production systems face: failed calls, cost, latency, security, and monitoring. It does not cover the mathematics of deep learning or how to train foundation models; models are explained through intuition and diagrams, and the focus is on building and running systems around them. Labs give you a starting structure to complete, homework asks you to build more on your own, and (challenge) exercises and Graduate Extensions go further.
The 23 chapters are organized in four parts:
Part I: Understanding AI Systems: Understand AI systems, data, and model behavior, then use models through prompts and reliable API calls.
Part II: Building and Evaluating AI: Evaluate first, then build applications with retrieval, tools, multimodal inputs, bounded model adaptation, and AI-assisted development.
Part III: Integrating and Operating AI: Operate AI: connect it to organizational workflows and users, choose infrastructure, release it, and monitor it.
Part IV: Securing, Governing, and Delivering AI: Govern AI: secure systems, govern data, assign responsibility, and deliver a project with verifiable results.
Chapters 11, 12, and 15 now have drafted lessons, original synthetic fixtures, and self-checking offline labs. Their graded assignment drafts use fresh identities. Video and slides remain pending; a production grading import is not claimed.
Each chapter includes a Preview to check key terms before class, a Lab for hands-on practice, and Homework that applies the ideas. The appendices cover development setup, model access, the running case, the final project, and course paths.
Choosing Chapters#
Chapters 1, 4, and 6 provide the foundation. After them, each chapter is independently assignable. Every lab supplies its own data, schemas, reference components, and checks; you do not need work from a chapter your course skipped.
A 14-week undergraduate course starts with Chapters 1, 4, and 6, then selects prompting and evaluation (5 and 7), vector search (8), RAG (9), agents (10), multimodal inputs (11), enterprise workflows and interaction design (14 and 15), databases (16), deployment and monitoring (18 and 19), security (20), and project delivery (23). Paired topics use one bounded lab, not two full labs. Appendix D begins at week four and ends with demonstration and verification in week 14. The Course Paths appendix provides the full schedules and the three complete activities, including supplied fixtures, independent transfer tasks, checks, and review rubrics. Each activity replaces the paired full labs and its transfer task replaces the paired homework sets.
An eight-week graduate course uses Chapters 1, 4, 6, 7, 9, 10, 20, and 17, with Graduate Extensions as appropriate and no final project. Chapter 12 can replace RAG or Infrastructure for an adaptation-focused offering using its supplied offline materials.
Other chapters are elective substitutions or additional readings. Optional connections never create extra prerequisites.
Using AI While You Learn#
You are encouraged to use AI tools while you study, including coding assistants. Use them the way this book teaches: give clear specifications, test what they produce, and keep your own judgment in charge. AI output never replaces understanding the code you submit.
A Living Book#
AI changes quickly. Model names, prices, and capabilities that are current today will be out of date within months. This book focuses on durable concepts and engineering practices, and it keeps fast-changing details in one place (Appendix B) so they can be updated without rewriting the chapters.
Videos#
Videos throughout this book are embedded via YouTube’s official player and remain the property of their original creators. No ownership or affiliation is claimed. Embedded videos may become unavailable if creators remove them or disable embedding. Rightsholders with concerns may contact support@thinkpress.org.