Farmers have to decide what to plant, what to buy, what to do when the crop goes wrong, and when to sell. Most of the software we found covers one of these decisions and leaves the rest alone. This paper looks at 27 studies, mostly from 2022 to 2026, on crop recommendation, fertilizer and input recommendation, advisory tools and disease detection, crop price prediction, online marketplaces, and a few joined-up platforms. For each one we note the method, the main finding, and what it leaves out if a farmer wants help from planting to sale. Tree-based ensembles turn up often in crop and input work, but price forecasting has no clear winner: ridge regression, LSTM and XGBoost each came out ahead in different studies. A handful of joined-up platforms exist, though they are mostly prototypes judged on benchmark data, and the e-NAM studies we read measure prices and arrivals but say nothing about advising the farmer. We also use our own prototype to show why accuracy figures need a simple baseline and real data before anyone leans on them. The paper ends with the gaps we found and a few things worth trying next.
Introduction
The text presents a literature survey on the application of machine learning and artificial intelligence in agriculture, focusing on supporting farmers throughout the agricultural cycle, from crop selection to selling harvested produce.
Traditional farming involves several challenges, including selecting suitable crops, choosing fertilizers, identifying crop diseases, obtaining reliable agricultural advice and accessing fair market prices. Although machine learning has been applied to each of these areas, most existing systems operate independently, requiring farmers to use multiple applications.
The paper reviews 27 research studies published mainly between 2022 and 2026 and classifies them into six major areas:
1. Crop Recommendation: Machine learning algorithms such as Random Forest, XGBoost, Naive Bayes and neural networks are used to recommend suitable crops based on soil nutrients, weather and environmental conditions. Several studies report high accuracy, but their results cannot be directly compared because they use different datasets and evaluation methods.
2. Fertilizer Recommendation: Machine learning models analyse soil properties, crop types and environmental conditions to suggest appropriate fertilizers. However, existing systems rarely provide information about fertilizer availability, suppliers or prices.
3. Agricultural Advisory and Disease Detection: Chatbots provide farmers with agricultural guidance, while deep learning models identify plant diseases from leaf images. However, disease detection models often perform better under laboratory conditions than in real agricultural environments.
4. Price Prediction: Algorithms such as LSTM, ARIMA, XGBoost and Random Forest are used to forecast agricultural commodity prices. However, accurate price prediction remains challenging, and simple forecasting methods sometimes perform as well as advanced models. Existing systems also rarely provide practical sell-or-hold recommendations.
5. Online Agricultural Marketplaces: Platforms such as India's e-NAM connect farmers with buyers and improve access to electronic trading. However, challenges involving infrastructure, payment processing, buyer verification and dispute resolution remain.
6. Integrated Agricultural Platforms: Recent research has attempted to combine crop recommendation, disease detection, weather forecasting, price prediction and chatbot services into unified platforms. Nevertheless, most systems lack real-world farmer testing and integrated marketplace facilities.
Research Gaps Identified
The literature survey identifies several important limitations:
Most agricultural applications provide individual services rather than a complete integrated solution.
Fertilizer recommendations are not sufficiently connected to product availability and purchasing facilities.
Disease detection models often lack accuracy under real-world field conditions.
Price prediction systems do not adequately support farmers in deciding when and where to sell their produce.
Existing integrated platforms lack sufficient real-world validation with farmers.
Model performance is sometimes exaggerated because of limited comparisons with simple baseline models.
Conclusion
We looked at 27 studies on crop recommendation, input recommendation, advisory tools and disease detection, price prediction, online marketplaces, and joined-up platforms. Tree-based ensembles are common in crop and input work, price forecasting has no agreed winner, advisory tools lean on chatbots, and the marketplace studies are mostly about e-NAM.
Each area has been worked on, and a few platforms now join several of them. What we could not find was evidence from real farms, or a platform that adds a marketplace and a sell or hold layer. That is where we would look next. The survey is narrative and covers a limited set of papers, so there are probably relevant studies we missed.
References
[1] Disha D S, Disha H Jain, Dhruhi Atykar, Parth Rawat, and Vanishree, \"IFAMS: An integrated farmer advisory and marketplace system using Random Forest crop recommendation, XGBoost price forecasting, and direct farmer-buyer bidding,\" Int. J. Res. Appl. Sci. Eng. Technol. (IJRASET), vol. 14, no. X, pp. 2055-2063, Oct. 2026.
[2] L. Breiman, \"Random forests,\" Mach. Learn., vol. 45, no. 1, pp. 5-32, 2001.
[3] T. Chen and C. Guestrin, \"XGBoost: A scalable tree boosting system,\" in Proc. 22nd ACM SIGKDD Int. Conf. Knowl. Discovery Data Mining, 2016, pp. 785-794.
[4] B. Dey, J. Ferdous, and R. Ahmed, \"Machine learning based recommendation of agricultural and horticultural crop farming in India under the regime of NPK, soil pH and three climatic variables,\" Heliyon, vol. 10, no. 3, Art. no. e25112, 2024, doi: 10.1016/j.heliyon.2024.e25112.
[5] S. Shastri, S. Kumar, V. Mansotra, and R. Salgotra, \"Advancing crop recommendation system with supervised machine learning and explainable artificial intelligence,\" Sci. Rep., vol. 15, 2025, doi: 10.1038/s41598-025-07003-8.
[6] A. Bhola and P. Kumar, \"Farm-level smart crop recommendation framework using machine learning,\" Ann. Data Sci., vol. 12, no. 1, pp. 117-140, Feb. 2025, doi: 10.1007/s40745-024-00534-3.
[7] K. S. Kathoon, N. V. Naik, T. V. Kumar, K. Narasimha, A. V. Srinivasulu, and E. H. S. N. Goud, \"Crop recommendation system using machine learning,\" in Proc. 1st Int. Conf. Res. Dev. Inf., Commun., Comput. Technol. (ICRDICCT), vol. 3, 2025, pp. 5-9, doi: 10.5220/0013890800004919.
[8] D. Dahiphale, P. Shinde, K. Patil, and V. Dahiphale, \"Smart farming: Crop recommendation using machine learning with challenges and future ideas,\" Artif. Intell. Appl., vol. 4, no. 3, pp. 323-335, 2025, doi: 10.47852/bonviewAIA52026214.
[9] M. Umamaheswari and D. Kavitha, \"Machine learning classification techniques for smart agriculture: A review of disease detection and crop recommendation,\" Front. Artif. Intell., vol. 9, Art. no. 1878006, 2026, doi: 10.3389/frai.2026.1878006.
[10] S. P. Singh, G. K. Saini, R. K. Arora, and P. Dabas, \"Predicting optimal fertilizers using machine learning and deep learning,\" in Proc. Int. Conf. Intell. Syst. Sustain. Future (ISSF 2026), Atlantis Press, 2026, pp. 338-345, doi: 10.2991/978-94-6239-693-7_34.
[11] K. Patel and H. B. Patel, \"Multi-criteria agriculture recommendation system using machine learning for crop and fertilizers prediction,\" Curr. Agric. Res., vol. 11, no. 1, 2023, doi: 10.12944/CARJ.11.1.12.
[12] H. W. Mzumara and J. Mulepa, \"Agricultural advisory management system with AI powered chat-bot,\" Int. J. Innov. Sci. Res. Technol., vol. 10, no. 11, Nov. 2025, doi: 10.38124/ijisrt/25nov004.
[13] IDinsight, \"Making digital tools work for farmers in Africa,\" scoping study funded by IDRC, Apr. 2025. [Online]. Available: https://www.idinsight.org/publication/making-digital-tools-work-for-farmers-in-africa/
[14] N. Singh et al., \"Farmer.Chat: Scaling AI-powered agricultural services for smallholder farmers,\" arXiv:2409.08916, 2024.
[15] S. P. Mohanty, D. P. Hughes, and M. Salathe, \"Using deep learning for image-based plant disease detection,\" Front. Plant Sci., vol. 7, Art. no. 1419, 2016.
[16] M. Jelali, \"Deep learning networks-based tomato disease and pest detection: A first review of research studies using real field datasets,\" Front. Plant Sci., vol. 15, Art. no. 1493322, 2024, doi: 10.3389/fpls.2024.1493322.
[17] M. Shafay, T. Hassan, M. Owais, I. Hussain, S. G. Khawaja, L. Seneviratne, and N. Werghi, \"Recent advances in plant disease detection: Challenges and opportunities,\" Plant Methods, vol. 21, no. 1, Art. no. 140, 2025.
[18] T. Nyawose, R. C. Maswanganyi, and P. Khumalo, \"A review on the detection of plant disease using machine learning and deep learning approaches,\" J. Imaging, vol. 11, no. 10, Art. no. 326, 2025, doi: 10.3390/jimaging11100326.
[19] S. Khare, \"Machine learning enabled crop price prediction: A review,\" Indian J. Comput. Sci., vol. 11, no. 1, pp. 31-37, 2026, doi: 10.17010/ijcs/2026/v11/i1/175963.
[20] T. Zhao, G. Chen, S. Suraphee, T. Phoophiwfa, and P. Busababodhin, \"A hybrid TCN-XGBoost model for agricultural product market price forecasting,\" PLOS ONE, vol. 20, no. 5, Art. no. e0322496, May 2025, doi: 10.1371/journal.pone.0322496.
[21] Z. Chen, H. S. Goh, K. L. Sin, K. Lim, N. K. H. Chung, and X. Y. Liew, \"Automated agriculture commodity price prediction system with machine learning techniques,\" Adv. Sci. Technol. Eng. Syst. J., vol. 6, no. 4, pp. 376-384, 2021, doi: 10.25046/aj060442.
[22] R. L. Manogna, V. Dharmaji, and S. Sarang, \"Enhancing agricultural commodity price forecasting with deep learning,\" Sci. Rep., 2025, doi: 10.1038/s41598-025-05103-z.
[23] G. H. H. Nayak, M. W. Alam, K. N. Singh, G. Avinash, R. R. Kumar, M. Ray, and C. K. Deb, \"Exogenous variable driven deep learning models for improved price forecasting of TOP crops in India,\" Sci. Rep., vol. 14, no. 1, 2024, doi: 10.1038/s41598-024-68040-3.
[24] M. Patil, L. Achoth, and K. B. Vedamurthy, \"Onion price forecasting: A comparative analysis of SARIMA, Holt-Winters and LSTM models in the Bengaluru market,\" Mysore J. Agric. Sci., vol. 59, no. 2, pp. 195-205, 2025.
[25] S. P. Balantrapu, G. R. Raju, S. S. Mudigonda, and L. A. Kalur, \"Forecasting minimum support price-anchored mandi prices for wheat and maize in India: A comparative machine-learning and time-series framework,\" Agric. Sci. Digest, vol. 46, pp. 129-135, 2026, doi: 10.18805/ag.D-6567.
[26] R. J. Hyndman and A. B. Koehler, \"Another look at measures of forecast accuracy,\" Int. J. Forecasting, vol. 22, no. 4, pp. 679-688, 2006.
[27] Press Information Bureau, Government of India, \"National Agriculture Market (e-NAM): Digital transformation of agricultural trade in India,\" Apr. 13, 2026. [Online]. Available: https://static.pib.gov.in/WriteReadData/specificdocs/documents/2026/apr/doc2026413845801.pdf
[28] P. K. Swain, \"Impact of development of National Agriculture Market (e-NAM) on farmers,\" Indian J. Agric. Sci., vol. 92, no. 12, pp. 1484-1489, Dec. 2022, doi: 10.56093/ijas.v92i12.127701.
[29] R. K. Mahto and C. Patil, \"Assessing the impact of e-NAM on arrivals and prices of agricultural commodities: A case study in Haryana, India,\" Mysore J. Agric. Sci., vol. 59, no. 4, pp. 305-318, 2025.
[30] A. Singh, Kiran, and S. Sihag, \"Changing pattern of prices and arrivals of agricultural commodities through e-NAM: A case study of Sirsa APMC in Haryana,\" Econ. Reg. Stud., vol. 16, no. 4, pp. 694-707, Dec. 2023, doi: 10.2478/ers-2023-0042.
[31] S. Chaudhary and P. K. Suri, \"The impact of digitalisation on the agricultural wholesale prices to aid agrarian income,\" Agric. Econ. (Czech), vol. 68, no. 10, 2022, doi: 10.17221/113/2022-AGRICECON.
[32] P. A. Krishna, N. Padhy, and A. Patnaik, \"Applying machine learning for sustainable farm management: Integrating crop recommendations and disease identification,\" Eng. Proc., vol. 67, no. 1, Art. no. 73, Nov. 2024.
[33] B. Sribharathi, V. Cibirajan, S. Harikishore, S. Sakthivel, and B. Thulasidharan, \"AI-driven platform for crop optimization, weather forecasting and agricultural innovation,\" in Proc. 1st Int. Conf. Res. Dev. Inf., Commun., Comput. Technol. (ICRDICCT), 2025, pp. 304-311, doi: 10.5220/0013897100004919.
[34] D. Dwibedy, A. Nishtala, P. Mukku, and D. Snehaja, \"Smart profit-aware crop advisory system: Kisan AI,\" arXiv:2605.00133, 2026.