← Chapter 51. Agent frameworks compared
One support task, four builds
Swipe to change step
Step 1 of 6. One support task: a customer asks where their refund is, and it may need a refund that a person approves. Here it is built four ways. Support task (where is my refund? may need a refund), highlighted. Claude Agent SDK (loop, built-in tools, hooks, sessions). Graph framework (nodes, edges, shared state). Conversation-style (roles that talk, a manager). Plain loop (a few dozen lines of your code).
Keys: → or J next, ← or K back, Home and End jump, Space toggles auto-play when the diagram has focus.