Part VI: Distributed AI and Multi-Agent Systems
Chapter 27: Distributed Artificial Intelligence

Distributed Artificial Intelligence

For twenty-six chapters this book distributed five things: data across storage, computation across processors, models across devices, training across workers, and inference across a serving fleet. In every one of those, the unit of distribution was a piece of one program, a shard of one model, a batch of one dataset, all serving a single decision-maker. Part VI distributes the sixth and last axis, intelligence itself, and the unit of distribution becomes an agent: an entity that perceives its own slice of the world, reasons with its own knowledge, decides on its own goals, and acts on its own authority. This chapter is the foundation of that turn. Distributed Artificial Intelligence, DAI, is the older field from which modern multi-agent systems descend, and it asks a question none of the earlier parts had to: when the distributed pieces are themselves decision-makers, how do they solve a problem together that no one of them could solve alone? The answers built over four decades, distributed problem solving, blackboards, contract nets, distributed constraint optimization, coordination protocols, and the logic of distributed knowledge, are not historical curiosities. They are the conceptual machinery underneath today's LLM agent swarms, tool-using assistants, and orchestrated agent pipelines. The nine sections trace DAI from its origins to its reappearance in the systems engineers build right now, so that when Part VI later reaches game theory, multi-agent reinforcement learning, and agent orchestration, the vocabulary of cooperation, contracting, and common knowledge is already in hand. This is the first chapter of Part VI, and it is where the unit of distribution stops being a tensor and becomes an actor.

Conceptual illustration for Chapter 27: Distributed Artificial Intelligence

"I solved my part of the problem perfectly and on time. The trouble was that three other agents solved their parts perfectly too, and none of our perfect parts fit together. We have since learned to talk before we act."

An Agent That Optimized Locally and Regretted It Globally

Chapter Overview

This chapter opens Part VI by taking the distribution thesis that has run through the whole book and applying it to the one thing the earlier parts always kept centralized: the decision-maker. Up to now, however widely a computation was spread, it served a single agent that owned the goal and made the call. Distributed Artificial Intelligence drops that assumption. It studies systems of multiple autonomous agents, each with partial information, local goals, and the power to act, and asks how they can be made to solve a shared problem together. The nine sections build the classical theory of that question and then connect it forward to the agentic systems engineers ship today, so that the field's modern vocabulary rests on the foundations that produced it rather than floating free of them.

Read in order, the nine sections take you from "multi-agent AI is a recent invention of the LLM era" to a working mental model of a much older and deeper field: a set of autonomous agents decomposes a problem, shares partial results through a common structure, allocates tasks by contracting, optimizes a global objective split into local constraints, coordinates its actions and cooperates toward shared goals, reasons explicitly about what each agent knows and what they know in common, and, in its modern form, becomes the agent swarms and orchestration pipelines built on top of language models. The argument is cumulative and it opens Part VI's arc: the serving and operational infrastructure of Part V becomes the substrate on which these agents run, and the classical DAI mechanisms developed here become the protocols that the game theory of Chapter 28 and the multi-agent systems of Chapter 29 formalize and extend.

Prerequisites

This chapter assumes the distributed-systems foundations of Part I, and most directly the concepts chapter. From Chapter 2: Distributed Systems Concepts for AI you carry the vocabulary that distributed AI is built on: partial information and the absence of a global clock, message passing as the only way separated processes learn anything about one another, the difference between centralized and decentralized control, and the impossibility results that bound what agreement is even achievable when communication can fail. Those ideas, originally framed for processes and replicas, return here promoted to agents that not only compute but decide, so that coordination, contracting, and common knowledge become the agent-level versions of the consistency and consensus problems Chapter 2 introduced. Beyond Chapter 2 the chapter assumes comfortable reading of pseudocode and light formal notation, a working picture of optimization and constraint satisfaction for Section 27.6, and the general distributed-systems intuition the whole book has been building. No prior exposure to agent theory, game theory, or formal logic is required; Section 27.1 builds the field from its origins, and each mechanism is developed from first principles before it is connected to the modern systems that use it.

Learning Objectives

Chapter Roadmap

What's Next?

