← All seven chapters

Part one / The basics

Understand AI agents.

The useful question is what a system can do, what it can access, and where a person stays involved.

A few terms, in plain language

Language model
A model that generates or interprets language from the context it receives. Some models also work with images, audio, or other inputs. Tools and stored information are capabilities of the surrounding application.
Chatbot or assistant
A conversational interface. Depending on the product and permissions, it may answer questions, search information, or use tools. The label alone does not tell you how autonomous it is.
Workflow
A defined sequence of steps. Rules may be enough for a predictable task such as sending an approved reminder. A workflow can include model calls where interpretation is useful.
Agent
A system that uses a model to choose steps and tools toward a goal, inspect results, and adapt what it does next. Its authority should be limited to the task you have agreed.

Further reading: Anthropic’s Building effective agents distinguishes predefined workflows from systems that choose their next steps.

From request to reviewed result

  1. Receive a task. Define the input, expected result, and allowed tools.
  2. Plan and act. Select a step, call an allowed tool, and inspect its result.
  3. Check and revise. Validate output against explicit rules. Retry within a limit or ask for help.
  4. Request approval. Show the proposed consequential action and its supporting evidence to a person.
  5. Deliver and record. Complete the approved action and retain an appropriate audit record.

Reliability is something you build

Memory, logging, and escalation are not guaranteed by the model. Configure them deliberately and test that they work. A model’s stated confidence is not a reliable substitute for validation.

Define stopping conditions for missing information, conflicting records, repeated tool failures, and spending limits. Give the reviewer enough context to make a decision.

See this pattern in ten workflow examples →