Actually, I have seen many goats raised just on pasture, with very little grains.
Chickens can forage and find their own grains, greens, and bugs.
For a goat, or chicken, grains are dessert, not the main meal.
Dogs would do better on more meat and less grains as well. Read your label, most dogfood is mostly corn.
I am making plans to increase legumes for the household use, and dry the plants for the animals.
Herbs will be increased, and dried for animals as well.
Blackberries, once they are done fruiting, will never fruit on that cane again, they only fruit on the previous years cane, so I will cut out the canes, and dry the prickly critters, bundle them, and have them to augment the animals diets. Blackberry leaves, make great tea for humans, and are medicine and food to goats.
Grains are far less important than well dried vegetation for my animals. I don't have hayfields, so I must rethink saving some garden wastes for goat food. The pasture will feed them pretty well all season, but in winter, they will need added roughage. No more weed-eating, it will have to be...scythe and let dry then homemade haybales! Most of these weeds will have more than enough grains in them.