“Where is my order?” sounds like one question. A reliable answer may require understanding the request, asking for an order number, reading an approved source, and sending an exception to an employee. That is where a team of agents can help: distinct roles pass a well-defined task between them, with clear data boundaries and decision rights.
Start with the work, not the number of agents or a platform choice. Ask what a single agent or simpler automated path cannot complete and verify reliably. Microsoft’s agent orchestration guidance recommends using the least complex architecture that meets the requirements, because multi-agent coordination adds latency, overhead, and failure modes. The order example below is illustrative; it does not imply that Faltara already connects to a particular order system.
What is a multi-agent system?
An agent handles a defined task and may select from a set of permitted tools based on the request and context. A team coordinates several roles toward one outcome. Rules say who starts, when work moves, and who owns a decision when the flow cannot continue.
| Building block | What it does | Customer service example |
|---|---|---|
| Tool | Performs one operation when called | A lookup returns the status for a known order number |
| Workflow | Defines steps or conditions | If required details are present, run a read-only lookup |
| Agent | Understands a request and chooses an allowed action | Distinguishes a delivery question from a cancellation request |
| Agent team | Coordinates multiple specialties on one task | Intake, order lookup, and human exception review |
Several tools do not automatically make a system multi-agent. One agent with narrow access may be enough. When every step is known in advance, a conventional workflow may be easier to inspect and test. Microsoft describes these choices as a spectrum from a direct model call to a single agent and then multi-agent orchestration.
When is one agent enough, and when is a team justified?
Write the outcome in a testable form: “A customer provides an order number and receives a status from the approved system, or gets a clear explanation of why it could not be checked and what happens next.” Then compare the options.
| Situation | A sensible starting point | Why |
|---|---|---|
| Stable questions about hours or policy | Approved knowledge with a constrained response | No task handoff is needed |
| One question needs one source lookup | One agent with limited read access | A dynamic step, narrow scope |
| Known paths such as order status or return policy | Explicit routing or a simple workflow | Known rules are easier to verify |
| Work crosses systems and permission boundaries | Specialist roles with orchestration | Each role can receive only the access it needs |
| An exception requires judgment outside the system’s authority | Human review or approval | A person owns the decision |
A team is justified when separation solves a real problem: customer service should not see finance data, an order role needs read-only access, or unusual cases must reach a staff member. It can also help when the request’s specialty only becomes clear after initial triage. Splitting a short task among several agents that share the same tools and context usually creates more places for the process to fail without a clear benefit.
Do not confuse multiple roles with parallel execution. Use a sequence when later steps depend on earlier ones; use a handoff when another specialty becomes relevant; use parallel work only for independent tasks whose results can be combined. Microsoft documents sequential, concurrent, and handoff patterns; the work should determine the pattern, not the appeal of a particular architecture.
Define the task and decision owner
“Build a customer service team” is not a sufficient specification. Define three things before writing agent instructions:
- Desired outcome: for example, return an order status from an approved source or deliver a documented exception to the operations team.
- Permitted actions: perhaps read a status or explain a documented shipping policy. Include any additional action only if it exists and is authorized.
- Stop conditions: missing information, an untrusted result, a system failure, or a decision that requires approval.
Define what success means on each path. A successful lookup means the system returned a matching record and the response uses its status. “No matching record” is different from “the system could not be reached.” One is a search result; the other is a technical failure. The agent should not describe both as if the order does not exist.
Choose a source of truth and a decision owner when information conflicts. If an agent’s summary says “delivered” while the approved order record says “in transit,” use the operational record chosen by the business. If the conflict remains or signals an exception, define who owns it and how it is escalated.
Assign roles, inputs, and permissions
The example can start with two automated roles and one human path:
- Customer service agent: classifies intent, asks for missing information, and explains the result using only details approved for customer display.
- Order agent: looks up one record after access checks and returns structured fields such as match status, order state, and available update time.
- Staff member: reviews out-of-scope cases and makes decisions or takes actions that require human authority.
Each role does not need the entire conversation or broad system access. Pass only the necessary fields, then define each role’s inputs, output, tool, and completion condition. The order role might return “matching record found; status: in transit; last updated: [time from source].” It should not invent an estimated arrival date the system did not provide.
Visual 1: Role and permission map
Roles and permission boundaries
A sample access map for the order-status task
Reads the request · asks for missing details · replies
Read-only access to the verified order status
Owns exceptions · approves actions when authorized
The diagram shows who can read, perform a lookup, approve, or escalate. In this example, no agent can cancel an order or issue a refund; those actions require a separately defined role and authorization.
| Role | Reads | Does | Does not do in this example |
|---|---|---|---|
| Customer service | Customer message and approved display fields | Ask a clarifying question and draft a reply | Edit the order record |
| Order agent | Required fields after access checks | Read-only lookup | Cancel an order or change its address |
| Staff member | Case summary and fields needed for review | Decide an authorized action and record the outcome | Rely on an undocumented guess |
Written instructions are not an access-control boundary. Identity, connector, tool, and source system must enforce permissions; a prompt that says “do not change orders” cannot do that by itself. OWASP’s Excessive Agency guidance warns about unnecessary functionality, permissions, and autonomy. Put an approval gate in the actual execution path for sensitive actions, and retain enough audit detail to understand which tool was called, with what inputs, and what result it returned.
Design handoffs before writing dialogue
The useful question is not just “Which agent speaks next?” It is “What must the next role know to continue without asking the customer again or stepping outside its scope?”
Use a small handoff contract: request type, verified identifier, verification result, essential fields, completed work, and the next requested step. Validate the previous role’s output before another role relies on it, and avoid forwarding extra personal information by default. If the next role cannot continue, prevent the task from bouncing indefinitely. Set a retry limit, a clear failure response, and a named owner for escalation.
Define ownership explicitly: who starts the task? Who owns it while the system or staff member is responding? When does the response go back to the customer? What happens if the system times out? These rules prevent requests from falling between roles.
Retries and duplicate actions
Repeating a read-only status lookup is usually less consequential than repeating an action that changes data. Distinguish a safe-to-repeat query from an action that could create duplicate effects. Before retrying an action, check whether the previous attempt succeeded; use a stable request identifier or idempotency support if the source system offers it. Do not assume every API provides that protection: confirm it with the system owner. If the result cannot be verified, route the case for review instead of retrying blindly.
Follow one request from message to answer
Suppose a customer asks, “Where is order 4821?” This is an illustrative path that assumes an authorized order system is available:
- Customer service recognizes a shipment-status question, not a cancellation request.
- The flow checks that the information required by the company’s policy is present. If it is missing, it asks for clarification instead of querying with an ambiguous identifier.
- It passes only the necessary fields to the order role in a structured handoff.
- The order role runs an authorized read-only lookup and checks that the result belongs to the correct record.
- It returns the status and update time as provided by the source. Customer service explains the result without adding an unsupported prediction.
- If the record signals an exception, the flow sends a summary to the responsible staff member and tells the customer what will happen next, according to policy.
Visual 2: Lookup and exception workflow
Order-status request and exception path
The normal path stays short; exceptions have an explicit owner.
- 01Customer asks about an order
- 02Customer service checks required details
- 03Order role performs authorized lookup
- 04Reply from verified status
Exception paths
- Missing details → ask the customer
- Lookup fails → explain and route
- Exception or approval → staff review
The flow does not invent a status when the order number is missing or the source is unavailable. Missing data prompts a clarification; a source outage is reported as an inability to verify; an operational exception or approval need goes to a staff member with a clear owner.
For an action that needs approval, such as changing an address or canceling an order, stop at an approval gate. Do not turn an agent’s suggestion into an action. After a person decides, record the outcome and tell the customer what actually happened. If the lookup fails, do not retry indefinitely: policy may allow one bounded read retry, then the system should explain the issue and route it to a person. If several records match, ask for another verification detail and do not reveal information from any record until the customer’s relationship is established.
Test the team as one system
Testing each agent in isolation does not prove that ownership and handoffs work. Test from the first message through the visible outcome, including the failure paths:
| Test | What to verify |
|---|---|
| Clear request and valid number | Answer matches the record and update time |
| Missing or ambiguous number | The flow asks; it does not guess |
| API outage or timeout | Failure is not reported as an order that does not exist |
| Conflicting outputs | Source of truth and escalation are defined |
| Repeated message or resumed task | Reads are safe and actions are not blindly duplicated |
| Tool or record outside a role’s authority | The source system rejects access, even if the model requests it |
| Approval-required case | No action occurs before approval, and the decision is recorded |
| Failed handoff or unowned case | The process stops safely and exposes a follow-up path |
For every test, write the expected result and source of truth. Rerun the suite after changing instructions, tools, or permissions: a new tool can change what an agent is capable of even when its prompt stays the same. NIST’s Generative AI Risk Management Framework Profile frames evaluation and risk management as lifecycle work, not a one-time launch checklist.
Monitor a narrow pilot before expanding
Start with one request type, one data source, and a low-risk read action. Keep the normal staff path available for cases outside the pilot and have the operations team review a sample of answers and escalations. Do not expand simply because the conversation sounds polished. Ask whether the correct record was found, whether the customer understood what would happen, whether an escalation was delayed, and whether any unexpected access occurred.
Track practical measures tied to the flow: cases that ended with a verified result, lookup failures, successful staff handoffs, retries, duplicate actions, and time to close exceptions. Separate a model failure from a source-system or network failure so the team fixes the right cause. Set targets only after measuring a baseline and understanding the cost of errors in your context.
Review usage records under your organization’s privacy and retention rules, and minimize the data collected. Give every exception an owner and a follow-up path; train staff on what the system can and cannot confirm. If there is no integration yet, a first pilot can collect a structured request and route it to an employee. Describe that outcome as “request received for follow-up,” not “order updated.”
Common design mistakes
- Adding roles to a task a single agent or fixed workflow can handle.
- Sharing every conversation and data field with every role instead of the minimum needed.
- Relying on “do not change the order” in a prompt while the tool still has write access.
- Repeating a non-reversible action after a timeout without checking what happened.
- Leaving ownership and retry limits undefined so agents pass the case around.
- Treating a confident response as proof that an action succeeded instead of checking the source.
Frequently asked questions
Is a team of agents always better than one agent?
No. Start with one agent if it can complete the task with limited tools and you can verify the result. Add roles when responsibility or permission separation solves a real problem, or when distinct specialties improve reliable handling.
Do I need a manager agent?
Not always. Explicit routing rules or a known sequence may be enough. Add a coordinator that chooses the next role only when the task needs that decision, then test its choices and limits. Do not make an orchestration layer responsible for operational decisions without clear criteria.
Do the roles need different vendors or models?
No. “Specialist” describes responsibility and permission boundaries, not necessarily a different provider or model. Define the task first, then choose technology based on accuracy, privacy, and operational needs.
How do I prevent duplicate actions on a retry?
Classify the operation: is it a safe read, or does it change a record? Check the prior attempt’s result and use the source system’s idempotency support if available. Otherwise, stop automatic repeats and escalate when the outcome is uncertain.
Can we start without a full system integration?
Yes, if the pilot is explicit: the system can collect a structured request or answer from approved information and hand it to staff. Do not describe a submitted request as a completed action unless the system confirms it.
From design to implementation
Choose one recurring task, identify its source of truth and required fields, and define each role’s limits and the owner of an exception. Then compare a single agent, a conventional workflow, and a specialist team against the real requirements. Read How Faltara works, explore Faltara agent teams, or review AI agent development solutions when you are ready to discuss a project scope.
This guide describes how to design and test an agent team. It does not assume that any illustrated integration or action is already available through Faltara; actual capabilities depend on a review of your systems and policies.
