The Terms of Reference for the AI in Science Working Groups (AISWGs) define the objectives, structure, roles and responsibilities, and operational modalities of the working groups covering five scientific pilot areas and five cross-cutting AI-related topics.