Nissa Gadbois wrote:to shop, to learn, to eat, to sleep, perchance to dream.
Nissa: These things vary state-by-state so you're going to have to go in and ask. But what you ask is very, very important! The department is built to say "No" to anything that doesn't fit the right category, so you have to define the category.
First, you're a farm. (Assuming you are actually zoned "farm" or equivalent). Generally, you can build any kind of structure you want - so long as it doesn't look anything like a place for people to sleep or live. Its up to you to make sure the building doesn't collapse and kill your critters, but its very much their job to make sure anything that people are "supposed" to sleep in doesn't fall down and go boom. There is likely another code that says something like "farm building can't have more than 10 people in them at a time" - again a public safety oriented idea.
Second, you might need to fall back on the "home based business" category. I'm going to have to do that because the definition of "farming activity" is, IMHO, too narrow and precludes adding any value to the product after its grown. Calling it a home-based business solves that problem (for the activity, not necessarily the excuse for the building).
In my area (Oregon) there are many, many restrictions on residential structures. I find the restrictions on even building a deck frustrating. But if its a farm building then the zoning people only get to make sure that its built with proper setbacks from the property line. If I add electricity or plumbing they need to inspect those, but again they pay no attention to the building itself. And so long as my home-based business doesn't use more than 1800 sq ft (I think...) then they don't care about that. So I can build a 30x50 "farm maintenance" building with a woodshop.
The other thing is figure out what you "can not build". Codes are made to apply to certain things and say it very explicitly - so figure out what they don't apply to! If the code says "a structure for gathering 10 or more people", then you specify that your building will only have 9 people in it at a time (and maybe even hang a sign to that effect).
And always avoid the word "commercial" at all costs!! That word means something very different to zoning and planning people than it does to you... to them a commercial building/activity means traffic, signs, parking lots, public access, idiot customers, police calls, employees. "Home based business" evokes quilting circles, spinning wheels and quiet cups of tea, jars of honey and no phone calls from the neighbors complaining!
p..s found this link: https://www.massagcom.org/StateLaws.php#ch40
Most of the links to the state sites don't work but that one makes it pretty clear that as a farm you can do things!