Custom Instructions and Learn Mode — two new improvements to Colab’s Gemini integration — give you more control over how Colab works and how it helps you learn.
Spencer Shumway
Product Manager
Mae LaPresta
Software Engineer
General summary
Google Colab now lets you customize your Gemini AI agent with Custom Instructions and Learn Mode. Custom Instructions let you tailor Gemini to your specific needs and share your personalized assistant with others. Learn Mode transforms Gemini into a personal coding tutor, offering step-by-step guidance to help you build your coding skills.
Summaries were generated by Google AI. Generative AI is experimental.
Bullet points
Google Colab introduces "Learn Mode," turning Gemini into your personal coding tutor. Custom Instructions let you tailor Gemini's responses to your coding style and project needs. Learn Mode gives step-by-step guidance, helping you understand concepts instead of just giving answers. Custom Instructions are saved in your notebook, so shared notebooks have a tailored AI experience. These features help you learn, build, and share your coding knowledge with the Colab community.Summaries were generated by Google AI. Generative AI is experimental.
Basic explainer
Google Colab has new AI features to help you code. Custom Instructions let you tell the AI how you want it to help. Learn Mode turns the AI into a coding tutor, giving you step-by-step help instead of just writing the code for you. You can also share your custom AI settings with others.
Summaries were generated by Google AI. Generative AI is experimental.
Your browser does not support the audio element.
Listen to article
This content is generated by Google AI. Generative AI is experimental
[[duration]] minutes
Google Colab is expanding its Gemini integration with two new improvements that will help you customize your Gemini agent in Colab. Custom Instructions and Learn Mode give you more control over how Gemini in Colab works and how it helps you learn.
Custom Instructions, stored at the notebook level, allow notebook authors to tailor their Colab Gemini AI assistant and share their personalized assistants with the Colab community. Learn Mode turns Gemini into a personal coding tutor that provides step-by-step guidance instead of writing code for you.
Whether you're a seasoned developer brushing up on a new framework, an educator designing coursework or a student who’s new to coding, Custom Instructions and Learn Mode make Gemini a more flexible, one-of-a-kind assistant.
Customize your preferences
Add context to fit your personal workflow, class or project needs with Custom Instructions.
Do you have a preferred coding style? Do you want your agent to be aware of your class syllabus when making recommendations? Do you want Gemini to always use a specific library when teaching you? Add those preferences as Custom Instructions. Toggle them directly from the Gemini chat box and save them to your notebook.
Build your skills in Learn Mode
Have you ever wanted Gemini to guide you rather than just give you the answer?
Instead of solving your problem with a block of copy-paste code, Learn Mode — which is powered by Custom Instructions — answers coding questions with step-by-step instructions that break down complex topics, explain the underlying concepts and help you develop your skills.
You can turn on Learn Mode from the Gemini chat window in Colab. It's the perfect companion for anyone looking to deepen their understanding of new frameworks or programming languages.
You can see some example notebooks below. Start a chat with the Gemini Colab agent, which is preprogrammed to use Learn Mode in these notebooks, and it will guide you through the Python programming exercises.
List exercisesString exercisesShare your knowledge
One of the best parts about Colab is the community and the ability to share your work, and we built these features with sharing in mind.
Custom Instructions are stored directly within your notebook and applied to future Gemini chats in that notebook. When you share your notebook with colleagues or the broader community, those instructions travel with it. This ensures that anyone collaborating on or learning from your notebook gets the tailored AI experience you designed.
We can't wait to see how you use Custom Instructions and Learn Mode to discover, build and share your work.
Done. Just one step more.
Check your inbox to confirm your subscription.
You are already subscribed to our newsletter.
You can also subscribe with a
.png)
6 days ago
English (United States) ·
French (France) ·