What you will be able to do
- Explain what an agent boundary decides about context, and what a well-placed boundary looks like
- Recognise an under-split boundary from unbounded context growth and wrong tool selection, and prescribe a split along domain lines
- Recognise an over-split boundary from details lost across handoffs and from latency that grows with every hop, and prescribe merging the cohesive task back together
- Tell the two failures apart from symptoms alone, and rule out distractors such as retrieval or prompt problems
Key concept
Context-independent seam — The right place for an agent boundary is a point where very little needs to cross it and everything on each side belongs together. Draw the boundary too coarse and one agent's window keeps growing. Draw it through a cohesive task and every handoff has to compress context the next agent still needs.
1.What an agent boundary decides
Drawing a boundary between two agents decides which context lives in which window. Inside one agent, everything is visible at once: the full conversation, every tool result and every intermediate number. Information crosses a boundary only if someone writes it into a handoff. In a multi-agent system each agent holds its own expertise, context and tool set. That separation is the whole benefit, and it is also the cost.
A boundary can go wrong in two opposite directions. If it is drawn too coarse, one agent carries several unrelated domains and its window grows until it cannot cope. If it is drawn too fine, a task that belonged together is cut into hops, and each hop compresses what the next agent needs. These are the only two boundary placement failures. Every diagnosis comes down to deciding which side of the line the design fell on.
The default is the simpler side. A single agent that handles varied queries within one cohesive domain is easier to debug than a set of agents, and Databricks advises starting simple and adding agentic complexity only when it is truly needed. A new boundary has to pay for itself: the context it keeps apart must be worth more than the compression it forces at the handoff.
Checkpoint 1 of 7· Check yourself
A team runs one agent that answers billing questions, triages infrastructure incidents and drafts marketing copy. Its context usage keeps climbing during each session until it starts picking the wrong tools. Which boundary placement failure is this?
Context that climbs inside a single agent that spans unrelated domains is the symptom of a boundary drawn too coarse. Losing detail across many hops would be the too-fine case, and adding more domains would only make the window grow faster.
“If your application spans radically different sub-domains (finance, devops, marketing, etc.), a single agent can become unwieldy or overloaded with functionality requirements.”Source: docs.databricks.com
Checkpoint 2 of 7· Exam question
A team building a customer-support multi-agent system splits the workflow into six narrow sub-agents: one to parse the ticket, one to classify sentiment, one to look up account details, one to check entitlement, one to draft a reply, and one to format the final message. Each sub-agent passes a summarized handoff to the next. During testing, the team notices that specific numeric details (such as exact renewal dates) captured early in the pipeline are frequently missing or altered by the time the final agent drafts a reply, and end-to-end latency has grown substantially due to the number of hops. Which boundary placement failure is occurring?
Correct answer: A — Excessive handoff compression overhead from splitting the task into too many narrow sub-agents
- A. Correct. Six sequential sub-agents each performing a single fine-grained step means the request passes through many summarization hops. Each summarization step risks dropping or distorting detail, and the sheer number of round trips inflates latency — the signature pattern of over-decomposing a task into too many agent boundaries.
- B. Incorrect. Context window growth within a single agent happens when one agent accumulates too much responsibility and history, causing its own context to balloon. Here the opposite is happening: the task is split across many separate agents, not concentrated in one.
- C. Incorrect. Nothing in the scenario points to a retrieval component or hallucination; the described symptom is detail loss and latency tied directly to the number of sequential handoffs, not to how account data is looked up.
- D. Incorrect. A missing system prompt would typically cause erratic or off-task behavior from the start, not a gradual loss of specific details correlated with the number of pipeline hops and rising latency.
Checkpoint 3 of 7· Exam question
A single "operations agent" is responsible for handling finance approvals, DevOps incident triage, and marketing campaign requests, all within one agent that has access to over 60 tools and a conversation history that accumulates tool outputs from all three domains in every session. The team observes the agent's context usage climbing close to the model's context window limit within a handful of turns, and the agent increasingly selects the wrong tool for user requests. Which boundary placement failure is this?
Correct answer: A — Unmanageable context window growth because the boundary was drawn too coarse across domains
- A. Correct. One agent is covering three unrelated domains, accumulating a huge tool schema and mixed-domain history in a single context. That is a boundary drawn too coarse: the fix is splitting by domain expertise, which is exactly the scenario described as unmanageable context window growth.
- B. Incorrect. There is only one agent in this design, so there are no inter-agent handoffs at all. Handoff compression overhead is a symptom of over-decomposition into many agents, which is the opposite problem from what is described here.
- C. Incorrect. The scenario describes context and tool-selection problems tied to combining three domains in one agent, not a description of retrieval results being outdated or an index needing a refresh.
- D. Incorrect. A single missing or malformed docstring on one tool would not explain context usage climbing toward the window limit across an entire multi-domain session.
Sources1
2.Under-split boundaries: one agent carrying several domains
An under-split agent owns several unrelated domains at once. Take a single operations agent that handles finance approvals, DevOps incident triage and marketing campaign requests. It needs every tool for all three domains loaded on every turn, and its conversation history collects tool outputs from all three. None of that context is ever irrelevant enough to drop safely, because the next request might come from any domain. So the window does not level off. It grows with every turn until it nears the model's limit.
Wrong tool selection is the second symptom, and it comes from the same cause. With dozens of tools from unrelated domains side by side, the agent has to pick from a crowded catalog while also reading a long, mixed history. The Databricks design guidance names this exact case: an application that spans radically different sub-domains such as finance, devops and marketing can leave a single agent unwieldy or overloaded.
The fix is structural: split along domain lines. Give each domain its own sub-agent that owns a smaller set of tools and keeps its own history, and put an orchestrator or supervisor in front to route each request to the right sub-agent. A finance question then never loads DevOps tools or marketing history. Domain lines make good seams because requests from different domains rarely need each other's intermediate context, so very little has to cross the new boundary.
Two tempting alternatives leave the boundary where it is. Merging even more domains into the agent so they can share context only makes the catalog and history larger. Wrapping every capability in one generic tool shrinks the tool list on paper, but the agent still has to reason over all three domains, and their outputs still pile up in the same history. Trimming or compacting the history treats the symptom and does not change the boundary.
Checkpoint 4 of 7· Check yourself
An internal assistant handles HR policy questions, legal contract review and sales forecasting. Each session its window grows toward the model's limit, and it often calls the wrong domain's tool. Which change fixes the boundary itself, not just the symptom?
An under-split agent is fixed by splitting it along domain lines: each sub-agent loads only its own tools and history, and an orchestrator routes requests. Compacting history only treats the symptom. A generic tool still leaves all three domains piling up in one history, and merging in more domains makes the window grow faster.
“Instead of building one agent that does everything, a multi-agent orchestrator routes requests to specialized subagents from a single entry point.”Source: docs.databricks.com
Checkpoint 5 of 7· Exam question
An agent's token usage per turn keeps climbing because it must keep an ever-growing tool catalog and full conversation history in context to answer questions spanning three unrelated business domains. The team wants to fix the boundary placement rather than just trimming context. What is the most appropriate structural change?
Correct answer: A — Split the agent into domain-specific sub-agents that each own a smaller subset of tools
- A. Correct. When one agent's context grows unmanageably because it spans multiple unrelated domains, the structural fix is to redraw the boundary: give each domain its own sub-agent, each with a smaller, focused tool set and history, rather than trimming the shared context after the fact.
- B. Incorrect. Adding more domains to the same agent would make the context window growth worse, not better, since it increases the combined tool catalog and history the single agent must retain.
- C. Incorrect. Adding more handoffs addresses a different failure mode (excessive handoff compression overhead from over-decomposition) and does not reduce a single overloaded agent's context footprint.
- D. Incorrect. Wrapping all tools into one generic tool does not reduce the underlying context burden of spanning three domains and removes the specificity needed for reliable tool selection.
3.Over-split boundaries: a cohesive task cut into hops
An over-split design draws boundaries through a task that belonged together. Parsing a ticket, looking up the account, checking entitlement and drafting the reply all work on the same facts: the same customer, the same renewal date, the same plan. Once those steps become separate agents, the shared facts have to be re-serialised at every hop, usually as a summary. Each summary is a lossy copy of the one before. Exact values such as dates, IDs, amounts and version numbers are the first to blur, round off or vanish, because a summariser keeps the gist and drops the specifics.
This is handoff compression overhead, and it gets worse with the number of boundaries, not the amount of work. Every extra hop adds another lossy summary and another model call, so fidelity falls and end-to-end latency rises together. Databricks warns that more agentic designs bring extra complexity and potential latency. A chain of six narrow agents pays that cost six times for a task that one agent could have held in a single window.
The fix is to merge the fragments back together. Put the cohesive stretch of the task, meaning the steps that keep reading and updating the same facts, inside one agent, and keep boundaries only where the work really changes domain. Adding more hops so that each one carries less detail is the wrong direction, because it multiplies the compression. Lost numbers here are also not a retrieval or system-prompt defect, because the value was retrieved correctly upstream and was then lost in transit. Making each handoff smaller or better structured is a separate design question, covered in sub-agent output design. The diagnosis here is that the boundary should not exist at all.
Checkpoint 6 of 7· Check yourself
Six narrow agents handle a support ticket in a chain: parse ticket, look up account, check plan, check entitlement, check renewal terms, draft reply. Every agent works on the same customer, plan and renewal date. Traces show that the account-lookup agent gets the renewal date right. Replies still often show the wrong date, and end-to-end latency keeps rising. Which change fixes the boundary itself?
This is an over-split design. Every hop adds a lossy summary and a model call, so the fix is to merge the cohesive steps into one agent. Splitting the hops further multiplies the compression. The date was retrieved correctly upstream, so extra retrieval in the last agent misses the cause, and domain routing is the fix for an under-split agent.
“More agentic approaches offer greater flexibility and potential, but they come with the cost of extra complexity and potential latency.”Source: docs.databricks.com
Sources1
4.Telling the two failures apart
The two failures leave different marks in a trace, so read where the problem shows up. A multi-agent trace shows which agent ran at each turn, the messages passed between agents, and each agent's LLM and tool calls. If one agent's input grows turn after turn while other agents stay small, the boundary is too coarse. If many agents each stay small but the messages between them lose values the user supplied, and total latency follows the hop count, the boundary is too fine.
| Observed symptom | Boundary failure | Structural fix |
|---|---|---|
| One agent's context climbs toward the window limit within a few turns | Under-split: boundary too coarse across domains | Split into domain-specific sub-agents, each with its own tools |
| Wrong tool chosen from a large catalog spanning unrelated domains | Under-split: boundary too coarse across domains | Split by domain so each agent sees only its own tools |
| Exact values captured early are missing or altered at the final agent | Over-split: boundary cuts through a cohesive task | Merge the cohesive steps into one agent |
| End-to-end latency grows with the number of agent hops | Over-split: boundary cuts through a cohesive task | Remove boundaries that do not separate real domains |
A good correction ends up in the middle. Splitting an over-stuffed agent by domain is right, but splitting it again by step inside each domain repeats the opposite mistake. The test for any proposed boundary is the same: what has to cross it, and can a summary carry that without losing something the receiver needs? If the answer is "a routed request and a short result", keep the boundary. If it is "the same facts the next step is still working on", remove it.
Checkpoint 7 of 7· Match them up
Match each finding from a multi-agent trace review to the diagnosis it supports.
Tap a term, then the definition that fits it.
Input that grows inside one agent spanning several domains means the boundary is too coarse. Values lost between many small agents, with latency that rises per hop, mean it is too fine. A boundary that carries only a request and a result is a good seam, and splitting each domain agent again by step overshoots into over-splitting.
“If your application spans radically different sub-domains (finance, devops, marketing, etc.), a single agent can become unwieldy or overloaded with functionality requirements.”Source: docs.databricks.com
Sources
(4)
Every claim above is drawn from one of these pages, quoted as it was written on the date shown.
- 1.
“Each agent has its own domain or task expertise, context, and potentially distinct tool sets.”
↩︎ What an agent boundary decides“simpler to debug than multi-agent setups while still allowing dynamic logic and limited autonomy”
↩︎ What an agent boundary decides“When building any AI-powered application, start simple.”
↩︎ What an agent boundary decides“If your application spans radically different sub-domains (finance, devops, marketing, etc.), a single agent can become unwieldy or overloaded with functionality requirements.”
↩︎ Under-split boundaries: one agent carrying several domains“they come with the cost of extra complexity and potential latency”
↩︎ Over-split boundaries: a cohesive task cut into hops“You expect varied user queries but still within a cohesive domain or product area.”
↩︎ Over-split boundaries: a cohesive task cut into hops“Each agent has its own domain or task expertise, context, and potentially distinct tool sets.”
↩︎ Telling the two failures apart“Each agent has its own domain or task expertise, context, and potentially distinct tool sets.”
↩︎ Key concept“a single agent can become unwieldy or overloaded with functionality requirements”
↩︎ Exam trap 1“they come with the cost of extra complexity and potential latency”
↩︎ Exam trap 2“Each agent has its own domain or task expertise, context, and potentially distinct tool sets.”
↩︎ Exam trap 3“If your application spans radically different sub-domains (finance, devops, marketing, etc.), a single agent can become unwieldy or overloaded with functionality requirements.”
↩︎ Checkpoint“Each agent has its own domain or task expertise, context, and potentially distinct tool sets.”
↩︎ Prediction“More agentic approaches offer greater flexibility and potential, but they come with the cost of extra complexity and potential latency.”
↩︎ Checkpoint“If your application spans radically different sub-domains (finance, devops, marketing, etc.), a single agent can become unwieldy or overloaded with functionality requirements.”
↩︎ Checkpoint - 2.
“Instead of building one agent that does everything, a multi-agent orchestrator routes requests to specialized subagents from a single entry point.”
↩︎ Under-split boundaries: one agent carrying several domains - 3.https://www.databricks.com/blog/multi-agent-supervisor-architecture-orchestrating-enterprise-ai-scaleSecondary source
“an agent can have too many tools at its disposal and make poor decisions about which tool to call next”
↩︎ Under-split boundaries: one agent carrying several domains - 4.
“Messages passed between agents”
↩︎ Telling the two failures apart“LLM and tool calls made by each agent, organized per an agent and a turn”
↩︎ Telling the two failures apart