An illustrated guide to AI agents

Peanut learns
to agent.

AI agents and the systems around them, explained with a peanut.

Aishwarya Ashok (& agentic teammates)

Peanut and its teammates in a workshop with tools, memory files, a model machine and a review desk.
A small peanut. A lot to figure out.

The complete book

Choose your edition.

All 12 chapters. All 119 concepts. Peanut included.

Direct from Aish

PDF + EPUB.

A PDF that preserves the illustrated layout, plus an EPUB with adjustable text.

Get PDF + EPUB

US$10 + applicable tax · One-time payment.

About the download

The PDF comes in a ZIP download; unzip it to read the book. Open the EPUB in your preferred ebook app. Both include linked contents and a concept index.

12 chapters · 119 concepts

What’s inside the book

Think of this as an illustrated, dictionary-style handbook about AI agents. Each entry pairs a Peanut drawing with a short explanation of a term and what it means in practice.

The chapters cover models and agents, the tools and information they use, and what it takes to build and run them. Read a chapter for the bigger picture, browse a topic, or look up a term when you need it.

Who this book is for

For anyone learning about AI agents, building with them, or working with a team that does. You don’t need a coding background to read it.

What you’ll take away

A worked example follows one replacement order through four stages, showing how ideas from across the book fit together. A closing system map and checklist help you connect the concepts and review an agent’s workflow.

A place to begin

AI model, chatbot, and agent: what’s the difference?

These terms describe different parts of a system. A language model can sit behind a chatbot, an agent, or both.

The language model

The model generates a response from the input it receives. That response might be text or a proposed tool call. Naming a tool does not make the action happen; software has to run it.

The chatbot

A chatbot gives you a conversation: you send a message and get a reply. Behind that interface there may be a model, a predefined workflow, or an agent. The chat window alone does not tell you how the work is done.

The AI agent

An agent system uses a model to choose actions toward a goal. The surrounding software runs permitted actions and returns the results, giving the model information for its next decision.

Peanut inspects a wobbling chair, pushes an orange shim under one leg, and presses the seat again to check the repair.
You asked for a steady chair. Peanut worked out the steps.

Peanut represents the whole agent system here, choosing a repair, using a tool, and checking the result.

Give Peanut a wobbly chair. The model can suggest a repair; a chat interface lets you discuss it. An agent system can use tools, check the result, and decide whether another step is needed. The application sets the permissions and any required approvals.

Read the complete AI agent entry →

Inside the complete book

The chapters

The sample below spans six concepts. The complete edition contains all 12 chapters and a connected worked example.

  1. 01Models and agents
  2. 02The agent’s environment
  3. 03Instructions, context, and memory
  4. 04Tools, connections, and computer use
  5. 05Planning and collaboration
  6. 06Retrieval and grounding
  7. 07Reliability, permissions, and safety
  8. 08Evaluation, tracing, and cost
  9. 09Customers, workflows, and constraints
  10. 10Building and proving value
  11. 11Production and operations
  12. 12Adoption and reusable products

A few pages to start with

Meet Peanut.

Six complete entries, with illustrations, explanations, and notes on what Peanut represents in each drawing.

Read the sample from the beginning →

Before you choose

Questions about the book

Can I understand AI agents without knowing how to code?

Yes. The book explains the vocabulary, the parts of an agent system, and the decisions behind its behavior. You can follow the illustrations and explanations without writing code.

Is this a coding tutorial or a reference handbook?

It is an illustrated, dictionary-style reference. Read the chapters in order or use the concept index to look up a term. A connected example follows one replacement order through four stages. The book does not include runnable code or a programming project.

Will it help me work with a team building AI agents?

It is written for product managers, designers, founders, students, and engineers getting familiar with agents. It helps you understand conversations about tools, memory, retrieval, approvals, evaluation, cost, and the workflow an agent serves.

Is Peanut learns to agent a children’s book?

Peanut makes a technical subject approachable. This handbook is written for readers learning about AI agents in product and engineering work; it is not a children’s storybook.

Can I see the illustrations and explanations before buying?

The free sample contains six complete entries: language models, AI agents, tool use, RAG, guardrails, and agent evaluations. Each includes the drawing, explanation, and a note on what Peanut represents.

Explore the free sample →

Should I choose Kindle or the PDF + EPUB edition?

Choose Kindle if you prefer reading in your Kindle library, on a Kindle device or in the Kindle app. The direct download includes a PDF that preserves the designed pages and a reflowable EPUB with adjustable text. Both direct formats have linked contents and a concept index.

Choose your edition →