Appendix D — Other Agent Frameworks

Thirty chapters of this book built an agent out of a dozen mechanisms, each one by hand: a state, a node, an edge, a loop, a tool, a checkpoint, a pause for a person, a fan-out, a stream, a trace. None of them is LangGraph’s. Every framework that runs a model in a loop has to answer the same dozen questions, and the answers are where the frameworks differ. This appendix is a map of where the better-known ones put theirs, for a reader who now knows the questions. It is not a buyer’s guide — the field moves too fast for one to hold — and it is dated: what follows is the shape of things in the autumn of 2026, with the version lines named where they matter.

D.1 Two families

Hold the whole field at arm’s length and it sorts into two families, by who decides what runs next.

In the graph family you draw the control flow. Nodes or steps are yours, edges are yours, the model is called from inside a node, and the framework’s job is to run the drawing: order the steps, carry the state, save it, resume it. LangGraph is this family’s plainest member. So are CrewAI’s Flows and Google ADK’s workflow agents.

In the loop family the model decides. The framework runs the one loop the book wired by hand in Chapter 13 — call the model, run the tools it asked for, feed the results back, stop when it stops asking — and what you write is everything around that loop: the tools, the instructions, the guardrails, the stop condition, the hooks that run before and after a tool. The OpenAI Agents SDK, the Claude Agent SDK and Genkit’s agents are this family. LangChain’s create_agent is LangGraph’s own member of it (Section 13.5).

The families are not rival camps. Nearly every framework below ships both — a loop agent as the unit, and a graph or workflow to put several of them in — and the question a framework really answers is which one it treats as the ground floor. This book’s answer was the graph: the loop is a graph with a cycle in it (Chapter 6), and once you have seen it drawn you can read any loop agent as a two-node graph with an opinionated edge. Reading the others with that in mind is the point of what follows.

D.2 Where each mechanism lands

The table is the appendix in one screen: the book’s mechanisms down the side, and for each, how the two families tend to spell it. The sections after it take the frameworks one at a time.

One mechanism, two spellings.
The book’s mechanism Graph family Loop family
State (Chapter 3, Chapter 14) a typed object the steps read and return pieces of the message history, plus a session or context object
A step (Chapter 4) a node, step or executor you write a tool the model may call
Control flow (Chapter 5, Chapter 6) edges, routers, loop agents the model’s next tool call; a step limit as the fence
Pause for a person (Chapter 9) suspend the step, resume with a payload a tool flagged as needing approval; the run returns the pending call
Persist and resume (Chapter 8) checkpoints at step boundaries a session store
Parallel work (Chapter 10) parallel steps joined by the framework several tool calls in one turn, or sub-agents run at once
Many agents (Chapter 16) agents as nodes in a workflow hand-offs, or agents offered as tools
Middleware (Chapter 19) before/after callbacks on steps hooks around model and tool calls
Streaming (Chapter 18) events per step tokens and tool events as they happen
Tracing (Chapter 24) spans per step, OpenTelemetry one trace per run, usually to the vendor’s dashboard

D.3 Genkit

Genkit is Google’s framework for the whole application, not just the agent: it has official SDKs for TypeScript, Go, Python and Dart, and it comes with a developer UI that lists every model call and lets you run any piece in isolation. Its unit is the flow — a named, typed, traced function that chains model calls and tools, callable in-process, runnable from the UI, and exposable as an HTTP endpoint without a server file of your own. A flow is what Chapter 22 built around a compiled graph, made the starting point rather than the last step.

Its answer to Chapter 9 is the sharpest in the field. An interrupt in Genkit is a tool: a tool the model calls, which instead of running stops the generate-and-call loop and hands the pending call back to you. You resume by supplying the tool’s result, and the runtime checks the resume payload against the session’s own history, so a tool cannot be tricked into running with a forged input. The book’s interrupt() lives in a node and pauses the whole graph; Genkit’s lives in a tool and pauses the model’s turn. Both come back to the same discipline — what you resume with is the answer.

The newer Agents API (a preview in TypeScript and Go in mid-2026, Python to follow) puts a chat() call over that loop, with sessions stored server-side or carried by the client, and detached turns: start an agent’s turn, hang up, and poll a snapshot it keeps writing as it works. That is Chapter 22’s background job, built in.

D.4 Google ADK

The Agent Development Kit is Google’s other framework, aimed squarely at agents, and it is the graph family wearing the loop family’s clothes. The unit is an LlmAgent — a model, instructions, tools, and the loop. What makes it a graph is the set of workflow agents that contain other agents: SequentialAgent runs its children in order, ParallelAgent at once, LoopAgent until a child says stop. Those three are Chapter 4, Chapter 10 and Chapter 6 as classes, and nesting them is Chapter 11.

