>cata-survey-of-agentic-coordination-formalisms.md

A Survey of Agentic Coordination Formalisms

What the assemblage names in a multiagent system, and the formal theories, from session types to Dec-POMDPs, that each make one part of it precise.

date

Deleuze and Guattari’s word assemblage (agencement) names a working arrangement of heterogeneous parts whose identity lies in what they do together rather than in what each part is. The relations are external to their terms: a component can be unplugged from one assemblage and plugged into another, and the whole persists not by essence but by ongoing processes of territorialisation, the stabilising of relations, and deterritorialisation, their coming loose.

A multiagent system at work on a complex task is an assemblage in exactly this sense: models, tools, humans, channels and task fragments, held together by nothing more than relations that are continually made and unmade. An orchestrator spawning a worker territorialises; a handle passed onward, a subtask re-routed or a private channel escaping its scope deterritorialises. The previous post treated the fabric of such arrangements through the π-calculus, but coordination spans a good deal more than message plumbing, and no single formalism totalises the assemblage. Each of the theories below is a cut, which holds one aspect still and makes it precise at the price of abstracting the rest.

> coordination-stack — six cuts through the assemblage · select a layer to jump
asideOn ascription, before the mental vocabulary starts

Talk of an agent’s beliefs and intentions invites the charge of anthropomorphism, so it should be said at the outset that the formalisms below make no psychological claim at all. Mental-state ascription, on McCarthy’s classic analysis, is legitimate when it expresses the same information about a system’s behaviour more compactly than a mechanistic description would.1 In the agent logics the ascribed states are modal operators with fixed axiom systems (belief typically as KD45, knowledge as S5), and intention, in Cohen and Levesque’s construction, is defined as a persistent goal within a temporal modal logic. The mental vocabulary is discharged into axioms.

What remains philosophically is the question of intentionality, the aboutness of states. The useful distinction here is derived intentionality: the content of a formal agent’s belief atoms is fixed by an externally supplied interpretation, much as model-theoretic semantics fixes the denotation of symbols. Nothing in the coordination theories below requires anything stronger. Whether some systems could possess original intentionality is a live philosophical question, but it is not one the formalisms ask or need answered; they operate, deliberately, at the level of behaviour under an interpretation.

The interaction fabric

The first family of formalisms fixes the structure of interaction: who can talk to whom, in what order, and how that changes. Its concern is whether a conversation can go wrong structurally, through mismatch, stuck states or orphaned messages, regardless of what any participant is thinking. This is the territory of the process calculi, of which the π-calculus is the member built for topologies that change as the system runs.

On top of the calculi sit session types, which turn a protocol into a checkable artefact. Where an ordinary type constrains a value, a session type prescribes the sequence, direction and payload of the messages on a channel: !Int. ?Bool. end{!}\mathsf{Int}.\,{?}\mathsf{Bool}.\,\mathbf{end} is the type of an endpoint that sends an integer, awaits a boolean and stops, while its peer holds the dual type. The multiparty form is a choreography, a single global description of the whole conversation, written from the viewpoint of no participant and projected mechanically to a local type for each. A well-formed choreography yields processes that are deadlock-free by construction.

Beneath this layer sits a proof theory. Linear logic, Girard’s logic of resources, removes the structural rules that let assumptions be duplicated and discarded, so that a proposition becomes something consumed by use; this is precisely the ontology of messages, channel endpoints and capabilities. Under a Curry–Howard correspondence discovered by Caires and Pfenning and sharpened in Wadler’s Propositions as Sessions, linear logic propositions are session types, proofs are π-calculus processes, and cut elimination is communication. Deadlock-freedom then stops being a property one checks and becomes a corollary of the logic, since a deadlock would amount to a cyclic proof and the logic has none. The correspondence runs further than this. Milner’s replication !P!P deliberately mirrors Girard’s exponential !A, both meaning an unlimited supply (which is what a server is), and Girard’s Geometry of Interaction programme reads proofs themselves as interacting processes, arriving at computation as communication from the side of proof theory.

The knowledge layer

Coordination failures are frequently knowledge failures, and epistemic logic makes them precise. The operator Ka φK_a\,\varphi says that agent aa knows φ\varphi, interpreted over the worlds aa cannot distinguish; the operators nest, and what aa knows about what bb knows is the currency in which protocols trade.

The central concept of the layer is common knowledge, written CG φC_G\,\varphi: everyone knows φ\varphi, everyone knows that everyone knows it, and so on through every level. Its central theorem is an impossibility. In the coordinated attack problem, two generals who can exchange messages only over an unreliable channel can never attain common knowledge of the plan, however many acknowledgements they send, and so can never guarantee simultaneous action. This sets a hard ceiling on what any coordination protocol can promise, and the ceiling binds a fleet of LLM agents as surely as it bound the generals. Before asking how agents should act together, then, one has to ask what each must know, and how that knowledge must propagate, for joint action to be possible at all.

The commitment layer

A team is more than a set of co-located workers, and the BDI tradition formalises the difference. Its account of individual agency, which runs from Bratman through Rao and Georgeff, treats intention as the commitment that makes deliberation tractable: an agent that reconsiders everything at every step never acts.

