Large-scale, dynamic and distributed multi-agent coordination for real-time systems