State is a session’s dictionary, shared by every agent in one invocation. An agent writes to it by naming an output_key, and the next reads it — the book’s channels, with the reducer question (Chapter 10) answered by last-write-wins. Callbacks before and after an agent, a model call or a tool are the middleware of Chapter 19, as hooks on a class rather than a stack of wrappers.

D.5 OpenAI Agents SDK

The Agents SDK (with a TypeScript twin) is the loop family at its most compact: an Agent (instructions, tools, a model), a Runner that runs the loop, and three things to put around it. Handoffs are how one agent passes the conversation to another — implemented as a tool call, so the model chooses, and the trace shows the choice. The resemblance to Chapter 16 stops at the choosing: a handoff transfers control and does not promise to hand it back, whereas the book’s workers report to the supervisor and the supervisor continues — the SDK’s agents as tools shape, not its handoff. Guardrails check the input, before or alongside the agent’s first step, and the output, once the agent has produced its final answer, and trip the run when a check fails — Chapter 21’s fences, attached to the run rather than to a node. (An input check that runs alongside the agent does not wait for its tools, so a side effect can land before the check trips.) Sessions keep the history between runs, which is Chapter 17’s thread.

Tracing is on by default and goes to OpenAI’s dashboard, with exporters for other backends. The SDK is what Swarm, OpenAI’s earlier experiment, grew into; if you meet code that imports swarm, read it as this.

D.6 Claude Agent SDK

Anthropic’s SDK is a different kind of thing: the harness of Claude Code (its agent loop, its built-in file and shell tools, its permission system, its sub-agents and its MCP client) as a library you run in your own process. The entry point is query(prompt, options), which returns the loop’s messages as an async iterator; the loop itself is not yours to draw. What is yours are hooks — PreToolUse, PostToolUse, Stop, SessionStart and the rest — which is Chapter 19 as named lifecycle events, and the tool set, which may be custom tools or MCP servers (Chapter 25).

The reason to read it alongside this book is the next book’s subject. A coding agent is where the loop family’s bet — give the model the tools and the fence, and let it drive — is most convincing, and LangGraph in the Wild builds one as a graph precisely to see what the bet costs and buys.

D.7 CrewAI

CrewAI has two layers with two vocabularies. A Crew is a set of agents with roles, goals and backstories, given tasks, and run by a process — a supervisor (Chapter 16) with a casting-call’s vocabulary, and the reason the framework is quick to start with. A Flow is the graph: methods decorated @start, @listen and @router, sharing one state object that each method reads and updates. @persist saves that state to a store so a flow can resume after a crash or a wait, and @human_feedback pauses a method for a person’s answer, state kept while it waits. That is Chapter 8 and Chapter 9 as decorators, and the recommended shape — a Flow at the top, Crews for the steps that need autonomy — is the book’s: deterministic edges on the outside, the model’s judgement inside a node.

D.8 How to choose

Not by feature list. Every framework above has a tool loop, a pause, a session, a trace, and the ones that lacked something this year will have it next year. Choose by the three things that do not change.

Who decides what runs next. If the work is a procedure (fetch, check, transform, ask, write) with the model needed at two or three of the steps, you want the graph family: draw the procedure, call the model inside the nodes that need it, and keep the edges deterministic. LangGraph, ADK’s workflow agents and CrewAI’s Flows are that. If the work is open-ended — a task the model has to figure out, with a dozen tools it may use in any order — you want the loop family, and the choice is mostly which loop you trust with your tools: the OpenAI or Claude SDK if you have already chosen that model, Genkit if the loop must live inside a larger application. The book’s own position is that the second kind of work is usually the first kind with the procedure not yet written down, which is why it taught the graph.

Where you are already standing. The frameworks with a vendor behind them are best where that vendor is: the OpenAI and Claude SDKs trace to their own dashboards and lean on their own models’ tool-calling; Genkit and ADK deploy to Google’s cloud in one step. LangGraph and CrewAI are the ones that assume nothing about the model or the host. If you can name the model and the cloud today and will not change them, take the vendor’s SDK and the integration that comes with it. If you cannot, or the model is local (Appendix A), do not.

What you will need to see when it breaks. This is the one most teams weigh last and regret first. A graph shows you the step that failed and the state it failed with (Chapter 26); a loop shows you the model’s transcript and leaves you to work out which turn went wrong. Everything in Chapter 24 and Chapter 20 was easier because there was a graph to point at. Whatever you pick, pick it with the checkpoint and the trace in front of you, not the quick-start.

If after all that it is a coin toss, the book’s advice is the smallest thing that runs: a loop agent is twenty lines in any of these, and a graph is not much more. Build the piece you are least sure of in two of them and keep the one whose failure you could read.