Workflows and Agents
In this article
- Explain the difference between a workflow and an agent by asking who picks the next step.
- Mark each transition of a task as code-owned or model-chosen with one test.
- Spot the one step of a support process where a model earns control, and the steps where it does not.
- Terms defined here: workflow.
Overview
A customer types one message into a support chat: the router stopped working, and this month's $35 plan fee was charged twice. Two problems, one message. Somewhere in the program a decision gets made about what happens next: look up the charges, look up the router order, refund, or pass the case to a person. Whether your code or a model makes that decision is the difference between a workflow and an agent, and you choose it one step at a time. This article tests one step at a time and asks where a single model step belongs. Afterwards you can take a task with predictable and messy parts, mark each step as code-owned or model-chosen with a single test, and explain why most steps of a support process should stay in code.
Sign in to keep reading
The rest of this article opens with an account. An account also keeps your progress and quiz results on every device, and lets you follow news for up to five topics.
Still to read in this article
- Who picks the next step
- A workflow with a menu
- One model step in place of the menu
- The per-transition test
- When the workflow stays
- Common mistakes
- Sources
- Check yourself, 13 questions