hunting => cooperative hunting => agriculture => leisure => civilization
This has already happened 50 to 100 million years ago with several insect species. For example, the leaf cutter ants of brazil breed and raise aphids (animal husbandry, they even produce antibiotics to protect the aphids from molds), feeding them processed leaf mash and then milking them for nutritional dew. The ants, of course, also have a complex societal structure and civilization. Not sure in which order these behaviors developed, but they did it all using a fraction of their 100,000 neurons (I'm equally unsure how many neurons the typical human farmer or rancher uses.). Don't want to be around when they first split the atom (the ants, not the human farmers.) Seems us primates, troglodytes and otherwise, are a little slow on the uptake.