Towards sustainable agriculture for developing countries