ants were farming other animals long before humans figured it out! here is a Cautolasius herdswoman with her livestock
many subterranean Lasius species cultivate flocks of plump root aphids, guarding them against predators and moving them to safe locations and fresh pastures. they “milk” the aphids for honeydew, a sugary waste product of the aphids’ digestion. I’ve read the ants will only kill and eat their livestock in times of famine.
when I flipped their rock, this ant grabbed the nearest aphid and ran it to safety. she’s another species of Lasius, this one in the subgenus Chthonolasius; I can’t tell if her colony’s aphids are different from the Cautolasius’ though.