Home / Blog / Agent fundamentals / AI Agents Book Kindle, Paperback or PDF? How to…

Agent fundamentals

AI Agents Book Kindle, Paperback or PDF? How to Pick Once

AI agents book Kindle, paperback or PDF? How each edition handles diagrams and code, what each gives up, and a free test to run first. See the formats.

By Enrique Gutiérrez · Published · 11 min read

Choosing between the AI agents book Kindle edition, the paperback and the Leanpub PDF comes down to two things: how each file treats diagrams and code, and how you study. A PDF or a printed page keeps the typeset layout exactly. An EPUB or Kindle file reflows to your screen, so your device decides where lines break and how large figures appear.

I wrote AI Agents, Engineered, so read this page knowing that. The comparison of the best books on AI agents makes the case for the book, with my conflict of interest stated. This page assumes you have already picked the book and now face the next question: which edition, so that you buy it once. Everything below comes from how each edition is actually built, and you can check most of it on your own device for free before paying.

What is the difference between fixed and reflowable layout?

A fixed layout is a page whose every line break, figure position and font size was decided when the book was typeset; a reflowable layout is text that the reading software re-paginates to fit your screen and your chosen font size. The PDF and the paperback are fixed. The EPUB and the Kindle edition are reflowable.

The W3C’s EPUB standard puts the trade plainly. “EPUB publications, unlike print books or PDF files, are designed to change. The content flows, or reflows, to fit the screen and to fit the needs of the user” (W3C, EPUB 3.3). The same section concedes the limit: “Sometimes content and design are so intertwined it is not possible to separate them.” Amazon’s publishing help says the content “reflows when an eBook’s text settings are changed.” It adds that “eBooks are reflowable by default” (Amazon KDP).

For a novel the trade costs nothing. For a technical book it costs exactly two things, and they are the two complaints that recur most in forum threads about technical books on e-readers: diagrams that shrink, and code that wraps. Reflow gives you control of the font; the price is that the author loses control of where lines break and how large a figure appears.

How does each edition handle the diagrams?

Each edition carries the same 133 figures (96 diagrams drawn in TikZ, a LaTeX drawing language, and 37 illustrations), but in three different forms: vector in the PDF, raster in the Kindle file, and grayscale ink in the paperback. A vector image is stored as shapes and text, so it stays sharp at any zoom; a raster image is a grid of pixels, so it blurs when enlarged past its resolution.

In the PDF, the Leanpub build script leaves “text and vector diagrams untouched” and compresses only the illustrations, to 300 dots per inch. Zooming into a diagram on a laptop or tablet keeps it sharp.

In the EPUB build (the file behind the Kindle edition), every diagram is converted to an image. The build script’s own note gives the reason: “Kindle’s converter handles SVG poorly,” so each diagram is rendered at 220 dots per inch, and each illustration is scaled to at most 1,000 pixels wide.

As my own illustrative arithmetic: a diagram that spans the printed text width of 4.625 inches comes out about 1,018 pixels wide. The style sheet then scales any image wider than the screen down to fit it. On a narrow screen the whole diagram, labels included, shrinks to the screen’s width. Amazon’s own image guidance recommends that technical diagrams “occupy at least 80% width of the screen” (Amazon KDP image guidelines), which tells you where the pressure falls: on small screens.

The paperback prints in black and white; its print file keeps the diagrams as vector and holds the illustrations at 300 dots per inch. Grayscale was a design target from the start: the diagram style sheet describes itself as “Monochrome (matches the grayscale-friendly image style),” with one accent color “used on exactly one focal element per figure.” In print, that accent becomes a shade of gray.

How do the code listings read in each edition?

The code listings read exactly as typeset in the PDF and the paperback, and wrap to your screen in the Kindle edition. The book holds 19 listings totaling 231 lines, mostly prompts, tool definitions and pseudocode, and the longest line is 76 characters.

In the fixed editions, the listings are set in a small monospace font chosen, in the source’s own comment, so that “code blocks fit the narrow page.” A line never breaks where the author did not break it. In the EPUB build behind the Kindle edition, the style sheet sets code to white-space: pre-wrap, which means a line longer than your screen wraps onto the next line instead of running off the edge. Larger font, more wrapping. The cost is the one a reader on r/kindle described in 2022: a long line “will break into multiple line in awkward positions,” and on a wrapped line you cannot always tell a wrap from a real line break.

One thing no edition loses: none of the listings use syntax coloring, so the grayscale paperback and a black-and-white e-ink screen drop nothing that the color PDF shows.

Which editions can you search, annotate and update?

The PDF, the EPUB and the Kindle edition can all be searched and highlighted in their reading software; the paperback can be annotated with a pen but has no search and no back-of-book index. Updates differ by store. The store’s policy decides who receives them.

