Nothing sent yet.
Chapter 1 of 7
Workflow or agent?
Larkspur’s assistant can look up orders and issue refunds, one request at a time. The support lead hands it whole cases: “this printer arrived cracked, sort it out.”
This chapter: Who should pick the steps for a case: code written in advance, or the model?
About this chapter
You will learn
- The difference between a workflow, where code picks the path, and an agent, where the model does
- Why a workflow is cheaper on a case its authors foresaw
- Why an agent copes when a case takes a turn nobody wrote a step for
Words you’ll meet
- Goal
- What the case should end with, such as “the customer has a working printer and knows it”. It says what, not how.
- Workflow
- A fixed path written in code: the same calls, in the same order, every time. Larkspur’s team calls it the script.
- Agent
- A model that works toward a goal by choosing its own next step, again and again, from what each tool result tells it.
Step 1 of 8
A runs fixed calls in order. An picks its own steps toward a .
Read the case.