Lesson 3 of 8 · 3 min read
Explicit State Graphs
An explicit state graph makes an agent's process a data structure: nodes do work (code, a model call, a small ReAct loop, a human), edges say what may follow what, and guards decide transitions that must follow rules. The model may choose among the edges a node allows, never invent new ones. Graphs give checkpoints at every node, natural places for human approval, and a process that can be tested transition by transition and audited afterwards. They cost flexibility, so the craft is deciding which parts are fixed and which are left to the model.
free sign-in, no card required
Practise it as an interviewer asks it
What is an AI agent? Explain how it differs from a chatbot and from a workflow that happens to call a model.What is ReAct, and when should an agent plan first instead of reacting one step at a time?ReAct, plan-and-execute, or an explicit state graph: pick one for a refund workflow.When would you ship a fixed workflow instead of an agent?A plan-and-execute agent keeps running an obsolete plan after the world changes. Fix it.What runs inside a durable workflow and what must run as an activity?