A psychology for the ecosystem