Track 03 · Agents & toolsLesson 02 of 12
Agent or workflow? Choosing the autonomy level
Most use cases want a fixed workflow with one model call. Know when they don't.
- The FDE path · Stage 4 of 6
- 35 min read
- 45 min hands-on
- Pro
What you'll be able to do
01- Distinguish a workflow from an agent using an operational test (who chooses the next step?) and place any design on the pattern spectrum from single call to autonomous agent.
- Choose an architecture for a use case by scoring it on predictability, auditability, latency, cost and failure blast radius, and explain the choice to a customer.
- Design a determinism boundary: where model proposals become validated, policy-checked actions executed by deterministic code.
- Classify each action in a system on a six-level autonomy ladder and justify the level in an architecture review.
- Defend a "workflow with one model call" design against pressure to make it "fully agentic", with numbers.
Before you start
- The agent loop, written by hand: what an agent loop costs per step.
- ReAct, chain of thought and reflection in practice: the reasoning patterns an agent uses.
- Typed output: schemas, validation and tool calls: typed model outputs, which make deterministic enforcement possible.
- Basic familiarity with workflow engines or state machines (a CI pipeline counts).
The short version
A workflow is a system where your code decides the sequence of steps and models fill in some of them. An agent is a system where the model decides the next step and which tools to use. Between the two sits a spectrum of patterns: a single model call, prompt chaining, routing, parallelisation, orchestrator-workers, evaluator-optimiser and the autonomous agent. Each step towards autonomy buys flexibility and pays for it in predictability, auditability, latency, cost and the size of the blast radius when something goes wrong. In most enterprise processes the steps are already known, the rules are already written down, and the genuinely uncertain part is one judgement: classify this, extract that, summarise the rest. That is a deterministic workflow with one model call. Where you do use agentic steps, the model proposes and deterministic code enforces.
Key takeaways:
- The operational test: if the model can change what happens next, that part is agentic. If code decides, it is a workflow.
- Start with the simplest design that meets the acceptance criteria and add autonomy only when evals show it helps.
- The determinism boundary is the most important line in your architecture diagram. Draw it explicitly.
- Autonomy is set per action, not per system. Read tools and write tools sit at different levels.
- Hybrids are normal: a workflow with an agentic step, or an agent whose proposals flow into a deterministic executor.
Pro lesson
The rest of this lesson is in Pro.
The mental model, worked example, field note, failure table, exercise and self-check, with the voice tutor.
Pro opens this stage
Stage 4 · Agents that act safely- 7 lessons, with the voice tutor
- Lab · Find the intake agent's failed writes, graded here
Also in Pro
- Every stage and specialisation, in full
- Every lab and every role project
- Halden weeks 2–10, on your record
- Every drill, live in the playground
- All solutions, plus the server judge
- Lab Assistant and every Teach with AI