Smart agricultural systems