← All lessons Reference

Cheat sheet

Workflow vs agent

From lesson 0006. You are writing the program. The model is a function you call.

  1. One callMessages in, text out. Often enough.
  2. WorkflowControl flow is in your source. Predefined path.
  3. AgentYour source is a loop. The model picks the next tool until stop.

Not

Anthropic: both are agentic systems. Start with the simplest program that works. Later rungs: stack choice.