Guidelines on AI usage for research and teaching