Agent based modeling (ABM) takes into account context of individual agents, while System dynamics works on aggregates. Both are used to model societal systems. In any given societal system both behavior types exist- micro world of agents' behavior and macro world of aggregate behavior.