In one sentence: When specialist agents work in parallel, the hard problem is not speed but shared context: keep one source of truth, say who may write each field, make writes conditional on what the writer saw and merge results by rule.
Running several AI agents at once is one of the most appealing ideas in enterprise automation, because independent work finishes sooner. It is also one of the easiest ways to create confusion. Agents that read the same facts at the same moment and then act on them, can contradict one another in ways that no single agent would. This post is about the unglamorous discipline that prevents it. We use the STAR format (Situation, Task, Action, Result) to show how parallel work goes wrong and how to coordinate specialists without chaos.
Three Agents, Three Versions of the Truth
Consider a corporate travel company we’ll call Lighthouse Travel Group. As in our earlier posts, this is a composite scenario, not a customer case, but anyone who has run parallel automation will recognize the pattern.
When a flight is cancelled, Lighthouse’s travelers need a new plan quickly. The company builds specialist agents: one rebooks flights, one adjusts hotels, one arranges ground transport and one checks the result against the client’s travel policy. Running them in parallel seems obvious, because rebooking a flight and changing a hotel are different jobs.
At first, it works. Then, one busy morning, a traveler’s Monday flight is cancelled. The flights agent finds a seat on Tuesday and updates the itinerary. At the same moment, the hotels agent, which started a few seconds earlier with a copy of the original itinerary, books a room for Monday night. The ground agent, working from the same stale copy, schedules an airport pickup for Monday. Each agent did its job competently. The traveler receives three confirmations that do not agree: a flight on Tuesday, a hotel on Monday and a driver waiting at the airport a day early.
Matters get worse. A fourth agent, which drafts the traveler’s summary, is given the whole conversation from all the others and includes every version of the dates it has seen. The traveler’s message mentions both Monday and Tuesday and the client’s travel manager receives a polite request to approve a room for a night nobody will use.
The specialists are not at fault. The fault lies in how they share, or fail to share, context. Each agent worked from a private snapshot. Nothing told it that the snapshot had become stale. Nothing stopped it from writing over someone else’s work. Nothing defined which agent was the authority on which fact. Figure 1 lists the symptoms of uncoordinated parallel work and their causes.
Figure 1. Symptoms of uncoordinated parallel agents
The cost is more than confusion. Parallel failures are intermittent: they depend on timing, so they pass in testing and appear under load. They erode trust in automation in exactly the busy moments when it should help most. And because the individual agents behave correctly in isolation, teams often search for the fault in the wrong place, tuning instructions that were never the problem.
Pause and check: For an automation you run, which facts could two components change at the same time? If you cannot name the single place where the current truth lives, you have found a risk.
Share Context on Purpose
Your task is to let specialists work in parallel while keeping their shared picture of the world consistent. Five principles guide the design.
• One source of truth. Keep the current facts of a case in a single shared record, not in each agent’s private memory.
• Clear ownership. For every field, define exactly one agent that may write it. Others may read it.
• Conditional writes. A write succeeds only if the record has not changed since the writer read it. Otherwise the writer must look again.
• Rule-based merging. When parallel results come together, combine them by explicit rules and surface conflicts instead of hiding them.
• Need-to-know sharing. Give each agent the part of the context it needs, not the whole history.
None of these ideas is exotic. Database designers, operating-system authors and distributed-systems engineers have relied on them for decades. What is new is applying them to agents, whose actions are less predictable and whose mistakes can be harder to notice.
For Lighthouse, the task becomes concrete: give every itinerary a shared board, assign each field an owner, make agents re-check before they write and merge the specialists’ results with rules the team can read.
Designing the Shared Context
Choose how agents share
There are three common ways for agents to share information and each suits different needs. Figure 2 shows the first picture: a shared board that every agent reads and the owning agent writes.
Figure 2. A shared case board
+---------------------------+
Flights agent --> | flight: Tue 11 Mar | <-- (owner: flights)
Hotels agent --> | hotel: Tue 11 Mar | <-- (owner: hotels)
Ground agent --> | ground: Tue 11 Mar | <-- (owner: ground)
Policy agent --> | policy: approved | <-- (owner: policy)
| version: v7 |
+---------------------------+
^ one source of truth
| every write names the version it was based on
Figure 3 compares the three approaches. Many real systems combine them, for example a shared board for current facts and an append-only log for history.
Figure 3. Three ways to share context
Assign ownership
The next step is to decide who may write what. Figure 4 shows an ownership map for Lighthouse. Notice that every field has a single writer, while several agents may read it. The hotels agent needs the flight date, so it reads the flight field. It never writes it.
Figure 4. Field ownership map
Ownership removes a whole class of conflict. Two agents can no longer overwrite each other’s facts, because only one is ever allowed to write each fact. What remains is a subtler problem: an agent that acts on a fact that has since changed. That is what conditional writes address.
Coordination in code
Now the technical part. The snippets below are simplified, illustrative Python rather than a production framework. The first is a shared board whose writes are conditional: a write must say which version it was based on and it fails if the record has moved on.
Figure 5a. A shared board with versioned writes
`import threading
class VersionConflict(Exception): pass
class CaseBoard:
def init(self):
self._lock = threading.Lock()
self.version, self.fields, self.log = 1, {}, []
def read(self): with self._lock: return self.version, dict(self.fields) # a consistent snapshot def write(self, agent, field, value, based_on_version): with self._lock: if based_on_version != self.version: # the record has moved on raise VersionConflict(f"{agent} read v{based_on_version}, now v{self.version}") self.fields[field] = value self.version += 1 self.log.append((self.version, agent, field, value)) # ordered history `
The second snippet adds the other two protections. Only the owning agent may write a field and an agent whose write is rejected re-reads the latest facts and tries again, within a limit, before handing over to a person.
Figure 5b. Ownership checks and retry with a fresh read
`OWNERS = {"flight": "flights", "hotel": "hotels", "ground": "ground",
"policy_status": "policy", "traveler_message": "orchestrator"}
def update_with_retry(board, agent, field, compute, attempts=3):
if OWNERS.get(field) != agent:
raise PermissionError(f"{agent} does not own {field}")
for _ in range(attempts): version, snapshot = board.read() value = compute(snapshot) # derive from the latest facts try: board.write(agent, field, value, based_on_version=version) return value except VersionConflict: continue # re-read, recompute, try again raise EscalateToHuman(f"{agent} could not update {field}") Figure 5c. Merging parallel results and surfacing conflicts
The third snippet handles the moment when parallel results come together. Rather than silently preferring one answer, it merges what agrees and reports what does not.
def merge(results: dict):
merged, conflicts = {}, []
for agent, findings in results.items():
for key, value in findings.items():
if key in merged and merged[key] != value:
conflicts.append((key, merged[key], value, agent))
else:
merged[key] = value
return merged, conflicts # conflicts go to the orchestrator or a person`
Three habits stand out. Writes are conditional, so stale decisions cannot slip through. Ownership is explicit and enforced in code, not left to politeness. And conflicts are surfaced, so that the system fails loudly instead of quietly producing a contradiction. In Lighthouse’s case, the hotels agent’s Monday booking would be rejected because the itinerary moved to version two while it was working. It would re-read, see Tuesday and book the right night.
Scarce resources and side effects
Shared boards protect facts, but agents also compete for things: a seat, a room, a budget. For these, add reservations. An agent places a short-lived hold on the resource, completes its work and either confirms or releases it. A hold that is never confirmed expires on its own, so a crashed agent cannot block everyone else indefinitely. For actions with external effects, such as sending a message, use a single owner and an idempotency key, so that a retry cannot send twice.
Figure 6 summarizes the main kinds of conflict and the usual remedy for each.
Figure 6. Conflict types and remedies
A final design choice concerns how much each agent sees. Handing every agent the entire history is tempting, but it is slow, expensive and distracting. The summary agent that mentioned both Monday and Tuesday was a victim of exactly that habit. Give each specialist the current state of the fields it needs, plus the instructions for its task and let the orchestrator decide what else to pass along.
What Good Looks Like
As in our previous posts, we will not promise a particular speed-up or saving. Results depend on your workflows, volumes and data, so establish a baseline and add verified figures before presenting a business case.
What does change is the system’s behavior under pressure. For Lighthouse, the Monday cancellation now plays out cleanly. The flights agent writes Tuesday as version two. The hotels agent’s attempt to write from version one is rejected and it re-reads, books Tuesday and succeeds. The ground agent does the same. The traveler receives one set of confirmations that agree and the travel manager sees one approval request for a night that is actually needed. When two results do disagree, the conflict appears on the orchestrator’s desk, labeled, instead of in the traveler’s inbox.
Parallel designs also become testable. Because conflicts are a property of timing, a good test suite replays the same scenario with different orderings of the agents’ steps and checks that the final state is always consistent. Passing such tests gives far more confidence than a handful of successful runs on a quiet day.
Figure 7. A scorecard for parallel coordination
Once the system runs live, treat the conflict log as a source of insight. Count how often a write is rejected, which fields collide most and which agents retry repeatedly. A rising rejection rate on one field often means two specialists genuinely depend on each other more tightly than the design assumed, which is a signal to merge them, reorder them or give one of them a clearer lead. Conflicts are not merely errors to suppress; they are information about where the design needs attention.
Three pitfalls to avoid
• Sharing copies instead of state. A private snapshot goes stale the moment someone else acts. Share a live record and check versions before writing.
• Letting everyone write everything. Broad write access is convenient and dangerous. Assign owners and enforce them in code.
• Testing only the happy ordering. Timing bugs hide when agents finish in the expected order. Deliberately vary the sequence.
Figure 8. STAR recap
Where should you start?
Pick one workflow where specialists already run in parallel, or where you plan to run them. List the facts they share and for each fact write down its single owner. Move those facts into one shared record, add a version number and make writes conditional. Then write one test that replays the workflow with the agents finishing in a different order. If the final state is not the same every time, you have found your first coordination bug and the cheapest one you will ever fix.
Parallel agents are a real advantage, but only when they share a coherent picture of the world. The techniques that make this possible are old and well proven: a single source of truth, clear ownership, conditional writes and careful merging. Applied to agents, they turn parallelism from a source of surprises into a source of speed.
Ready to go deeper? Explore how agents are built on the IntelliBooks.







