An Illustrated Guide to AI Agents cover
ProgrammingIn Stock

An Illustrated Guide to AI Agents

Concepts and Code for Building Agents with LLMs, Tools, and Memory

by Maarten Grootendorst

Price৳ 450

Choose your print option

Price৳ 450

Have a question? Ask on WhatsApp or Message on Messenger

Call 01963 822422 / 01817 506044 for help with your order

An Illustrated Guide to AI Agents: Concepts and Code for Building Agents with LLMs, Tools, and Memory is a visual, practical book that explains how modern AI agents actually work and shows you how to build them in code. Instead of dense theory, it uses clear diagrams and step-by-step examples to break down how a large language model (LLM) can reason, call tools, remember context, and complete multi-step tasks on its own. If you have used chatbots and want to move to real agents that take actions, this book gives you both the mental model and the working code.

Who is this book for?

This book is written for software developers, AI and machine learning engineers, data scientists, students, and tech professionals who want to build LLM-powered agents. It is also a good fit for technical founders, product managers, and architects who need to understand how agentic systems are designed before they plan or ship one. You should be comfortable reading basic Python, but you do not need prior experience building agents.

What you will learn

The book walks you through the core building blocks of an AI agent, one idea at a time:

  • What an AI agent is and how it differs from a simple chatbot or a single LLM call
  • How large language models work as the "brain" of an agent, including prompting, reasoning, and planning
  • How to give agents tools, such as APIs, search, code execution, and external functions, through tool calling and function calling
  • How agent memory works, including short-term memory, long-term memory, and retrieval of past context
  • How agents plan, break a goal into steps, reflect on results, and correct their own mistakes
  • Common agent architectures and workflow patterns, from single agents to multi-agent collaboration
  • How to connect everything in working Python code so you can build, test, and improve your own agents
  • Practical tips for making agents more reliable, controllable, and easier to debug

Why readers choose this book over other AI agent books

Many AI agent books are either too theoretical or jump straight into code without explaining the reasoning behind it. This guide stands out for three reasons.

  1. Visual learning: Every key concept is explained with illustrations, so complex ideas like tool use, memory, and planning loops become easy to picture and remember.
  2. Concepts plus code: You learn why an agent is designed a certain way and then see the code that makes it work, so you understand the system rather than copying snippets.
  3. Focus on the essentials: It centers on the three pillars of real agents, which are LLMs, tools, and memory, so you build a strong foundation that applies to any framework or model provider.

Because the explanations are visual and beginner-friendly, many readers find it faster to learn from than text-heavy alternatives, while still covering enough depth to be useful on real projects. It works well as a first book on AI agents and as a clear reference you can return to when designing new agent workflows.

Whether you want to build a research assistant, an automation tool, a coding helper, or a customer-support agent, An Illustrated Guide to AI Agents gives you the concepts and the code to turn LLMs into capable, tool-using, memory-aware agents.