Agent foundations · about 20 minutes of study

Workflow vs agent

A workflow follows application-defined steps; an agent lets a model choose some next actions based on observations. Both need limits and reliable application controls.

Before you start: Review Evidence-grounded abstention first. Python-like examples use variables, lists and functions.

Guided concept walkthrough

Follow the mechanism

Task shape

Identify predictable and variable work.

1 / 4

A conceptual animation, not a live model trace. Play advances every five seconds and stops at the final stage.

Start with an everyday explanation

A recipe follows a fixed plan. A cook adapting to missing ingredients chooses a new step, but still follows food-safety rules and a budget.

See a concrete example

Invoice validation with a fixed schema may fit a workflow. Research with unknown evidence gaps may need bounded model-selected lookups.

A claim to question

An agent is not automatically more capable or useful than a workflow.

Try before revealing the answer

Choose an architecture for a known three-step form submission and for an open-ended document investigation.

Show the worked answer

Use explicit validation and submission steps for the form. For investigation, allow bounded read-only search choices, track evidence and require approval for external actions.

Now explain the idea to someone else using your own example. If you cannot explain a stage, revisit it before moving on.

Your explanation and revision notes

Loading local notes…

Read the primary reference

Building effective agents

The explanation and exercises are original teaching material. The linked source provides background; examples and assumed numbers here are not claims about a particular company.