In this paper, we present the design and implementation of a novel agent-based platform to collect waste on cities and villages. A low cost sensor prototype is developed to measure the fulfilling level of the containers, a route system is developed to optimize the routes of the trucks and a mobile application has been developed to help drivers in their work. In order to evaluate and validate the proposed platform, a practical case study in a real city environment is modeled using open data available and with the purpose of identifying limitations of the platform.