  The mean-field analysis of a multi-population agent-based model is performed.
The model couples a particle dynamics driven by a nonlocal velocity with a
Markow-type jump process on the probability that each agent has of belonging to
a given population. A general functional analytic framework for the
well-posedness of the problem is established, and some concrete applications
are presented, both in the case of discrete and continuous set of labels. In
the particular case of a leader-follower dynamics, the existence and
approximation results recently obtained in [2] are recovered and generalized as
a byproduct of the abstract approach proposed.
