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.















