
Google has announced major updates to Google Colab, introducing new ways to personalize the AI experience within notebooks. The update focuses on two primary features: Custom Instructions and a new Learn Mode, both designed to give developers and students more control over how the Gemini AI agent assists them.
Learn Mode: A Personal Coding Tutor
Moving beyond simple code generation, Learn Mode transforms Gemini into a pedagogical assistant. Instead of providing a block of code to copy and paste, the AI provides step-by-step guidance. It breaks down complex topics and explains underlying concepts, helping users build their coding skills rather than just solving the immediate problem. This makes it an ideal tool for educators and students.
Tailored Assistance with Custom Instructions
Developers can now define specific preferences for how Gemini behaves in a given notebook using Custom Instructions. This allows for:
Coding Style Alignment: Ensuring the AI follows specific formatting or library preferences.
Curriculum Context: Educators can provide a syllabus or specific teaching guidelines.
Project-Specific Rules: Setting constraints or requirements for a particular workflow.
Collaborative AI Experiences
A key aspect of this update is that Custom Instructions are stored at the notebook level. When a developer shares a Colab notebook with the community, the personalized AI instructions travel with it. This ensures that anyone interacting with the shared notebook receives the same tailored AI experience designed by the original author.

Join the conversation! Your thoughts help the community grow.