CertSafari
    Databricks Certified Context Engineer Associate· Lessons

    Domain 7 · Lesson 42/45

    Preventing multi-agent conflicts with context propagation

    Given a multi-agent system producing conflicting outputs, identify the context propagation change that would most likely prevent the conflict.

    15 min read
    2.17% of exam
    9 sources
    Published 22 Oct 2026
    Docs as of 17 Oct 2026

    What you will be able to do

    • Trace a conflict between two sub-agents back to the specific fact one had and the other lacked
    • Choose the context propagation change that moves that fact into the conflicting agent's context
    • Decide when a fact belongs in the orchestrator's shared constraints and when it belongs in a shared decision record
    • Explain why fixes like routing descriptions, larger windows, independent lookups and human approval do not prevent the conflict

    Key concept

    Context propagation — Context propagation means making sure every fact, constraint and decision that should bind an agent actually reaches that agent's context before it acts. A sub-agent can only stay consistent with decisions that appear in the context it was given.

    1.Why sub-agents contradict each other

    A multi-agent system gives conflicting outputs when two agents decide from different versions of the facts. Each sub-agent reasons only over its own context window: its instructions, the message the orchestrator sent it, and whatever its own tools return. A decision made by another agent, such as a confirmed delivery date, a revised budget or a passage it retrieved, does not exist for this sub-agent unless something puts it into that context.

    That something is usually the orchestrator. In the common Databricks pattern the orchestrator calls each sub-agent the same way it calls a tool, so the dispatch payload is everything the sub-agent knows about the task so far. Suppose the payload holds only the user's original request. Then the second sub-agent starts where the first one started. It can reasonably make a different choice, and that choice clashes with the one already made.

    This separation is deliberate. Multi-agent systems are modular because each expert keeps its own context, and that same isolation is what makes them hard to keep consistent. The wider family of symptoms (inconsistent outputs, conflicting decisions, reliability that drops as more agents are added) is covered under shared-context failure modes. This page covers the fix: which context to move, and where to move it.

    Checkpoint 1 of 8· Check yourself

    An orchestrator calls a planning sub-agent, which confirms a delivery date of March 3. It then calls a logistics sub-agent, sending only the user's original request, and the logistics agent schedules shipping for March 10. Which change would most likely prevent this conflict?

    Sources12

    2.Finding the fact that never arrived

    To diagnose a conflict, compare the agents' inputs, not their outputs. Both outputs usually look reasonable on their own terms, and the clash only shows when you set them side by side. An MLflow trace records each sub-agent call as a child span with the exact input it received. Open the span of the agent whose output is wrong, read what went into it, and look for the decision it contradicted. In almost every case that decision is missing from the input.

    Missing facts come in three recurring shapes. The first is a confirmed choice that a later agent has to build on. The second is an updated fact that replaced an older value partway through the conversation. The third is the evidence a checker needs, which is the material the work was built from, as opposed to the finished work alone. In all three the fix is the same: include the earlier agent's output, or the part of it that matters, in the context sent to the later agent.

    Three shapes of missing context, traced from what the later agent received
    ShapeExampleWhat the later agent receivedPropagation change
    Confirmed choiceA Pricing agent approves a 15% discount; a Contract agent then drafts the contract at list priceThe customer's original request onlyInclude the approved discount in the Contract agent's dispatch
    Updated factA Coverage agent tells the user the policy limit was raised; a Payout agent still applies the old limitThe old limit, from earlier context or its own assumptionsPropagate the new limit to every agent that computes with it
    Evidence for a checkerA Test agent reports failing tests; a Reviewer agent receives only the code diff and approves itThe diff, without the test resultsSend the test results to the Reviewer along with the diff

    The checker case deserves extra attention because the failure looks like success. A verifier that sees only a draft can check whether it reads well and is internally consistent. It cannot check whether the draft agrees with sources it never saw, so it approves contradictions with full confidence. A checker is only as good as the evidence it is given.

    Checkpoint 2 of 8· Check yourself

    A Contract sub-agent drafted a contract at list price after a Pricing sub-agent had approved a 15% discount. Each output looks reasonable on its own. You have the MLflow trace for the run. What should you do first to find the cause?

    Sources3

    3.Pushing shared constraints down from the orchestrator

    Some context binds every sub-agent from the start: the user's hard requirements and the assumptions the orchestrator made when it split up the task. Examples are a total budget cap, a travel window, a reporting currency, a region, or the rule that "fiscal year" means the calendar year. The orchestrator holds these, and it should push them to every sub-agent it dispatches, not only to the one that looks most likely to need them.

    The reason for sending them to every agent is that the orchestrator cannot reliably predict which sub-agent will run into a constraint. Take a research task split into a market-sizing agent and a pricing agent. If only the market-sizing agent is told that all figures are in EUR, the pricing agent will quote USD. Each answer is correct in isolation, and together they are inconsistent. A short, fixed constraints block attached to every dispatch costs a few dozen tokens. Rebuilding a merged answer from mismatched parts costs a lot more.

    Constraints also change. When the user revises one, for example "actually, keep it under 40K", the orchestrator must send the new value in every later dispatch and stop sending the old one. Putting both values in the context and leaving the sub-agent to work out which is current reintroduces the conflict in a different form.

    Checkpoint 3 of 8· Check yourself

    Midway through a travel-planning task, the user changes the budget cap from 50K to 40K. The orchestrator still has to dispatch the Hotel, Flights and Activities sub-agents. Which propagation change best prevents a budget conflict in the merged plan?

    Sources24

    4.Keeping decisions in shared state every agent reads

    Constraints are known before any sub-agent runs. Decisions are made partway through: a date gets confirmed, a supplier gets chosen, a figure gets revised. With many agents, wiring each decision into each later dispatch by hand gets fragile. The sturdier pattern is a shared decision record. The agent that makes a decision, or the orchestrator, writes it when the decision is confirmed, and every agent reads the record before it acts.

    A useful decision record has three properties.

    • It holds one current value per decision. A revision replaces the old entry, so no agent can read the stale one.
    • It records who decided and what was decided, so a later agent treats the entry as settled rather than as a suggestion to reconsider.
    • It is read at the start of every agent's turn, not looked up only when an agent happens to suspect it needs it.

    On Databricks, the Lakebase-backed stores fit this role. A session store keeps the ordered state of one interaction that an agent reads at the start of a turn, and the owner of a session or memory entry can be another agent as well as an end user. Within a single task, a session-scoped record that each agent reads in full is the better fit. Use a memory store when decisions have to persist into later, separate conversations. The choice between these stores is covered in matching memory type to information need.

    Propagate the decision, not the conversation that produced it. The Marketing agent needs "Q3 budget: 75K, revised by Budget agent". It does not need the Budget agent's whole exchange with the user. When a sub-agent does need the reasoning behind a decision, handing it a scoped trace without growing its window is covered in passing traces at dispatch.

    Checkpoint 4 of 8· Check yourself

    Within one campaign-planning task, a Budget sub-agent revises the Q3 budget from 90K to 75K. Five more sub-agents (Marketing among them) will act later in the same task. Which design best keeps all of them consistent with the revision?

    Sources567

    5.Fixes that look right but propagate nothing

    Better routing solves a different problem. Tool and sub-agent descriptions decide which agent gets called. When the right agent was called and still contradicted an earlier decision, routing worked, and sharpening descriptions leaves that agent's context unchanged. Sending every related question to one agent from now on does not help either: the specialist you need is still not told about the decision.

    A second, independent path to the truth is not the same as the truth. Giving the later agent its own lookup tool, letting it call the first agent's tools directly, or having a verifier re-run retrieval all ask it to work the answer out again instead of receiving it. The rerun can come back different. A budget table may not yet reflect a change made in the conversation. A fresh retrieval may return different passages from those the draft was built on. A direct call to a peer's tool makes a new choice instead of returning the confirmed one. Each of these also adds coupling and calls, and the system still has two sources that can disagree.

    Changing how an agent behaves does not change what it knows. A larger context window adds capacity, but the missing fact is still missing. Raising a verifier's temperature, telling it to disagree once, or telling an agent to "assume budgets change often" only makes it more doubtful, not better informed. Polling sub-agents more often for status adds traffic without passing decisions between them. Requiring a human to approve each proposal catches some conflicts after they happen but prevents none, and taking the verifier out removes the only check.

    Checkpoint 5 of 8· Match them up

    A sub-agent contradicted a decision another agent had already confirmed. Match each proposed fix to what it actually changes.

    Tap a term, then the definition that fits it.

    Checkpoint 6 of 8· Exam question

    A trip-planning multi-agent app has an orchestrator that routes requests to a Flights sub-agent and a Hotels sub-agent. The Flights sub-agent selects travel dates and confirms them. When the orchestrator next calls the Hotels sub-agent, it passes only the user's original request, not the Flights sub-agent's confirmed dates. The Hotels sub-agent then proposes hotel dates that don't overlap with the confirmed flights, creating a conflicting itinerary. Which context propagation change would most likely prevent this conflict?

    Checkpoint 7 of 8· Exam question

    In a multi-agent financial assistant, a Budget sub-agent tells the user that the Q3 marketing budget was just increased from $50K to $75K. Later in the same conversation, the orchestrator routes a related question to a separate Marketing sub-agent, which still calculates its recommendation using the original $50K figure because that update was never shared with it. Which context propagation change would most likely prevent this conflict?

    Checkpoint 8 of 8· Exam question

    A document-QA system uses a Retrieval sub-agent to fetch source passages and a separate Verifier sub-agent to check the final answer for accuracy. The orchestrator sends the Verifier sub-agent only the draft answer, not the passages the Retrieval sub-agent fetched. As a result, the Verifier approves an answer that actually contradicts one of the retrieved passages. Which context propagation change would most likely prevent this conflict?

    Sources1

    Sources

    (9)

    Every claim above is drawn from one of these pages, quoted as it was written on the date shown.

    1. 1.
      “The orchestrator treats each subagent as a tool and uses its instructions to route requests to the right one.”
      ↩︎ Why sub-agents contradict each other
      “Description quality is directly related to how well the orchestrator can route requests to the correct subagent”
      ↩︎ Fixes that look right but propagate nothing
      “The orchestrator treats each subagent as a tool and uses its instructions to route requests to the right one.”
      ↩︎ Key concept
      “Description quality is directly related to how well the orchestrator can route requests to the correct subagent”
      ↩︎ Exam trap 2
    2. 2.
      “Multiple "expert" agents, with distinct logic or conversation contexts”
      ↩︎ Why sub-agents contradict each other
      “You still need carefully designed prompts and constraints to keep the agent focused and relevant.”
      ↩︎ Pushing shared constraints down from the orchestrator
    3. 3.
      “Each span represents one operation: it records what went in, what came out, how long it took, and any metadata.”
      ↩︎ Finding the fact that never arrived
      “child spans represent sub-operations that occurred during that request.”
      ↩︎ Finding the fact that never arrived
    4. 4.
      “Supervisor Agent uses advanced AI orchestration patterns to manage agent interactions, task delegation, and result synthesis to deliver comprehensive solutions.”
      ↩︎ Pushing shared constraints down from the orchestrator
    5. 5.
      “The agent reads it at the start of a turn and appends to it as the interaction runs.”
      ↩︎ Keeping decisions in shared state every agent reads
    6. 6.
      “actor_id (required): who the session belongs to, such as an end user or another agent.”
      ↩︎ Keeping decisions in shared state every agent reads

    Also cited

    Ready to test yourself?

    Practise Databricks Certified Context Engineer Associate in quiz mode.

    Spotted a mistake, or was something unclear? Tell us.