Tag: pydantic-ai
All the articles with the tag "pydantic-ai".
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.
Agent Graph Engineering, Part 4: The Agent and the Graph
A typed model call and the flow that routes it, taught together because they compose. Why the agent's output type is also your routing table, how a node declares its own legal moves, and what replaces the if/else on an intent classifier.
Agent Graph Engineering, Part 1: The Stack, and Why Each Piece Is There
The stack for building a typed, observable, controllable agent graph: Pydantic AI, LangGraph, chanx, OpenTelemetry, pytest and evals. What each piece buys you, what it costs, the architecture we build across the series, and the full series map.
Agent Graph Engineering, Part 0: I Needed This Before It Had a Name
Years of shipping LLM features as intent detection and nested conditionals, the state machine idea that would not go away, and the library I started building and abandoned before the practice had a name. The story behind this series, and why graphs outlive the frameworks that implement them.