In the classic period artists were exclusively male, and normally grouped in workshops, of which the royal workshop (not necessarily in a single building) was much the most prestigious, recruiting talented artists from the bazaar workshops in the major cities.
Royal librarians probably played a significant role in managing the commissions; the extent of direct involvement by the ruler himself is normally unclear.