Agriculture was the main economic activity which dominated Ancient Mesopotamia. Every preindusrial economy (in other words, before 1800 - 1850 AD) was primarily agricultural, with the bulk of the population living on subsistence - Ancient Mesopotamia included obviously. Today about 97% of the work force has a non-agricultural job and 3% farm - back in Ancient Mesopotamia, those stats would be reversed. The 3% (and this is just an estimate, so don't quote me on it) lived in a city, and they probably did crafts work, blacksmithing, ship building, made pottery, were priests of some kind, professional soldiers / mercenaries, were tax collectors or some government position, were doctors, architects, merchants, entertainers, etc.