Modern agriculture also requires lots of energy to run the farm machinery. That is currently fossil fuels, it could be renewable electricity, but it requires civilization to do at scale. Then require energy and transportation to get the food from farmers to the cities.