The missing index matters more than it sounds. The preface describes two ways to use the book. “Read the parts in order for a grounding, or, once oriented, raid them as a reference; the chapters cross-reference one another and try to stand on their own.” Raiding a 499-page paperback as a reference means working from the table of contents and the Appendix B glossary, with 474 footnotes along the way. In a digital edition, search does that work.

Flipping back and forth differs too. In the PDF, the contents and cross-references are clickable links. The EPUB build behind the Kindle edition keeps footnotes as pop-up notes. On paper you flip by hand, which one r/kindle reader found “just easier with paper” for technical books.

On updates, these are store policies, quoted as they stood when fetched on 6 October 2026; check each store’s current page before relying on them. Leanpub’s help says that whether or not the author emails readers, “you can always download the latest version from your Leanpub library” (Leanpub). Amazon’s KDP help says that “customers who bought your eBook before you changed it keep the original version,” that Amazon sends updates to earlier buyers only for serious quality issues, and that “Sending customers updated content may erase notes or highlights they entered” (Amazon KDP). A paperback is the version printed on the day it was printed.

AI agents book Kindle, paperback or PDF: how do the editions compare?

The table sets the five editions side by side on the properties that differ: diagrams, code, search, annotation and updates. The buttons narrow it to your situation; every row stays in the page with JavaScript off. All facts come from the book’s production files, except the update column, which comes from the stores’ help pages as fetched on 6 October 2026.

Edition Diagrams Code listings Search Annotation Updates Best for
PDF (Leanpub, bought together with the EPUB) 96 diagrams kept as vector, sharp at any zoom; 37 illustrations at 300 dpi Fixed 6 × 9 in page, never re-wrapped Full text; clickable contents and cross-references Your PDF reader’s highlights and notes Download the latest version any time, per Leanpub’s help tablet or laptop, coding along, want updates
EPUB (Leanpub, same purchase as the PDF) Reflowable file; figure size follows your screen, so run the test below Reflowable; your reading app sets the line breaks Full text Your reading app’s highlights Same purchase as the PDF, same policy e-ink reader, want updates
Kindle edition (Amazon) From the EPUB build: all figures as images, diagrams at 220 dpi, illustrations up to 1,000 px wide; caption as alt text Reflowable; long lines wrap at your font size Full text Kindle highlights; Amazon warns updates may erase them Earlier buyers keep their version unless Amazon approves a quality update, per KDP’s help e-ink reader, Amazon library
Paperback (Amazon) Grayscale print; diagrams vector in the print file, illustrations 300 dpi; drawn grayscale-friendly Fixed page, same layout as the PDF None; no index (contents and Appendix B glossary) Pen and paper None: your copy is the printed version paper study
Free online (preface, Part I, glossary) Diagrams as SVG vector graphics The same listings, as web text Built-in search None built in Rebuilt from the book’s sources test first

Two rows deserve a note. The Leanpub purchase is one purchase covering two files, so it puts a reflowable file on the e-ink reader and the fixed-layout PDF on the laptop in one purchase; the Kindle edition reaches a laptop too, but only as the same reflowed file. And the free online part is a test bench: it holds the preface, Chapters 1 and 2, and the glossary, and the rest of the book is not on the site.

How do you pick the right edition once?

You pick once by testing your own device first, then matching the edition to where you will read and whether you need search or updates. Each step below follows from a production fact in the table. Tick what applies to you; the first tick that fits points to your edition.

  • You tested the free Chapter 2 on your reading device and the diagram labels were hard to read. That device needs a larger screen: the PDF on a tablet or laptop, or the paperback.
  • You will type or adapt the listings at a desk as you read. The PDF on a laptop or tablet: unwrapped code, vector diagrams and copy-paste.
  • You read mostly on an e-ink reader and also own a laptop. The Leanpub purchase: the EPUB for the reader, the PDF for the desk.
  • You read only on an e-ink reader and keep your library with Amazon. The Kindle edition, accepting Amazon’s update policy for earlier buyers.
  • You expect to look things up often. Any digital edition; the paperback has no search and no index.
  • You want later revisions to reach you. Leanpub, the only store whose stated policy delivers every new version to earlier buyers.
  • You study with a pen, away from screens. The paperback, knowing it has no search, no index and no updates.

The honest limit of the rule: no single purchase gives you both paper and a digital file. If you want the paperback for study and a searchable copy for lookups, that is two purchases, from two stores.

How do you test the book on your own device first?

Whether you lean toward the AI agents book Kindle edition or the paperback, you test the book by opening the free part of the reader on the exact device you plan to read on, then looking at one diagram and one code listing. It takes about five minutes, and it replaces the forum anecdotes about other books on other devices with evidence about this book on yours.

Go to the section “Structured Output and Function Calling” in Chapter 2, “The Engine”, which is free. It holds a six-line listing whose longest line is 73 characters, within three characters of the book’s longest, and this diagram of function calling, the exchange in which a model asks your code to run a tool:

