The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
A Field Guide to RAG, Agents, and Beyond
For PMs, presales, and managers who work with AI but don’t write code: how RAG, agents, fine-tuning, compliance, and security actually fit together.
Minimum price
$12.00
$15.00
About the Book
You can follow a conversation about RAG, embeddings, and agents well enough to nod along. Drawing the system on a whiteboard, or saying which part is broken when the answers come back wrong, is another matter.
This is a 67-page field guide that closes that gap. The full text is free to read online at llmknowledge.org. What you get here is the typeset edition: PDF and EPUB. (A Chinese edition is available separately on Gumroad.)
Typography built for reading straight through and for printing. EPUB that goes to a Kindle via Send to Kindle, or to iPad, Kobo, Apple Books. Offline, annotatable, yours. Free updates for life. And it keeps the online version free for everyone else.
One question, followed end to end through a complete LLM system, with every mechanism it passes through explained on the way. The throughline is a working analogy: a secretariat preparing a briefing for an executive. Assignment, archive room, drafting, sign-off, filing.
Every concept follows the same shape: why it is needed, a concrete analogy, then the precise technical definition. No math, no code, nothing skipped.
Not a survey assembled from blog posts. Seven original diagrams, and 49 footnotes linking to primary sources: the ReAct and Self-RAG papers, the PagedAttention paper behind vLLM, the OWASP Top 10 for LLM Applications, NCSC guidance on prompt injection, the CVE record for EchoLeak, and the EMNLP paper showing that fine-tuning on new facts increases hallucination.
If you work on LLM training or inference optimization, this will read as introductory. It is built to connect concepts into a framework, not to serve as a research-grade manual.
Does the EPUB work on Kindle?
Yes. Download it and upload at amazon.com/sendtokindle. Also opens in Apple Books, Kobo, and most e-readers.
Do I get updates?
Yes, free. Every new version appears in your Leanpub library, and major updates come with an email.
Is the Chinese edition a translation?
Both editions were written and revised in parallel, not machine-translated.
Refunds?
60 days, full refund, handled by Leanpub.
Written by koe. The guide grew out of needing to explain these systems to non-engineers repeatedly, and finding nothing that sat between the papers and the hand-waving.
About the Author
I don’t write code, and I came to AI the way many readers of this book will: needing to understand systems that other people build. I learned the fundamentals first, then RAG, then everything that kept turning up around it, and along the way I kept explaining it all to non-engineers.
My working rule is to trust nothing secondhand. Before a claim goes on the page, I trace it back to the paper, the CVE record, or the official documentation. I write in English and Chinese, and I keep both versions of everything in step.
You can reach me at koe@llmknowledge.org.
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
Learn more about writing on Leanpub
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.