Agent Complete · AGENTING 04 · When Is a Fixed Workflow Enough?
Agent Complete · Foundations and Practice
AGENTING 04 · When Is a Fixed Workflow Enough?
By 401, you’ll be able to recommend a fixed workflow or an agent for a real task and justify your choice with a specific decision the system needs to make.
101 · Understand
The point
A fixed workflow is enough when you can define the steps and the rules for choosing between them in advance. It can check information, branch on the result, and pause for a person.
Why it matters
When colleagues agree on the rules, you can write a test for each case. If the workflow takes an unexpected path, you have a precise rule and an observed result to compare.
See it in action with Google Calendar FreeBusy
A department asks a scheduling app to propose the first shared 30-minute slot next week for three faculty members. The app uses busy ranges from Google Calendar to calculate shared openings. The department can specify what to do when a slot fits, when no slot fits, and when one calendar could not be checked.
Your output. Name one scheduling decision the department can write as a rule before the search runs.
201 · Recognise
The point
A system can choose different next steps by following a decision table. Look at who defined the choice and when.
Why it matters
Episode 03 showed three possible results. Each can have a predefined response, including asking the organiser to decide when a constraint needs to change.
Map the calendar results to rules
| Calendar result | Predefined action |
|---|---|
| All calendars checked. At least one shared opening is 30 minutes or longer. | Propose the earliest eligible 30-minute slot. |
| All calendars checked. The longest shared opening is 20 minutes. | Ask whether to shorten the meeting or widen the search. |
| At least one calendar could not be checked. | Flag the unchecked calendar and ask the organiser to confirm availability. |
Check for calendar errors first. Ranking times only makes sense after the app has verified availability for all three people.
Your output. Explain why asking the organiser can be part of a fixed workflow.
301 · Practise
The point
Test whether your rules produce a useful answer for the cases the workflow must handle.
Why it matters
A rule can look clear until two conditions occur together. A test helps you find out which condition should take priority.
Test three branches on paper or in LangGraph
Reuse your Episode 03 decision table. If you are using LangGraph, a conditional edge can route the result to a predefined branch. Use simulated data for these tests.
- A verified 45-minute shared opening should produce a 30-minute proposal within that opening.
- A verified maximum overlap of 20 minutes should produce a question about changing a constraint.
- Two people show a shared 45-minute opening and the third calendar returns an error. The app should ask for confirmation before proposing a slot as suitable for all three.
Your output. Record each input, which branch ran, and whether it matched the expected action. Explain why the third case must take the error branch.
401 · Apply
The point
Start with the decision the system needs to make. Use a fixed rule when that rule is clear enough to test. Consider an agent when you want the system to interpret context and choose how to proceed within defined limits.
Why it matters
A scheduling app can use fixed rules for verifying availability and proposing valid times. It can bring in an agent for one decision if that decision depends on what the organiser means or values in this particular case.
Apply it to your own workflow
Suppose a workshop brief says, “We need a quick check-in before Friday, but allow enough time if we’re finalising the agenda.” The department may give the organiser a choice, add explicit form fields for urgency and agenda status, or ask an agent to suggest which scheduling constraint to discuss first. In each design, the organiser approves any change to the original constraints.
Your output. Choose one decision from your Episode 03 table. Write its fixed rule if you can. If you would delegate it to an agent, name the context it needs and the action it may take. State which decision stays with a person and give one test that would show your design works.
References
- Anthropic · Building effective agents.
Read the distinction between predefined workflows and agents
that choose their own steps.
https://www.anthropic.com/research/building-effective-agents - LangGraph · Graph API overview.
See conditional edges for implementing the exercise.
https://docs.langchain.com/oss/python/langgraph/graph-api - Google Calendar API · FreeBusy query.
See the busy ranges and calendar-specific errors used in the example.
https://developers.google.com/workspace/calendar/api/v3/reference/freebusy/query

📌 AGENTING 04 · When Is a Fixed Workflow Enough?
ReplyDeleteYour scheduling app finds a 45-minute opening for two faculty members, but it couldn’t check the third person’s calendar. What should the app do next? Could you write that response as a fixed rule?
Try the 401 challenge.** Pick one decision in your own workflow and complete this sentence:
> When ___ happens, the system should ___.
If the rule is clear, give one example that would test it. If the decision depends on context, tell us what an agent would need to know and what you’d keep for a person to decide.