← Back to Technical blog

Technical article

How Multiple Agents Work Together: Roles, Handoffs, and Arbitration

Multi-agent collaboration begins with handing off responsibility.

Dec 2, 2026Technical blogHENGSHI21 min read

Article body

Full article

0 Summary

Multi-agent collaboration begins with handing off responsibility. Sales, inventory, and finance can each provide evidence. The person responsible for closing out the work needs to know which metric produced a result, what data it covers, and who can resolve conflicts. This article presents a reference design for enterprise collaboration and uses the data packages, metrics, and permissions in HENGSHI SENSE 7.0 to illustrate the reusable analytics foundation.

1 When do you need multiple agents?

1.1 The limits of a single agent

A single agent may need to understand a question, find data, generate queries, compare results, and write an interpretation. These responsibilities overlap, and different kinds of material compete for context. As a task grows, the agent can apply inconsistent definitions or mix interpretation into calculation. Consider splitting responsibilities once a single role can no longer handle them.

1.2 How to decide where to split

One option is to split by understanding, retrieval, verification, and delivery. Another is to split by sales, finance, and inventory. Each fits different circumstances. Start by running a real task with one role. Note the steps that require another business owner, a separate set of permissions, or independent verification. Use those handoffs to decide which roles to split.

1.3 More agents bring more coordination

A split into five or six agents lengthens the chain, increases coordination costs, and makes troubleshooting harder. Aim for clear roles and simple handoffs. One agent that completes the task reliably is preferable to several agents waiting on each other.

1.4 Split roles where their responsibilities differ

Look for real differences in knowledge, tools, and verification requirements. Understanding a question calls for business semantics, retrieving data calls for data access, and explaining results calls for conventions on how to communicate them. These differences justify a split. Two roles that use the same knowledge, tools, and checks add little by operating separately.

To test whether a split helps, ask whether combining the roles would overload the context or cause their duties to interfere. If neither occurs, keep one role and reserve collaboration for work with distinct needs.

2 Three patterns for dividing work

2.1 Pipeline

Roles run in sequence, passing each deliverable down the line. One role interprets the request and writes the task description. The next retrieves data, and the last interprets the results. A pipeline gives each role a clear duty and a defined handoff, which suits a fixed analytics workflow. Upstream mistakes propagate downstream, so place checks at important points.

2.2 Specialists

Several specialist agents work in parallel on their respective domains, and one role consolidates the results. Sales, inventory, and membership specialists might analyze the same campaign simultaneously, for example. Working in parallel helps them respond quickly. The consolidation step must reconcile differences in definitions and conclusions before combining the findings.

2.3 Orchestrator

An orchestrator understands the goal, decides which roles to call and in which order, and consolidates the results. Other roles carry out their assigned actions on demand. The orchestrator maintains the overall state while specialists keep a single responsibility. This pattern is useful when task types vary and the workflow needs to assemble steps dynamically.

2.4 The patterns can be combined

An actual workflow often combines patterns. A pipeline can form the main sequence, with one stage calling multiple specialists in parallel and an orchestrator consolidating the results at the end. Choose a pattern to fit the task structure. When combining patterns, identify the role responsible for closeout so separate branches of the workflow do not each finish independently.

Most complexity in a combined pattern comes from the handoffs, including how to merge specialist deliverables and who handles conflicts. Define these rules during design to avoid renegotiating them while the task runs.

Table 1. When to use each collaboration pattern and what it costs

PatternStructureBest suited toMain cost
PipelineSequential handoffs and transfer of deliverablesStandard analysis with fixed stepsUpstream errors propagate downstream
SpecialistsParallel work with consolidated resultsAnalysis across perspectives and domainsDifferences in metric definitions and conclusions need resolution
OrchestratorCentral scheduling and dynamic compositionVaried tasks whose steps need to be assembledOrchestration logic must remain maintainable

3 Three things to include in a handoff

3.1 Definitions and scope

Include confirmed definitions, time range, organizational scope, and permission boundaries with the deliverable. If the next role reinterprets these conditions, different roles may calculate different results from the same data. Carrying the metric definition with the deliverable keeps the work consistent.

3.2 State and completed work

Say which step the task has reached, which assumptions were confirmed, and which paths were ruled out. Give the next role a continuous task state. Without it, each role may treat its input as a new request and repeat the same clarifications.

3.3 Deliverables and provenance

Include where an intermediate result came from, which calculations produced it, and what validation found. Without provenance, downstream roles will struggle to verify results and diagnose a problem. The completeness of the handoff affects the quality of subsequent work.

3.4 Standardize the handoff format

Use a common structure for results, definitions and scope, source notes, and validation status. A consistent format means downstream roles can read each upstream deliverable the same way. It also makes handoffs easier to archive and reuse, and similar tasks easier to compare.

