Tag: python
All the articles with the tag "python".
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 3: Contracts, Not Conventions
Three services in two languages, and nothing hand-written at the seams. How OpenAPI and AsyncAPI become generated clients, why a Python docstring ends up in your TypeScript, and the form nobody wrote that stops a reviewer approving arguments they were never shown.
Agent Graph Engineering, Part 2: Split the Services, and Know Where the Line Goes
Why the agent graph and the business logic belong in dedicated services, how to draw the line at state ownership rather than at layers, and the bug that taught me the thread a person reads and the thread a model remembers are not the same object.