A growing awareness that highly intensified agricultural systems have made a substantial worldwide contribution to the worsening of the resilience capacity of natural ecosystems has, over the last twenty years, brought general attention to agroecological management models. This aspect is even more evident in industrial agriculture, which is based on the use of multiple chemical products derived from non-natural synthesis. In more developed countries, a new idea of ecology linked to agricultural production has been increasingly developed and, for this reason, there has been a greater diffusion of differentiated agricultural models taking into consideration the environmental impact of production choices and policies addressed to the conservation of natural resources. In urban agricultural production, it is even more important to adopt resilient production models that, in addition to developing responsible production paths and allowing a positive connection with the needs of consumers, guarantees reasonable and positive behaviors respecting the environment in which most of the urban population lives; in other words, the implementation of goal 12 of the sustainable development goals (SDG #12 Responsible Production and Consumption) of the United Nations. In this work, we report some case studies inspired by the activities carried out by the Slow Food Association in Africa and demonstrate the importance of agroecological models in small-scale agricultural systems, related to the development of school and community gardens in small urban areas of different African countries, as a tool for integrating agricultural activities aimed at social resilience and the conservation of ecosystems.