List unconfirmed assumptions separately for the downstream or closeout role. Burying them in the findings can make them seem accepted. The status of each assumption should be explicit at handoff.

4 Responsibility boundaries and final accountability

4.1 State what each role owns

The retrieval role supplies data. The interpretation role uses the agreed definition, and the orchestrator leaves business judgments with the business. Unclear boundaries cause roles to pass responsibility around when a problem occurs and can lead to repeated calculations.

4.2 Identify who owns the final deliverable

One role must take responsibility for the final deliverable. In the specialist pattern, that is the consolidator. In a pipeline, it is the final stage. In the orchestration pattern, it is the orchestrator. The final owner checks the output against the goal, handles conflicting findings, and decides whether it can be delivered. Without that owner, collaboration ends with disconnected handoffs.

4.3 Keep write permissions separate

Concurrent edits to one intermediate deliverable can overwrite one another. Let the upstream role produce it and downstream roles read it. If a change is needed, return it to the producer or use an explicit change record. Align write access with responsibility.

4.4 Make roles replaceable

Standardize the knowledge, tools, and interfaces each role depends on so that another agent in the same role can take over without disrupting the workflow. A common handoff format and explicit agreements keep replacement costs low.

Document each role’s capabilities, limits, and the kinds of problems it should hand off to specific owners. That clarity prevents unnecessary waiting and duplicate work.

5 How to arbitrate conflicts

5.1 Check conflicting definitions at their source

When roles use different definitions, check the metric in the semantic layer. Follow the authoritative definition where ownership is clear. If the definitions themselves conflict, flag the issue for a business decision and keep it out of the final conclusion while unresolved.

5.2 Show where conclusions differ

When specialists disagree, the consolidator should show each one’s data, assumptions, and observations. A visible disagreement gives the user or business owner the evidence to judge it.

5.3 Set arbitration rules in advance

During design, specify which cases follow the data definition, which require the business owner’s judgment, and which should yield partial findings. Negotiating each conflict afresh makes the workflow hard to run reliably.

6 Collaboration depends on a shared semantic layer

6.1 Use one copy of the metric definition

When agents maintain their own definitions, the same metric name will take on different meanings. Supply metrics, dimensions, definitions, and permission fields through common assets in one semantic layer. Each role reads the shared assets. This gives the team one place to resolve inconsistencies.

6.2 Map terms and entities consistently

Use the same name for a business entity across roles and maintain one field mapping. Otherwise, a handoff between sales, which says “customer,” and finance, which says “counterparty,” may require manual translation. Keep entity mappings in shared assets, accessible to all relevant roles.

6.3 Apply changes consistently across roles

Include the confirmation date or business version of the definition, the data window, and the time of retrieval in the handoff. If a metric changes, the person responsible for closeout decides whether to keep the verified definition or recalculate using the new one, and records which conclusions were affected. The public product documentation explains how to maintain metrics and common dimensions. The enterprise sets the version checks and recalculation rules described here.

6.4 Assign ownership and maintenance of shared assets

State who updates metric definitions, resolves field conflicts, and signs off changes. Shared definitions can remain outdated for a long time when no owner is clear. An explicit maintenance responsibility gives collaborators a stable source.

Notify dependent roles when an asset changes. Set a rule for whether queued and in-progress tasks use the old or new definition. Pin the version in task state so a definition cannot change halfway through execution without anyone noticing.

Table 2. Common collaboration conflicts and how to handle them

Conflict typeExampleResolution
Definition conflictTwo reports give different amounts for the same metric nameReconcile against the metric definition, status filters, and baseline period
Conflicting conclusionsSales and inventory give different explanationsList supporting and missing evidence and let the business owner decide
Scope conflictRoles see different regions or warehousesRetrieve data under each role’s own authorization and annotate scope differences
Edit conflictSeveral roles edit the same dashboardName the editor of the target asset and record the change receipt

6.5 In practice: Handing off a campaign review

A brand operations team reviews an apparel campaign. The sales role uses a SENSE data package to calculate payments and returns for products in the campaign. The inventory role supplies the number of days those products were available for sale during the same period. First map the SKUs to the same business entity and confirm the unique key in the product catalog and its reference key in orders. Keep store, warehouse, and snapshot time in the inventory figures. Before consolidating, avoid summing daily snapshots directly at the order-line level.

{
  "task": "Fall campaign review",
  "scope": "East China | Campaign period | Comparable stores",
  "metric": "Amount paid for products, with refunds shown separately",
  "evidence": "Sales data package | Differences by category",
  "as_of": "2026-11-25T10:00:00+08:00",
  "validation": "total_reconciled",
  "pending": [
    "Days available for sale and stockout timing for category A"
  ],
  "owner": "Campaign review owner"
}

