zerofish

zerofish

LangGraph in Small Pieces: Building AI Agents from Blocks to Production

Hi all,

Just released my book:

Backstory: after shipping my first customer-facing LangGraph agent for an enterprise security product, I realized how much of the framework I’d never actually touched. So I started writing small runnable examples to poke at each feature, with notes on what surprised me. The examples kept connecting to each other and somewhere along the way it became 31 chapters.

What’s in it:
• Part I is LangGraph on its own, one small piece at a time: state, nodes, edges, loops, checkpoints, interrupts. No LLM yet, on purpose.
• Part II brings in a real model: tool calling, structured output, MCP, memory, streaming, middleware, testing.
• Part III is the production stuff: serving, async, observability, RAG, evaluation, blue-green deploys, guardrails.

Things it’s done a little different from other books:

  1. Every transcript in the book is a real run, pasted as-is, including the times the model did something dumb. And it all runs on a local model by default (Qwen3.8-27B via LM Studio), so you can follow along without an API bill.
  2. Every chapter ends with Bronze/Silver/Gold challenges, worked solutions in the repo: GitHub - LgISP/langgraph-in-small-pieces: Code Repo for LangGraph in Small Pieces · GitHub
  3. It has lots of silly illustrations.

Pinned to langgraph 1.2.14 / langchain-core 1.6.9.

It’s a beta. Every paragraph on the site has a comment button, and there’s an envelope icon in the sidebar that goes straight to me. If something doesn’t run for you, or a chapter answers the wrong question, I want to know. Those are the comments I’ll actually act on.

Hope you like it. Please check it out it’s free online at:

Where Next?

Popular Ai topics Top

ManningBooks
In Build a Reasoning Model (From Scratch), acclaimed ML research engineer Sebastian Raschka takes you inside the black box of reasoning-e...
New
ManningBooks
The bestselling book on Python deep learning, now covering generative AI, Keras 3, PyTorch, and JAX! François Chollet and Matthew ...
New
pragdave
Build robust LLM-powered apps, chatbots, and agents while mastering AI engineering principles that will help you outlast the tools and th...
New
ManningBooks
AI Governance: Secure, privacy-preserving, ethical systems presents a structured playbook for safely harnessing the potential of Generati...
New
ManningBooks
After ChatGPT used RLHF to become production-ready, this foundational technique exploded in popularity. In The RLHF Book, AI expert Natha...
New
ManningBooks
Hugging Face in Action reveals how to get the absolute best out of everything Hugging Face, from accessing state-of-the-art models to bui...
New
ManningBooks
Build AI-Enhanced Web Apps guides you through AI development using only JavaScript and other common web dev skills–no Python or Machine L...
New
ManningBooks
How can you be sure your next AI project is worthwhile before you build it? Look Before You Leap offers a repeatable go/kill/pivot decisi...
New
ManningBooks
AI tools like ChatGPT, Claude Code, and OpenClaw produce impressive results that can be shockingly human-like. But are they really thinki...
New
ManningBooks
AI agents are showing up everywhere—and most of them are being built by trial and error. Agent Design Patterns distills the experience of...
New

Other popular topics Top

Devtalk
Hello Devtalk World! Please let us know a little about who you are and where you’re from :nerd_face:
New
PragmaticBookshelf
Instantly view the changes you make to an app with stateful hot reload, and define a declarative UI in the same language as the app logic...
New
AstonJ
If it’s a mechanical keyboard, which switches do you have? Would you recommend it? Why? What will your next keyboard be? Pics always w...
New
brentjanderson
Bought the Moonlander mechanical keyboard. Cherry Brown MX switches. Arms and wrists have been hurting enough that it’s time I did someth...
New
AstonJ
I ended up cancelling my Moonlander order as I think it’s just going to be a bit too bulky for me. I think the Planck and the Preonic (o...
New
Maartz
Hi folks, I don’t know if I saw this here but, here’s a new programming language, called Roc Reminds me a bit of Elm and thus Haskell. ...
New
PragmaticBookshelf
Rails 7 completely redefines what it means to produce fantastic user experiences and provides a way to achieve all the benefits of single...
New
PragmaticBookshelf
Programming Ruby is the most complete book on Ruby, covering both the language itself and the standard library as well as commonly used t...
New
sir.laksmana_wenk
I’m able to do the “artistic” part of game-development; character designing/modeling, music, environment modeling, etc. However, I don’t...
New
PragmaticBookshelf
A masterclass in the fundamentals and principles of functional programming. Minh Quang Tran The Art of Functional Programming is a ma...
New