The multiagent extension is the theory of joint intention, a shared commitment to a goal together with an obligation of mutual belief about its status. The axiom that bears the weight is small and sharp. An agent that privately discovers the goal to be achieved, impossible or irrelevant may not silently drop it; it must first make that discovery mutually believed. Concrete obligations to communicate follow from this one requirement, and it is exactly what most current agent orchestrations lack, since a worker that fails silently is an agent without joint intentions. The theory says when an agent is obliged to speak. The agent communication languages of the FIPA era took up the adjacent question of what speaking binds one to, grounding their message types in speech act theory so that sending an inform or a request is itself an act with defined commitments.

The strategic layer

Where agents are self-interested, or merely autonomous, coordination becomes a matter of equilibrium. The baseline notion is the Nash equilibrium, a strategy profile on which no agent can improve by deviating alone; an arrangement that is not one depends on agents acting against their own interests to sustain it. Mechanism design runs the analysis in reverse, shaping the rules so that self-interested behaviour yields the outcome the designer wants, which is to ask under what rules honesty is rational. Cooperative game theory contributes the Shapley value, the canonical fair division of a joint payoff among the members of a coalition that only produces value together. Credit assignment among cooperating agents is exactly this problem.

The logical face of the layer starts from temporal logic, in which properties of executions are stated with □φ\square\varphi (“always”, the shape of safety properties) and ◊φ\lozenge\varphi (“eventually”, the shape of liveness). Alternating-time temporal logic replaces the path quantifiers with coalitions: ⟨ ⁣⟨A⟩ ⁣⟩ φ\langle\!\langle A\rangle\!\rangle\,\varphi says that the agents in AA have a joint strategy forcing φ\varphi whatever the others do. Because these are logics with finite models, model checking applies, and what a coalition can bring about becomes a property a tool can verify, counterexample traces included.

The decision layer

If one asks not whether coordination is possible but what the optimal joint behaviour is under uncertainty, and what it costs to find, the models are decision-theoretic. The single-agent base is the Markov decision process; its cooperative multiagent generalisation is the Dec-POMDP, in which several agents share one reward function but each acts only on its own local observations.

The headline result is negative. Solving a finite-horizon Dec-POMDP is NEXP-complete, which by the time hierarchy theorem is unconditional intractability rather than conjecture. Read as advice to those building such systems, it is a proof that fully general decentralised coordination does not scale, and that the structure practitioners impose (hierarchy, explicit communication, task decomposition) is a necessity rather than an optimisation. In the vocabulary of the opening, an assemblage that never reterritorialises is computationally unliveable.

The task layer

Finally, the task itself has a structure independent of who performs it, and the questions it raises are whether its dependencies admit completion and how work finds its worker. Petri nets model precedence, synchronisation and resource contention directly, and their workflow specialisation makes soundness (every run can complete and no task is dead) a decidable property of the task graph. On the allocation side, the contract net protocol is the venerable pattern: announce, bid, award, report, with subcontracting by recursion. Stripped of its deliberative content it is a small conversation structure, and its descendants are visible in every orchestrator that farms work out to bidders.

The layers together

Laid side by side, the layers do not form a hierarchy. No level grounds the others; each formalism cuts the assemblage differently and answers a question the others cannot ask, which is why the map is better read as a rhizome, with many entrances and no root. Session types will not tell you whether a worker is obliged to report failure; joint intention theory will not tell you whether the reporting protocol can deadlock; and neither will tell you what the coalition can force, or what optimal decentralised behaviour costs.

For a working orchestration of LLM agents, the cuts of most immediate use are those closest to the machinery: session types and choreographies for protocol conformance, epistemic preconditions for what each agent must be told, obligations in the style of joint intention for failure reporting, and the Dec-POMDP result as a standing justification for imposing structure. The strategic layer starts to bear weight the moment agents represent different principals.

Further reading

  • Michael Wooldridge, An Introduction to MultiAgent Systems (Wiley, 2009). The accessible map of the middle layers: architectures, communication, coordination, negotiation.
  • Yoav Shoham and Kevin Leyton-Brown, Multiagent Systems: Algorithmic, Game-Theoretic, and Logical Foundations (Cambridge, 2009). The rigorous companion, freely available online.
  • Ronald Fagin, Joseph Halpern, Yoram Moses and Moshe Vardi, Reasoning About Knowledge (MIT Press, 1995). The definitive treatment of the knowledge layer.
  • Frans Oliehoek and Christopher Amato, A Concise Introduction to Decentralized POMDPs (Springer, 2016). The decision layer, complexity results included.
  • Philip Wadler, ‘Propositions as Sessions’ (ICFP, 2012). The correspondence between linear logic and session types in its cleanest form.
  • Gilles Deleuze and Félix Guattari, A Thousand Plateaus (1980). The source of the assemblage; the opening plateau, ‘Rhizome’, is self-contained and the natural way in.
  • The π-calculus post and its references, for the interaction fabric in detail.

Footnotes

  1. John McCarthy, ‘Ascribing Mental Qualities to Machines’ (1979), written for Philosophical Perspectives in Artificial Intelligence, ed. Martin Ringle, and reprinted in McCarthy’s Formalizing Common Sense. Available from McCarthy’s Stanford pages. ↩