Tag: langgraph
All the articles with the tag "langgraph".
Agent Graph Engineering, Part 8: Why a WebSocket, and How Progress Streams
Updated:SSE first, because it is usually the right answer, then where it stopped fitting. What chanx does on each side of the socket, what AsyncAPI generates from it, how it sits next to Pydantic AI's streaming and LangGraph's stream writer, the practices worth copying, and what a socket costs you.
Agent Graph Engineering, Part 7: Human in the Loop, Not in the Graph
Human-in-the-loop in LangGraph. What interrupt() gives you, the documented rules it comes with and the one that turns out to be quieter than documented, why a graph that changes every sprint outgrows them, and the design that replaces it: end the run, hand the state back, and route on how far the work got.
Agent Graph Engineering, Part 6: Subgraphs, the Multi-Agent System You Can See
Subgraphs as modules: one responsibility each, their own state, their own agents. A supervisor routing to specialists is a multi-agent system, and building it this way gives you a topology you can export and a span per step instead of a conversation you have to reconstruct.
Agent Graph Engineering, Part 5: Tools and Guardrails
What the model may do, and what it may say. Structured tool errors you raise instead of return, at-most-once execution for actions you cannot undo, and why the guardrail that works is demarcation rather than detection.