Agroecology uses natural processes and local resources rather than chemical inputs to ensure production while limiting the environmental footprint of livestock and crop production systems. Selecting to achieve a maximization of target production criteria has long proved detrimental to fitness traits. However, since the 1990s, developments in animal breeding have also focussed on animal robustness by balancing production and functional traits within overall breeding goals. We discuss here how an agroecological perspective should further shift breeding goals towards functional traits rather than production traits. Breeding for robustness aims to promote individual adaptive capacities by considering diverse selection criteria which include reproduction, animal health and welfare, and adaptation to rough feed resources, a warm climate or fluctuating environmental conditions. It requires the consideration of genotype×environment interactions in the prediction of breeding values. Animal performance must be evaluated in low-input systems in order to select those animals that are adapted to limiting conditions, including feed and water availability, climate variations and diseases. Finally, we argue that there is no single agroecological animal type, but animals with a variety of profiles that can meet the expectations of agroecology. The standardization of both animals and breeding conditions indeed appears contradictory to the agroecological paradigm that calls for an adaptation of animals to local opportunities and constraints in weakly artificialized systems tied to their physical environment.