Agents and Goals in Evolution