A notebook is the easiest way to poke at an AI model on your own PC: load it once, keep it in VRAM, then try prompts, settings and small scripts one cell at a time instead of re-running a whole program. Plenty of AI tutorials and model examples are shared as notebooks, too. This guide picks the best free notebook apps for a local AI PC and explains which suits which kind of user.
All of the picks below run on your own machine, and none of them changes how fast your graphics card is. What they change is how comfortable it is to experiment, how easy it is to keep separate projects in separate Python environments, and how reproducible your work is a month later.
Quick picks
Pick | Best for | Notebook file format | Install |
|---|
JupyterLab | Best overall | .ipynb (JSON, saves outputs) | pip install jupyterlab or uv tool install jupyterlab --with pip
|
VS Code with the Jupyter extension | Best if you already code in VS Code | .ipynb | VS Code plus the Jupyter extension |
marimo | Best for reproducible, git-friendly experiments | .py (pure Python) | pip install marimo
|
JupyterLab Desktop | Best double-click app for beginners | .ipynb | Installer or winget install jupyterlab |
Jupyter Notebook 7 | Best simple, single-document interface | .ipynb | pip install notebook
|
1. JupyterLab: best overall
JupyterLab is Project Jupyter's main notebook interface and the safe default for local AI work. You install it from PyPI with pip install jupyterlab (or through conda-forge), start it with jupyter lab, and it opens in your browser. The JupyterLab documentation also lists a uv method, uv tool install jupyterlab --with pip, which keeps JupyterLab in its own isolated tool environment.
The reason it's our top pick is compatibility. The .ipynb format is Jupyter's own, so when a tutorial or example repo hands you a notebook, JupyterLab opens it as intended. It also handles the setup most AI PCs end up needing: one Jupyter install, with a separate kernel for each project environment. The IPython documentation explains how to register a kernel from any virtual environment or conda environment with python -m ipykernel install --user --name ..., so a PyTorch CUDA project and a ROCm or CPU-only experiment never share packages.
Security is sensible out of the box. Jupyter Server uses token authentication by default and prints a URL containing the token when it starts, normally on localhost:8888. Just don't expose the server to your network or the internet without reading the Jupyter security docs, because anyone who can reach it can run code on your PC.
Our step-by-step JupyterLab GPU guide walks through a Windows install with uv and a GPU build of PyTorch.
2. VS Code with the Jupyter extension: best for coders
Visual Studio Code supports Jupyter notebooks natively through the Jupyter extension. You open or create an .ipynb file, pick a Python environment with IPyKernel installed from the kernel picker in the top right, and run cells with Ctrl+Enter or Shift+Enter. You also get VS Code's Variable Explorer and Data Viewer, a notebook debugger and the option to connect to a remote Jupyter server.
That makes it the best pick if you already write Python in VS Code or you're building something bigger than a quick test, such as a script that calls a local model through Ollama's Python library. One feature worth knowing about for AI notebooks downloaded from the internet: VS Code's Workspace Trust. Microsoft's documentation warns that harmful code can be embedded in notebooks, and in an untrusted folder (Restricted Mode) you can't run cells and rich outputs are hidden.
The uv documentation has a short recipe for using VS Code with a uv-managed project: add ipykernel as a dev dependency, open the folder in VS Code and choose the project's .venv Python from the kernel picker. If you also use VS Code for local AI coding help, our Ollama in VS Code guide covers that side.
3. marimo: best for reproducible experiments
marimo is a newer, reactive Python notebook. When you run a cell, marimo automatically runs the cells that depend on its variables, or marks them as stale, so the code, outputs and program state stay consistent. Delete a cell and its variables are removed from memory, which ends the classic notebook problem of results that depend on cells you ran in a different order an hour ago.
Notebooks are stored as plain .py files, so they diff cleanly in git, run as ordinary scripts with python your_notebook.py and can be served as small web apps with marimo run. marimo can also store a notebook's package requirements inside the file and install them into an isolated sandbox; the docs show uvx marimo edit --sandbox notebook.py as a quick way to try it with uv.
For AI work on a GPU, the important setting is the runtime configuration. Automatically re-running a cell that loads a large model is not what you want, so marimo lets you turn autorun off and simply mark affected cells as stale, and mo.stop() paired with a run button can stop expensive cells running until you press it. marimo also has built-in AI features, including the option to use local models, and the optional marimo[recommended] install adds extras such as SQL cells and AI completion.
The trade-off is that marimo is less forgiving of habits from Jupyter: the same variable can't be defined in more than one cell, and outputs such as plots aren't stored in the notebook file unless you turn on automatic HTML or ipynb snapshots. It can convert Jupyter notebooks with marimo convert, and export back to .ipynb. See JupyterLab vs marimo for local AI for a closer comparison.
4. JupyterLab Desktop: best for beginners
JupyterLab Desktop is the official cross-platform desktop app for JupyterLab. Instead of starting a server from a terminal and opening a browser tab, you install it like any other program on Windows 10 or 11, macOS 12 or later or Linux, then launch it from its icon or with the jlab command. On Windows it can also be installed with winget install jupyterlab. Double-clicking an .ipynb file opens it in the app.
It suits people who want notebooks without living in a terminal. Each working folder is treated as a separate project with its own settings, including which Python environment to use, and recent sessions are listed on the Welcome Page. One limitation from the project's README: it supports prebuilt JupyterLab extensions, but source extensions that need rebuilding aren't supported.
5. Jupyter Notebook 7: best simple interface
The classic Jupyter Notebook (pip install notebook, then jupyter notebook) is now built on top of JupyterLab. Notebook 7 adds a debugger, a built-in table of contents and a dark theme, and it can use the same real-time collaboration extension as JupyterLab. Choose it if you prefer one notebook per browser tab rather than JupyterLab's multi-panel workspace; it opens the same .ipynb files and uses the same kernels.
Tips for any notebook app on an AI PC
Keep each AI project in its own environment. Our best Python environment managers for local AI guide explains the options, and how to use uv for local AI shows the setup we'd start with.
Install a GPU build of PyTorch into that environment, not into the Jupyter install. If torch.cuda.is_available() returns False, see how to fix PyTorch CUDA not available.
Remember that a notebook holds onto VRAM. A running kernel keeps the model loaded until you delete it or restart the kernel. PyTorch's documentation notes that its caching allocator keeps freed memory reserved (it still shows as used in nvidia-smi) and that torch.cuda.empty_cache() releases unused cached memory, but not memory still held by tensors. Our VRAM usage guide for Windows shows how to see what's using your graphics memory.
Want plain-text Jupyter notebooks without switching app? Jupytext lets JupyterLab open and pair notebooks as .py or .md files, which is handy for version control.
Short on VRAM? Our best 16GB graphics card for local AI guide covers the hardware side.