Decomposing Business Goals into Workflows, Agents and Tools
This lesson presents a method for decomposing a business goal, the first step of every multi-agent design: deciding which parts are fixed rules, which need language understanding and judgement, and which are actions on other systems. Good decomposition produces fewer agents, not more.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish deterministic, interpretive and action work within a goal.
- Apply a decomposition method that works backwards from outcomes.
- Identify the differences that justify splitting work into several agents.
Three kinds of work
A business goal contains three kinds of work. Deterministic work follows fixed rules, such as validating a policy number, calculating a refund or checking a date range. It belongs in code, either as a workflow step or inside a tool, because code is cheaper, faster, repeatable and auditable. Judgement work interprets unstructured input or chooses between options in ways that are hard to express as rules, such as reading a complaint and deciding what the customer actually wants. It is the work an agent's model does.
Action and lookup work reads from or writes to other systems: fetching an order, creating a ticket or sending an email. Each becomes a tool with a narrow contract: a name, a description, a typed input schema and a typed output. A workflow is the arrangement of these pieces, with agents placed only where judgement is needed.
The following diagram sorts the work in a goal and arranges it as a workflow.

Code, agent or tool?
A decomposition method
The following sequence turns a goal into a component list. It works backwards from outcomes so that every component has a reason to exist.
- Outcomes: list what must be true when the goal is achieved (claim decided, customer notified, record updated).
- Decisions: list the decisions needed to reach each outcome and classify each as rule-based or judgement-based.
- Inputs and actions: list the data each decision needs and the actions that follow it; each becomes a tool.
- Grouping: group judgement decisions that share instructions, tools, permissions and owners into one agent.
- Flow: connect the pieces into a workflow with explicit hand-offs, loops and human checkpoints.
Working backwards from outcomes
When to split into several agents
A single agent with several tools is the simplest design and should be the starting point. Splitting into several agents is justified by specific differences. Different permissions: a research agent that reads the internet should not hold the credentials of an agent that issues payments. Different instructions that conflict or would make one prompt too long. Different models, such as a reasoning model for planning and a small model for classification. Different owners with separate release cycles. Context size, when a subtask needs a large amount of material that the parent agent does not need to see.
Each additional agent adds latency, tokens, failure points and coordination logic, so the benefit must outweigh that cost. The following table summarizes the trade-off.
| Design | Strengths | Weaknesses |
|---|---|---|
| One agent with tools | Simple, fast, cheap, easy to evaluate | One permission set and prompt for everything |
| Several specialist agents | Least privilege, focused prompts, independent ownership | Coordination overhead, more tokens and latency |
| Workflow with deterministic steps and few agents | Predictable, auditable, efficient | Less flexible for open-ended tasks |
Good reasons to split an agent
Decomposing warranty claims
A manufacturer wants to automate warranty claims. A claim arrives as an email with photos. The serial number must be checked against the warranty database, damage must be assessed from the photos and description, refunds up to 300 USD may be issued automatically, and the customer must receive a reply.
Warranty status is a rule (serial number and purchase date), so it is a tool called from a workflow step. Damage assessment from photos and text is judgement work for an agent with a multimodal model. Issuing a refund is an action tool whose code enforces the 300 USD limit, with larger amounts routed to a human approval step. Writing the reply is judgement work that the same agent can do. One assessment agent plus deterministic steps and two tools meets the goal; separate agents for each step would add cost without adding control.
When should one agent be split into several?
Show answer
Only when parts need different permissions, instructions, models, owners or context. Otherwise one agent with tools is simpler.
Exam Tips
Remember for the exam
- Rules go in code; judgement goes to agents; actions and lookups become tools.
- Start with one agent and split only for different permissions, instructions, models, owners or context.
- Every component should trace back to an outcome or decision.