From theory to practice in collective AI systems