Agentic workflows
State machines, graphs, multi-agent systems and MCP
Move beyond single agents. Build graph-based workflows, multi-agent systems, planning pipelines, human-in-the-loop checkpoints, and integrate tools via MCP.
Step 1 of 4
Workflow graphs
Model the process as a graph of states and transitions, so the control flow is explicit and inspectable rather than hidden inside one prompt.
More agents mean more to coordinate, so structure and checkpoints matter more than cleverness.
Who this series is for
This series follows Building AI agents. It is for engineers whose single agent has become too unpredictable to trust with a multi-step business process. The central idea is that most production agentic systems are mostly deterministic workflows with a few carefully placed model decisions, not fully autonomous agents.
What each chapter covers
- Workflow graphs covers modelling a process as explicit states and transitions, so each step is testable, resumable after a failure, and observable.
- Multi-agent systems covers when splitting work across specialised agents genuinely helps, when it only multiplies cost and failure points, and how to coordinate agents that do need to cooperate.
- Model Context Protocol (MCP) covers exposing tools and data sources through a standard interface, so the same integrations work across different models and clients.
How to approach it
Pick a real process with at least one point where a human should approve something, and model it as a graph before writing any code. Most of the design value comes from deciding which steps should not involve a model at all.
Skills you'll gain
Prerequisites
Chapters
State machines and graphs for deterministic-agentic orchestration. When to graph vs free-loop.
Orchestrator + specialist agents: divide labour, parallelise, synthesise.
A standard protocol for connecting agents to tool ecosystems. Servers, clients, capabilities.