Agentic AI architecture: the loop and what breaks
An agent is a loop with tools and a stopping condition. Context growth, error handling, termination — and when to write a chain instead.
The agent loop and its failure modes, plus designing tool interfaces and MCP servers a model can actually use.
An agent is a loop with tools and a stopping condition. Context growth, error handling, termination — and when to write a chain instead.
Tool calling fails at the interface, not the model. Schema design, descriptions, error contracts, and what MCP actually standardises.
Newsletter
Free essays on learning, Python, and ML — no account required. We’ll only email when there’s something worth reading.