This chapter opened Part VI by distributing the last axis, intelligence itself, and laid down the classical foundations of the field: distributed problem solving, the architectural spectrum, blackboards, contract nets, distributed constraint optimization, coordination and cooperation, the logic of distributed knowledge, and the reappearance of all of it in modern agentic systems. What it has not yet done is give the agents a theory of one another. DAI mostly assumed cooperation: the agents want the shared problem solved. But autonomous agents can have goals that conflict, and an agent that reasons about peers must reason about peers who are reasoning about it in return. Chapter 28: Game-Theoretic Foundations for Multi-Agent AI supplies that theory. It develops the mathematics of strategic interaction, payoffs, best responses, equilibria, and mechanism design, that tells you what self-interested agents will actually do, and when cooperation is a stable outcome rather than a hopeful assumption. Where this chapter built the protocols by which agents coordinate, the next builds the analysis of whether they will choose to. Read it next, and watch coordination become a question with a strategic answer.

Bibliography & Further Reading

Foundations of Distributed Problem Solving

Smith, R. G. "The Contract Net Protocol: High-Level Communication and Control in a Distributed Problem Solver." IEEE Transactions on Computers, C-29(12), 1980. ieeexplore.ieee.org

The paper that introduced task allocation by announcement, bidding, and award, the market mechanism that grounds Section 27.5 and prefigures modern agentic task delegation.

๐Ÿ“„ Paper

Erman, L. D., Hayes-Roth, F., Lesser, V. R., Reddy, D. R. "The Hearsay-II Speech-Understanding System: Integrating Knowledge to Resolve Uncertainty." ACM Computing Surveys, 12(2), 1980. dl.acm.org

The system that established the blackboard architecture, with independent knowledge sources contributing opportunistically to a shared solution, the canonical reference for Section 27.4.

๐Ÿ“„ Paper

Durfee, E. H., Lesser, V. R., Corkill, D. D. "Trends in Cooperative Distributed Problem Solving." IEEE Transactions on Knowledge and Data Engineering, 1(1), 1989. ieeexplore.ieee.org

A survey that consolidated the cooperative-distributed-problem-solving paradigm and its coordination concerns, the framing reference for Sections 27.1, 27.2, and 27.7.

๐Ÿ“„ Paper

Distributed Constraint Optimization

Modi, P. J., Shen, W.-M., Tambe, M., Yokoo, M. "ADOPT: Asynchronous Distributed Constraint Optimization with Quality Guarantees." Artificial Intelligence, 161(1-2), 2005. sciencedirect.com

The asynchronous DCOP algorithm with bounded-error guarantees that anchors the optimization theory of Section 27.6.

๐Ÿ“„ Paper

Petcu, A., Faltings, B. "DPOP: A Scalable Method for Multiagent Constraint Optimization." Proceedings of the 19th International Joint Conference on Artificial Intelligence (IJCAI), 2005. ijcai.org

A dynamic-programming DCOP method that trades message count for message size, the complement to ADOPT discussed in Section 27.6.

๐Ÿ“„ Paper

Farinelli, A., Rogers, A., Petcu, A., Jennings, N. R. "Decentralised Coordination of Low-Power Embedded Devices Using the Max-Sum Algorithm." Proceedings of the 7th International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2008. dl.acm.org

The Max-Sum message-passing approach to decentralized coordination over resource-constrained agents, the third DCOP method developed in Section 27.6.

๐Ÿ“„ Paper

Cooperation, Knowledge, and Belief

Cohen, P. R., Levesque, H. J. "Teamwork." Noรปs, 25(4), 1991. jstor.org

The joint-intention account of how agents form and maintain shared commitments, the theoretical basis for the teamwork material in Section 27.7.

๐Ÿ“„ Paper

Halpern, J. Y., Moses, Y. "Knowledge and Common Knowledge in a Distributed Environment." Journal of the ACM, 37(3), 1990. dl.acm.org

The formal treatment of distributed knowledge and common knowledge among processes, the logical foundation for what an agent must establish about its peers in Section 27.8.

๐Ÿ“„ Paper

Textbooks and Surveys

Wooldridge, M. "An Introduction to MultiAgent Systems." 2nd edition, John Wiley & Sons, 2009. wiley.com

The standard graduate textbook on agents and multi-agent systems, covering coordination, negotiation, and agent communication, the general companion reference for the whole chapter.

๐Ÿ“š Book

Weiss, G. (ed.). "Multiagent Systems: A Modern Approach to Distributed Artificial Intelligence." MIT Press, 1999. mitpress.mit.edu

The edited volume that surveyed DAI and multi-agent systems across distributed problem solving, coordination, and learning, a breadth reference for Sections 27.1 through 27.9.

๐Ÿ“š Book