Chapter 10. Interaction Management
In Chapter 9, we saw how the registry provides a structured way to record agents, their metadata, and the policies that govern them. But a registry on its own is static; the real value of the mesh emerges when those agents begin to communicate and work together. Communication—whether between people and agents or among agents themselves—drives the bulk of the activity in the mesh and is what transforms a catalog of agents into a functioning ecosystem.
In this chapter, we turn from records to exchanges. We look at the different forms of interaction that take place within the mesh, examining how tasks are initiated, how context is preserved, and how outcomes are tracked. Where earlier chapters offered high-level overviews, now we break down the patterns of interaction in greater detail, showing how they underpin coordination, trust, and scale.
But what are interaction patterns? Agentic mesh interaction patterns are the repeatable ways agents and people exchange messages, make progress on tasks, and coordinate outcomes. They define who speaks to whom, over what channel, with what context attached, and how that conversation advances state. In practical terms, they are the rules of the road that keep thousands of autonomous components from talking past one another.
These patterns matter because autonomy alone doesn’t guarantee coordination. Without shared conventions for how to start an interaction, how to carry forward context, and how to signal completion ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access