Nitrogen is one of the most important macronutrients for crops, and in conjunction with artificial intelligence algorithms, it is possible to estimate it with the aid of vegetation indices through remote sensing. Various indices were calculated and those with a correlation ≥ 0.7 were selected for subsequent use in Random Forest, Gradient Boosting, and Artificial Neural Networks to determine their relationship with nitrogen levels measured in the laboratory. Random Forest showed no relationship, yielding an R2 of zero, whereas Artificial Neural Networks yielded the best results with an R2 of 0.93. Thus, it is reliable to estimate nitrogen levels using this algorithm by feeding it with data from TCARI, MCARI, TCARI/OSAVI, and MCARI/OSAVI, assisted by technological tools.