I didn't say modern agriculture requires fossil fuels, I said modern agriculture is dependent upon fossil fuels.
We can imagine a world with electric tractors, made with steel coked with biocarbon in solar-thermal furnaces, where the Haber process is run with hydrogen derived from clean electrolysis. But we don't inhabit that world at the moment.
That's a distinction that makes no difference. Agriculture uses only about 1% of our energy, so if we can move industrial society off fossil fuels, we can easily move farming off fossil fuels. Alluding to the specter of famine is just scaremongering.