If sales finds that payments for category A fell by CNY 60,000 but the inventory report covers only 8 of the stores, the consolidator can report the sales difference and explain the inventory coverage, then ask the owner to check the remaining stores. Each participating account’s permissions govern its access to data in SENSE. Departments should hand off only summaries or references the recipients are authorized to see. The enterprise implements multi-role orchestration and business arbitration within its own processes for assigning responsibility.

A collaboration workflow can also draw on HENGSHI JARVIS methods for routing organizational tasks and managing run state and evidence. SENSE provides a reusable analytics and permissions foundation. JARVIS supports work assignment and reviewable delivery records. The enterprise should decide how to assign, verify, and accept work based on its integrations and accountability processes.

7 Isolate failures and limit their spread

7.1 Keep one role’s failure from stopping the entire workflow

In a multi-role system, record each role’s deliverables and run state separately. If one role fails, the closeout owner can reuse verified deliverables whose scope and timing still match. The orchestration system provides independent execution units, state persistence, and retries after failures. Verify those capabilities through the actual workflow before promising them externally.

7.2 Make calls between roles observable

Record who called whom, what went into the call, what came back, and how long it took. These records help locate failures. Without handoff records, a multi-agent system becomes a black box.

7.3 Define responsibilities when delivering a reduced result

If some roles are unavailable, limit the task to what the remaining roles can verify and state what is missing. Downstream roles should leave conclusions open when the necessary inputs are missing.

7.4 Observe performance across the workflow

Track how long each role took, how much time was spent waiting for handoffs, and where the bottleneck lies. Total duration alone cannot locate the problem. A long handoff wait often signals that role boundaries or scheduling should be adjusted.

Track failure rates by role and task type as well. Identify which role returns errors most often and which tasks see the most failures. Use these observations to decide when role boundaries should change.

8 Antipatterns

8.1 Splitting roles for its own sake

Dividing a task that one agent can complete may cost more in handoffs than it saves in specialization. Split when responsibilities genuinely differ. The popularity of multi-agent systems provides no reason by itself.

8.2 Passing results without definitions

A number without its definition and scope forces the next role to interpret it independently, and results will drift. A complete context gives a handoff its value.

8.3 Leaving no one in charge of closeout

If every role supplies a deliverable but nobody checks and consolidates them against the overall goal, users receive fragments of unfinished work. Assign one role responsibility for the final deliverable.

8.4 Relying on undocumented agreements between roles

Informal agreements that never make it into the handoff standard are hard for new or additional roles to understand. Record the handoff format, default definitions, and conflict rules in shared assets. Undocumented agreements increase maintenance costs.

A maintainable workflow is also one a new participant can learn. Written rules let someone taking over a role understand the handoff. Word-of-mouth arrangements become harder to coordinate as the system grows.

9 Boundaries and conclusion

Multi-role collaboration suits tasks with clear responsibilities and data boundaries. Changes to BI resources in SENSE must follow supported operations and authorization processes. Use the corresponding product interfaces for publication and sharing. When integrating external business systems, document each system’s permissions and the responsibilities for human confirmation in the handoff rules.

Specify how people and systems divide the work, including which judgments agents may make and which require the business owner’s confirmation. With clear roles, multi-agent collaboration organizes execution while the enterprise remains accountable for the findings.

Start with a workflow with clear responsibilities. Verify that the handoffs and closeout work before adding more parallel roles. Adding many roles at once raises handoff costs and makes troubleshooting harder, delaying results.

Good collaboration depends on the quality of the handoff. The definition travels with the deliverable, state carries over, conflicts have a clear arbiter, failures are isolated, and the closeout role owns the final result. Those conditions let multiple agents work as one reliable chain.

Validate collaboration in stages. First get one pipeline’s handoffs working, then introduce parallel specialists, and finally improve arbitration and observability. At each stage, require complete handoff artifacts and a named closeout role. This is more reliable than designing a complete multi-role system in one pass.

Three checks help determine whether the design can be maintained over time. Adding a role should require focused changes, records should help locate handoff issues, and someone should always own the final deliverable.

About HENGSHI Technology

Founded in 2016, HENGSHI Technology pioneered the definition of a new generation of Agentic BI for the Data + AI era. Its enterprise analytics platform, HENGSHI SENSE, works with HENGSHI Super Digital Employee, the HENGSHI CLI execution engine, and HENGSHI BOX, its privately deployed operations and control hub, to form an integrated suite of services. With a decade of experience in BI analytics, HENGSHI continues to support software vendors across industries through its Powered by Hengshi ecosystem strategy. It provides integrated, end-to-end AI analytics in trusted private environments for business operations and data-driven decision-making at enterprise groups in manufacturing, finance, retail, government, and other sectors.

HENGSHI SENSE

Resources, ecosystem, and implementation stories

Explore how teams design and ship analytics with HENGSHI.

Request a trial

Enterprise deployment, embedded delivery, and trial requests can all be handled quickly.