Or just make it a function of the military. A crop corps, if you will. We already have the Army Corps of Engineers. This would be just another civil function.
After all, food independence from other states, and ensuring the security of logistics supply like food, are an important part of any military strategy.