This repository provides the agent-based modeling framework developed in Python (Mesa) to simulate agroecological transition trajectories of farming systems in Mali. The model explores the effects of policy support, learning processes and territorial heterogeneity on transition dynamics and long-term agroecological performance.