Architectures for Building Agentic AI
Sławomir Nowaczyk
TL;DR
The paper argues that reliable agentic and generative AI systems are primarily a matter of architecture, not just model quality. It presents a principled, componentized blueprint—covering goal management, planning, tool routing, execution, memory, verification, safety monitoring, and telemetry—with disciplined interfaces and assurance loops to bound risk. A taxonomy of modern architectures (tool-using, memory-augmented, planning/self-improvement, multi-agent, embodied/web) is analyzed for how each pattern shapes reliability and failure modes, illustrated by a running diagnosis agent. Practical design guidelines (typed schemas, idempotency, permissioning, transactional semantics, memory hygiene, runtime governance, and simulate-before-actuate) provide templates for auditable, safe autonomous systems and set the stage for data coverage, confidence estimation, cybersecurity, monitoring, and governance in subsequent chapters.
Abstract
This chapter argues that the reliability of agentic and generative AI is chiefly an architectural property. We define agentic systems as goal-directed, tool-using decision makers operating in closed loops, and show how reliability emerges from principled componentisation (goal manager, planner, tool-router, executor, memory, verifiers, safety monitor, telemetry), disciplined interfaces (schema-constrained, validated, least-privilege tool calls), and explicit control and assurance loops. Building on classical foundations, we propose a practical taxonomy-tool-using agents, memory-augmented agents, planning and self-improvement agents, multi-agent systems, and embodied or web agents - and analyse how each pattern reshapes the reliability envelope and failure modes. We distil design guidance on typed schemas, idempotency, permissioning, transactional semantics, memory provenance and hygiene, runtime governance (budgets, termination conditions), and simulate-before-actuate safeguards.
