New to Artificial Intelligence? Read the Artificial Intelligence article
Build a tiny GPT from scratch, train it on your laptop in minutes, and chat with it in your browser. No API, no pretrained model, no GPU: just clear steps and code you understand line by line.
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.
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.