Share E-Book

An Illustrated Guide to AI Agents Building Autonomous Systems with LLMs, Tools, and Memory (Grootendorst, Maarten, Alammar, Jay) (z-library.sk, 1lib.sk, z-lib.sk)

Author Grootendorst, Maarten, Alammar, Jay

ai
Language English

Artificial intelligence is entering a new phase. No longer limited to answering prompts or completing simple writing tasks, AI agents can now reason, plan, and act with increasing independence. From accelerating scientific breakthroughs to supporting creative work, these systems are quickly reshaping industries and everyday life. This book provides the conceptual foundation and practical insights you need to understand—and effectively work with—this emerging technology. Through hundreds of clear graphic illustrations, Maarten Grootendorst and Jay Alammar explain how AI agents are built, how they think, and where they're heading. Designed for professionals, students, and curious learners alike, this guide goes beyond the buzz to reveal what's actually happening inside these systems, why it matters, and how to apply the knowledge in real-world contexts. With its visual storytelling and accessible explanations, An Illustrated Guide to AI Agents is your essential reference for navigating the next frontier of artificial intelligence.

Format EPUB
Size 26.7 MB
6
Views
0
Downloads
0.00
Total Donations

AI Guide

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

Full assistant
AI guide
【One-Line Pitch】 A visual, intuition-first guide to understanding and building LLM-powered AI agents—covering reasoning models, memory, tools, planning, and multi-agent systems—ideal for developers, ML researchers, and technical leaders who want a rigorous mental model without drowning in code. 【Book Arc】 - **Opening (~0%–9%)**: Sets the stage by defining the shift from LLMs that "talk" to agents that "do," and lays out the book's dual-track approach: conceptual illustrations for all readers plus a hands-on Python project (TinyAgent) for builders. It also previews the core components—reasoning, memory, tools, planning, reflection—that the rest of the book assembles piece by piece. - **Early (~15%–27%)**: Introduces the book's structure and audience guidance, explaining that Part 1 builds a single agent from the ground up. It clarifies prerequisites (curiosity for concepts; Python for code) and emphasizes that examples run on open-source models by default, with a living GitHub repository for up-to-date code. - **Early (~33%)**: Transitions into the conceptual core by anchoring the definition of an AI agent in the classic Russell & Norvig framework: an entity that perceives its environment via sensors and acts via actuators. This chapter maps those abstract terms onto LLM systems—reasoning LLM as the "brain," tools as actuators, multimodal input as sensors—and introduces the central figure used throughout the book. - **Middle (~39%–48%)**: Explores the "brain" of modern agents, starting with how LLMs work and then diving into reasoning models like OpenAI o1 and DeepSeek-R1. It explains the key shift from train-time scaling (bigger models, more data) to inference-time reasoning, where models generate explicit "thoughts" before answering, enabling multi-step problem solving. - **Middle (~52%)**: Continues the reasoning-LLM discussion, showing how these models structure their thinking to tackle complex queries, and notes that in applications like ChatGPT, the reasoning trace is often hidden or summarized while the final answer builds on it. This sets up the subsequent chapters on memory, tools, and planning that complete the agent architecture. 【Key Takeaways】 - **Agents are defined by perception and action** (Middle): Using the Russell & Norvig definition, an agent perceives its environment through sensors and acts via actuators—in LLM terms, this maps to a reasoning model (brain), tools (actuators), and multimodal input (sensors). This framework gives you a stable mental model as the field evolves. - **Reasoning LLMs mark a paradigm shift from scaling to thinking** (Middle): Instead of only scaling model size, data, and compute at training time (which hit a cost ceiling), reasoning models like o1 and DeepSeek-R1 are trained to "think out loud" by generating reasoning tokens before answering. This inference-time compute enables better handling of multi-step problems. - **The reasoning trace is often hidden in practice** (Middle): In applications like ChatGPT, the model's chain of thought is typically summarized or concealed from users, while the final answer is presented as a conclusion. Understanding this helps you know what an agent is actually doing "under the hood" versus what you see. - **The book builds intuition through a single unifying figure** (Middle): A central diagram showing how environment, sensors, actuators, and the agent program connect serves as the scaffolding for all chapters. Each subsequent chapter unpacks one component, so you never lose sight of how the pieces fit together. - **TinyAgent is the hands-on thread for builders** (Early): You build a working Python agent incrementally—reasoning, memory, tools, planning, and reflection—resulting in a package you understand line by line. Code in the book teaches; the repository provides tested, current versions to run. - **The book serves multiple audiences simultaneously** (Early): Developers get working code, ML researchers get model internals and evaluation methodology, and technical leaders can follow the conceptual story purely through illustrations. Each chapter flags which parts to skim based on your role. - **Open-source models are the default for examples** (Early): Most examples run on open-source models to avoid vendor lock-in, with only a few proprietary demonstrations (on free tiers). This makes the book accessible without requiring paid API keys. 【Reading Tips】 - **Skim the code if you're not a developer**: The conceptual narrative is carried entirely by illustrations and explanations; you can skip the Python and still gain a rigorous understanding of agents. Chapters explicitly tell you which sections to skim based on your background. - **Deep-read Chapters 2–3 if you're new to LLMs**: The book claims these cover everything about LLMs and reasoning models that the rest of the book relies on. If you're already familiar, you can move quickly to the agent-specific material in later chapters. - **Use the repository, not the printed code**: The book's code is for teaching, but the GitHub repository is actively maintained with bug fixes and dependency updates. When building TinyAgent, work from the repo to avoid outdated examples. - **Anchor yourself with the central agent figure**: The book repeatedly returns to the same diagram of environment, sensors, actuators, and agent program. If you ever feel lost in later chapters, revisit that figure to see where the current topic fits. - **Treat Part 1 as a complete arc**: The book builds a single agent from brain to memory to tools to planning. Reading Part 1 in order gives you the full anatomy; later parts on multi-agent systems and evaluation build on this foundation. 【Coverage Limits】 The excerpts cover the book's opening, structure, and the foundational definition of agents plus the shift to reasoning LLMs, but do not include detailed content on memory, tools, planning, evaluation, or multi-agent systems. Those later chapters are referenced but not excerpted here.

Passage locations

Excerpt 1
modern AI agents it could make clear through illustrations. Maarten and Jay do an impressive job identifying and explaining the timeless ideas in this fast-m...
View in text
Excerpt 2
y, we say so up front and tell you which parts you can skim. Whether you are encountering agents for the first time or already deploying them in production,...
View in text
Excerpt 3
finding out whether the two of us could write a book at all. This time we knew we could, which meant the only acceptable reason to do it again was to make so...
View in text
Excerpt 4
d will be used throughout to build up the agent. Figure 1-2. Agents operate in regular contact with a user and environment, and use reasoning models, memory,...
View in text

Recommended for You

Loading recommended books...
Failed to load, please try again later

Tip the Site

Scan the WeChat Pay or Alipay code to tip. No login required.

WeChat Pay
Alipay
Back to List