On the Control of Multi-Agent Systems