The Adaptive AI Codex Series: all three Applied AI Universe Coding Guide books

View the Series on Amazon For Instructors

The Adaptive AI Codex Series

Build It. Break It. Defend It.

A practical, code-first series for anyone interested in building, understanding, and securing AI systems — by Eric Yocam PhD, DBA.

Three books, one continuous journey. Book 1 builds real AI models from the ground up, from classical machine learning through generative and quantum AI. Book 2 attacks every one of those models with real, executed code, verified against the actual notebook. Book 3 defends every one of them — and then measures each defense a second time against an attacker who knows it is there.

The Three Books

Book 1 · Available Now
The Applied AI Universe Coding Guide
A complete hands-on handbook covering AI fundamentals: Machine Learning, Neural Networks, Deep Learning, Generative AI, and Hybrid Quantum-Classical systems.
Book 2 · Available Now
The Applied AI Universe Coding Guide: Adversarial Attacks
Explore how AI models can be fooled and compromised in practice. Hands-on techniques for adversarial examples, poisoning attacks, evasion methods, and real-world vulnerabilities.
Book 3 · Available Now
The Applied AI Universe Coding Guide: Adversarial Defenses
Master practical strategies to build more robust and secure AI systems, including adversarial training, certified robustness, integrity verification, and defensive architectures — each measured against an adaptive attacker.

One Model Universe, Three Passes

The same models run through all three books, which is what makes the comparison meaningful. A model built in Book 1 is attacked in Book 2 and defended in Book 3, using the same cached weights each time — so the before-and-after numbers describe one system rather than three unrelated ones.

The answer, aggregated across every chapter, is that 71% of the apparent benefit survives and 29% does not — with the loss concentrated almost entirely in detection defenses, and none at all in integrity controls. Book 3 reports that about its own results.

Companion Code and Model Artifacts

Every book ships with executable Colab notebooks and a Hugging Face repository of the models themselves — built, attacked, and hardened — so any figure in any book can be reproduced rather than taken on trust.

The Guiding Philosophy

The Adaptive AI Codex Series is built upon three principles:

Practical. Rigorous. Code-First.

Start with Book 1, or jump straight to the attacks or the defenses.

Start with Book 1 Explore Book 2 Explore Book 3