Jupyter AI: AI Coding in Notebooks
Instructor: Andrew Ng and Brian Granger
- Beginner
- 44 Minutes
- 5 Video Lessons
- 3 Code Examples
- Instructor: Andrew Ng and Brian Granger
What you'll learn
Use Jupyter AI to generate code, debug errors, and get explanations—all without leaving your notebook environment.
Build AI applications from scratch, including a book research assistant and a stock data analysis workflow, using Jupyter AI.
Apply AI coding best practices to guide Jupyter AI with the right context to successfully build your projects.
About this course
Learn to use Jupyter AI as your notebook coding partner in this short course, taught by Andrew Ng and Brian Granger, co-founder of Project Jupyter.
Coding practices are shifting from manual coding to AI-assisted development, and Jupyter AI allows you to integrate AI coding into all your notebook development workflows. Many AI coding assistants struggle to function well within the notebook environment, the Project Jupyter team has introduced Jupyter AI, which is an open-source framework that deeply integrates AI coding and collaboration into Jupyter notebooks and JupyterLab.
Jupyter AI provides a chat interface that you can use to generate new cells in your notebook. You can also drag existing cells into the chat for debugging, attach files for context, and save chat histories to reuse later as additional context for your work.
In this course, you’ll build a book research assistant using the Open Library API, and create a stock market data analysis workflow, all with the help of Jupyter AI. You’ll learn how to provide API documentation as context so the LLM generates accurate syntax for code that wasn’t part of its pretraining.
In detail, you’ll use Jupyter AI to:
- Generate, refactor and explain code, including making API calls to services like OpenAI and performing statistical data analysis.
- Build a book research assistant using the Open Library API by providing Jupyter AI with the API documentation as context.
- Create a stock market data analysis workflow that you can use to perform analysis and visualization of financial data.
This course offers an early look at how Jupyter AI is reshaping coding in notebooks—and how you can start using it today!
Whether you’re a data scientist, AI developer, educator, or new to coding and you want to leverage AI coding assistance, this course gives you hands-on experience with a framework designed specifically for working with Jupyter notebooks.
Who should join?
Any AI builder who wants to learn AI-assisted coding in Jupyter notebooks. No prior experience with AI coding tools required. Basic familiarity with Python is helpful.
Course Outline
5 Lessons・3 Code ExamplesIntroduction
Video・4 mins
Coding with Jupyter AI
Video・7 mins
Exercise 1
Code examples・1 min
Building an AI Book Research Assistant
Video・9 mins
Exercise 2
Code examples・1 min
Exploring Stock Market Data
Video・8 mins
Exercise 3
Code examples・1 min
How to Set Up Jupyter AI Locally
Reading・3 mins
Conclusion
Video・1 mins
Quiz
Reading・9 mins
Instructors
Jupyter AI: AI Coding in Notebooks
- Beginner
- 44 Minutes
- 5 Video Lessons
- 3 Code Examples
- Instructor: Andrew Ng and Brian Granger
Course access is free for a limited time during the DeepLearning.AI learning platform beta!
Want to learn more about Generative AI?
Keep learning with updates on curated AI news, courses, and events, as well as Andrew’s thoughts from DeepLearning.AI!


