Notebook
Also written: Jupyter Notebook
A document mixing code, text, and visuals for interactive computing, data analysis, and machine learning.
A notebook is like a digital lab notebook. It lets you write and run code, add explanations in plain text, and see charts or images, all in one place.
Think of it for learning a new programming skill or analyzing data. You can try out code snippets, see the results immediately, and write down your thoughts or findings as you go. This makes it easy to experiment and understand complex topics.
A notebook is an interactive computational environment that allows users to create and share documents containing live code, equations, visualizations, and narrative text. It typically consists of cells, where each cell can contain code (e.g., Python, R) or markdown text. The execution of code cells is sequential and interactive, enabling rapid prototyping, data exploration, and reproducible research.
Popular notebook interfaces like Jupyter and Google Colab are widely used in data science and machine learning workflows. They facilitate collaboration and make complex analytical processes more accessible by integrating code, documentation, and output.
Google Gemini's API Cookbook frequently updates its notebooks, adding new models, fixing links, and improving testing. These updates show how notebooks are central to how developers learn about and use new AI models and features.
- Gemini API Cookbook: Add Gemini 4 Argon support, long decode examples, and migration guide (#1423)Google · Gemini API Cookbook ·
- Gemini API Cookbook: fix(notebooks): restore specialized default models in Get_started_transcribe and Sketch2Paint (#1409)Google · Gemini API Cookbook ·
- Gemini API Cookbook: feat(models): add gemini-nano-banana-2.1 to model selectors across notebooks (#1410)Google · Gemini API Cookbook ·
- Gemini API Cookbook: Fix 17 broken links after notebook renames and folder cleanup (#1396)Google · Gemini API Cookbook ·
- Gemini API Cookbook: feat(nb_tester,nblint): transient-only retries, --fail-fast, --skip-long-notebooks, --dir/--quickstarts-only & enforce YouTube downloader ban (#1388)Google · Gemini API Cookbook ·
- Gemini API Cookbook: feat: add Gemini 3.8 Live Extended Thinking quickstart and thinking level configuration (#1379)Google · Gemini API Cookbook ·
- Gemini API Cookbook: fix(quickstarts): correct grammar in Enum notebook (#1325)Google · Gemini API Cookbook ·
- Anthropic Courses (GitHub): Merge pull request #35 from codeblech/patch-1Anthropic · Anthropic Courses (GitHub) ·
- Anthropic Claude
- Anthropic uses notebooks in its GitHub courses to guide users on Claude's capabilities.
- Google Gemini
- Google Gemini heavily uses notebooks in its API Cookbook to demonstrate model usage, provide code examples, and guide developers through new features and migrations.
- IDE
- An Integrated Development Environment is a comprehensive software suite for
- Script
- A script is a standalone file of code intended to be run non-interactive
- Markdown Document
- A markdown document is primarily for text formatting and stat
The concept of interactive notebooks gained significant traction with the release of IPython in 2001, which later evolved into Project Jupyter. Jupyter notebooks are now a de facto standard in data science. Source ↗
Open a Google Colab or Jupyter notebook. Try writing a simple Python command like `print('Hello, AI!')` in one cell and running it. Then, in another cell, write a sentence explaining what you just did using markdown formatting.
The Playbook: reusable how-tos, prompts, configs and tips pulled out of the news.
- PromptRole-play a student struggling with math for AI tutor simulationSimulate a student's math struggles and uncertainty for AI tutor evaluation. · 5 min
- TemplateReusable workflow templates for healthcare teamsTeams can create and share templates for common workflows like documentation or prior authorizations. · 15 min
- TemplateTemplate for building an AI tool tailored to your workA structured approach to defining and building a custom AI tool for specific business needs. · 15 min
- TemplateEvals CSV prompt list for agent skillsA CSV file template for listing prompts used in evaluating agent skills. · 20 min
- HeuristicDouble coding agent task completion with docs linksProviding coding agents with a documentation link significantly increases their task completion rate. · 2 min
Questions people ask
- What is a notebook used for?
- Notebooks are used for interactive computing, data analysis, machine learning, and sharing code with explanations and results.
- Can I use notebooks with AI models?
- Yes, notebooks are commonly used to interact with AI models, run code that calls AI APIs, and analyze the AI's outputs.
First seen on Subvolts Sep 17, 2024. Updated Oct 14, 2026. Written by an AI model from the items above and reviewed against them weekly; report an error.

