A scientific approach to agent selection