By Abhijith N M · Reviewed 24 October 2026 · Editorial standards
A logistics firm asks for a self-organising agent team to process supplier invoices. The task is fixed. Read the invoice, match it to a purchase order, check the tolerance, route over-band items for approval, record the result. The steps are known, the order is audited and exceptions are rare.
The proposal has a coordinator and seven specialist agents. It costs about six times more per invoice and takes four times longer. In a two-week evaluation it scored one point above a fixed workflow on a 300-invoice set. The sponsor still wants the crew, because it sounds like the future.
In this lesson you will choose among workflow, agentic, augmented-LLM and Skills-based designs, and justify the choice against reuse, governance and risk.
Each pattern answers a different question. Choosing a pattern means deciding which of those questions you can answer with evidence.
| Pattern | The question it answers | What it costs you | Choose it when |
|---|---|---|---|
| Augmented LLM | Can one call with the right context do this? | Prompt and context design | The task is bounded and one pass is enough |
| Workflow | Can I enumerate the steps and the branches? | You own every branch and its test | The order is known and must be auditable |
| Agentic | Does the path only emerge at runtime? | Tokens, latency, non-determinism, harder recovery | The next step depends on what the last step found |
| Skills-based | Is the procedure stable and reused by people? | Content ownership and versioning | Many teams run one procedure with local rules |
Skills is a packaging pattern, not a control-flow pattern. A Skill packages instructions, scripts and reference files that Claude loads when a task calls for them. It changes how procedure knowledge reaches the model. It does not decide whether your system is a workflow or an agent, because a Skill runs inside whichever runtime you already chose.
The cheapest design that satisfies the constraint wins. Work up the ladder below and stop at the first rung that passes your evaluation.
Ask one question: when an auditor asks why this invoice was routed to a manager, can you point at a step? A workflow can. The branch is code, the inputs are logged and a test covers the branch. An agent can answer too, but the evidence is a transcript of decisions you did not design.
Determinism is the second half of the test. The same invoice should take the same path. An agent may take a different path on Tuesday because a tool listed results in a different order. That variation is a feature for open-ended research and a defect for an audited process.
Three constraints decide more pattern choices than model quality does. Name them in the design document, because each one is a stakeholder's reason to reject the design.
| Constraint | What it looks like | Where it pushes you |
|---|---|---|
| Reuse | Six business units run the same review with local rules | One workflow with shared steps, plus Skills or a shared prompt pack for the local rules |
| Governance | A decision needs approval, an audit trail and a named owner | Workflow with explicit human stages and a recorded branch reason |
| Risk | An action moves money or changes a record | Code owns the side effect; Claude proposes, code validates, a person releases above the band |
| Cost | Value per case is small and volume is high | The narrowest pattern, because the agentic cost is paid per case |
Agentic fits when the next step depends on what the last step found, and when value per case pays for exploration. Incident triage, fraud investigation and root-cause analysis fit. A fixed invoice checklist does not.
If you choose agentic, add three controls in the same design: a step budget, a stop condition and a fallback. The budget bounds cost, the stop condition bounds time, and the fallback decides what happens when the budget runs out. That fallback is usually a partial answer plus an escalation.
For each scenario, name the pattern, the constraint that decides it, and the evidence you would demand before signing.
Definition of done: three lines, each naming a pattern, one constraint and one piece of evidence. If two scenarios get the same pattern, check whether you are reading the constraint or the vocabulary.
Key takeaways
Each pattern answers one question; choose the pattern whose question you can answer with evidence.
Start at the narrowest pattern and stop at the first that passes.
A workflow gives an auditor a branch to point at; an agent gives a transcript.
Skills packages procedure knowledge and composes with any runtime; it is not a control-flow choice.
Reuse, governance, risk and cost move the boundary more than model quality does.
If you choose agentic, design the budget, the stop condition and the fallback in the same pass.
Written and edited by the nexGenCoders team. Spotted a mistake? Tell us and we will fix it.
Don't lose this lesson
Create a free account to save your progress, keep your streak, and work toward a shareable certificate.