How to Cut Fossil Fuels in Agriculture With Renewable Energy

The fact that agriculture is dependent on fossil fuels is a big problem given we may run out of oil some day. Is renewable energy the answer?