Function calling, step by step.
Figure 2.5 Function calling, step by step. Your code sends the question and the list of tools; the model replies not with prose but with a structured request to call one; your code runs the real function (in accent, step 3, the only place a side effect happens); the result goes back to the model, which then writes the final answer. The model proposes; your code disposes. Reuse this diagram

Run three checks. First, read every label in the diagram at the zoom you would actually use.

Second, find the 73-character listing at your normal font size and see whether its lines wrap. Third, try finding a phrase you half-remember from the chapter, which is what search will be for later. If you want to keep going, the curve at the end of the chapter has its own compounding error calculator, and the page on how to read the free part of the book online covers the reader itself.

One caveat about the test. The online reader draws diagrams as vector graphics, so it tests your screen size and code width, but not the Kindle file’s raster images. The Leanpub sample is a PDF of the front matter, the preface and Part I, so it tests the PDF edition; no EPUB sample is documented, so for the reflowable files the online test of screen size and code width is the closest check.

What does each edition give up?

Each edition gives up something real, and naming it before you buy is cheaper than discovering it in Chapter 9. The paperback gives up search, an index and updates, and its diagrams are grayscale. The Kindle edition gives up vector diagrams and fixed code lines: its figures are images scaled to your screen, and long lines wrap. The Leanpub EPUB gives up fixed layout, as every reflowable file does, and the PDF in the same purchase covers that.

The PDF gives up reflow: on a small screen, a fixed 6 × 9 in page is either shrunk to fit or panned around while zoomed, and on a small e-ink screen both are slow work. The Kindle edition also inherits Amazon’s update policy for earlier buyers. The free online part gives up most of the book: after Chapter 2 you need an edition.

This page also has limits of its own. I have not tested the EPUB across reading apps, and how an app zooms into images or handles long lines varies. That is why the test above matters more than any table. Store policies change, and the ones quoted here are dated for that reason.

Are you still deciding whether a book on agents is the right next step at all? Then the guide on what to learn first if you are new to agents and the one on AI agents for backend developers are better places to start than a format question.

The takeaway

Test first, then buy for the place you read, whether that ends with the AI agents book Kindle edition, the PDF or the paperback. The free Chapter 2 tells you in about five minutes whether your screen can carry this book’s diagrams and code; the table tells you what each edition gives up; the rule turns the two into one purchase. It is the book’s own habit applied to a shopping decision: trust what you can check.

Start with Part I, free to read online, on the device you will use, then see the formats.

Questions readers ask

Is the Kindle edition of the book DRM-free?
Yes. The Kindle edition is set up with no DRM, and the Leanpub PDF and EPUB files are DRM-free as well. The paperback is paper, so the question does not arise. DRM-free means the file is not locked to one store's reading software.
Do the diagrams survive on an e-ink reader?
In the EPUB build behind the Kindle edition, they arrive as images rendered at 220 dots per inch and scaled down to your screen's width when wider than it, so labels shrink on a small screen. The Leanpub EPUB is a reflowable file too. Test either one first: open the free Chapter 2 on that reader and look at the function-calling diagram. If its labels are hard to read there, choose the PDF on a larger screen or the paperback.
Does the paperback have an index?
No. The paperback has no back-of-book index. You find things through the table of contents, which lists every chapter and section, and through the Appendix B glossary of terms. If you expect to look things up often, a digital edition with full-text search will serve you better.
If I buy on Leanpub, can I still read the book on a Kindle device?
The Leanpub purchase includes an EPUB, and Leanpub's own help pages describe sending EPUB books to Kindle, subject to a file-size limit. That is a store policy, current when fetched on 6 October 2026, so check Leanpub's help page before you rely on it.
Can I get both the paperback and a digital copy in one purchase?
No. Every edition is a separate purchase from a separate store: the PDF and EPUB together on Leanpub, the Kindle edition and the paperback on Amazon. If you want paper for study and a searchable file for lookups, that is two purchases.

Sources

  1. W3C (2026). EPUB 3.3 (W3C Recommendation), section 8.2: Fixed layouts
  2. Amazon Kindle Direct Publishing (n.d., fetched 2026-10-06). Creating Reflowable Books
  3. Amazon Kindle Direct Publishing (n.d., fetched 2026-10-06). Image Guidelines: Reflowable
  4. Amazon Kindle Direct Publishing (n.d., fetched 2026-10-06). How to Send Your Updated eBook to Customers or Yourself
  5. Leanpub (2022). If I buy a book which is in-progress, how does it work? Am I kept current? What about refunds?
  6. Leanpub (2026). A Guide to Buying and Reading Books on Leanpub
  7. Leanpub (2025). How do I get Leanpub books on my Kindle?