The freedom of collective agents