Agents, equations and all that: on the role of agents in understanding complex systems