Expat work requirements for working in Mexico

My wife and I are going to be spending 5 months in Mexico on a pseudo vacation.  We'd like to maybe find part-time work with a tourist org. or some sort of entity looking for expat expertise.  If we happen to find something, I don't know what permit the Mexican government requires of expats working in Mexico. 

Does anyone know? 

Thanks.

You need resident status to work in Mexico. Check with a consulate