This book addresses problems in the modeling, detection, and control of emergent behaviors and task coordination in multiagent systems. It presents a unified solution to such problems in terms of distributed estimation, distributed control, and optimization of interaction topologies and dynamics.