New to Artificial Intelligence? Read the Artificial Intelligence article
ELIZA fooled people in 1966. Here’s how to build an AI agent that doesn’t, and prove it.
An agent's answer can look right while its actions are wrong. Learn to evaluate tasks, traces, tool calls and changed state with reproducible harnesses, tested graders and regression gates.
A practical guide to evaluating small and local language models in the real world. Learn how to benchmark reliably, compare models across hardware and runtimes, optimize performance and avoid misleading results. With practical code and rigorous methods, you can build your own evaluation setup and make confident deployment decisions.
Build and evaluate proposal-only coding agents with explicit permissions, controlled verification, and human review (691 manuscript pages).
Build a fully functional semantic search engine from first principles using pure Python and NumPy—no heavy AI frameworks, no vector databases, just pure intuition and mathematics.
Every team in your company wants AI, and every team is buying it on its own. This book shows you, in plain words, how to give them all one safe, governed door to every model: one address, a key per team, budgets, guardrails and a bill you can explain.
This book is for developers who think that agent collaboration is only as good as the trust underneath it. Even if you're not a security specialist, I'm sure you'll still be able to follow along. It's like, if you've written a REST service and read a JSON payload, you've already got everything this book asks of you. Each chapter adds another layer, explains why that layer matters, and shows the exact commands and outputs we captured while we built it. It's not just theory, because every control we add is one you can run, break and inspect on your own machine. If something feels a bit weird, we'll just slow down and keep the reasoning in the same breath as the code.
Saiba se a sua funcionalidade com LLM funciona de verdade, e continua funcionando depois do próximo ajuste de prompt ou troca de modelo. Leia traces, monte um conjunto de referência, calibre um LLM como juiz e transforme tudo em testes de regressão no CI.
Master prompt engineering from first principles to production-grade AI systems. Learn advanced prompting, RAG, AI agents, security, structured outputs, evaluation, and optimization through practical Python examples and real-world engineering patterns. Move beyond prompt tricks and start building reliable AI applications.
Know whether your LLM feature actually works, and keeps working after the next prompt tweak or model swap. Read traces, build a golden set, calibrate an LLM judge and turn it all into regression gates in CI, with Python examples run before publication.
Your agent works for five minutes while you watch, but left alone for eight hours it forgets what it was doing, dies halfway through a refund, loops until morning, reports work it never did and takes actions nobody approved. This book gives you 35+ framework-agnostic patterns for the harness that prevents each of those failures, from context and durable execution to guardrails, verification and human approval, told through one agent's bad night at a small online store and fixed chapter by chapter until it gets through to morning.
AI can write code, create images and make decisions, but do you really understand what happens behind the scenes? This book cuts through the hype to explore how AI works, where it falls short and what it takes to build reliable systems. If you want to understand AI beyond the chat window, start with the code.
The model is one box. This book is about every other box: retries, contracts, evals, budgets, guardrails and agents for backend engineers shipping LLM features to production.
From Mathematical Foundations to the Future of AIMost deep learning still lives in flat, Euclidean space. Real-world data does not.This 15-chapter university textbook takes you from the basics of topology and geometry to the frontier of Geometric Deep Learning, Topological Data Analysis, equivariant networks, and optimization on manifolds.Clear explanations. Worked examples. Research roadmaps.
AI can decide. That does not mean it is authorized to act. Governance Before Decision examines the missing control layer between intelligent systems and real-world consequences — where authority, scope, verification, and execution must meet.