Tag: ai-agents
All the articles with the tag "ai-agents".
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 9: Practices for Both Services
The patterns that make the Django side and the agent side adoptable rather than just readable. Two layers of authorization instead of one, secure-by-default enums, polymorphic events that reach TypeScript as a union, and production-safe settings with dev as the layer that loosens them.
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.