This is a guide to get you started with Deepnote Open Source, it is just a glimpse of what is possible. To get started just clone this repository.
git clone https://github.com/deepnote/deepnote.git
cd deepnoteAs prerequisites, you will need to have Node.js and Python3.10+ installed on your system.
Let's start with the simple example, by converting a Jupyter Notebook to a .deepnote file, which is a Deepnote project.
First you will need to install Deepnote converter, by opening a terminal and running this command:
npm install @deepnote/convertAfter installing the converter, you can convert a Jupyter Notebook to a .deepnote file by running this command:
deepnote-convert your_notebook.ipynbTo open a .deepnote project, you can use multiple ways, opening in your favorite editor VSCode, Cursor, or Windsurf, reading it in JupyterLab, or opening it in Deepnote Cloud.
For this example, we will use VS Code, but the steps are same for Cursor and Windsurf.
- First install VS Code if you haven't already.
- Open the folder where you cloned the repository. Or simply run
code .in the terminal. - Then install the Deepnote extension for VS Code (or Deepnote extension for Cursor/Windsurf) by navigating to Extensions in the left sidebar and searching for
Deepnoteor pressCmd+Shift+Xon Mac orCtrl+Shift+Xon Windows and search forDeepnote, and click onInstall. - Then click on the Deepnote icon in the left sidebar, you will see a list of projects on the left sidebar.
- Open by clicking on the project, and opening
1. Hello World - example.
To run a Deepnote project, you can use any of the ways mentioned above (except JupyterLab, which is currently read-only).
To run this example, follow these steps:
- To run the block, click the
Runbutton or pressCmd+Enteron Mac orCtrl+Enteron Windows. - If it is your first time running the block, you will be prompted to select a kernel so select
Python 3.10or higher. - The code should run and you should see
Hello world!in the output panel.
The following examples demonstrate different block types and integrations:
Markdown blocks are added via + Markdown in the top bar. See the 1. Text + code notebook in 2_blocks.deepnote for examples.

Input blocks are added via the three dots on the left of the top bar, or by pressing Cmd+Shift+P on Mac or Ctrl+Shift+P on Windows and typing Deepnote: Add "block type".

All examples are in the 2. Input blocks notebook in 2_blocks.deepnote:
- Input Text - short text inputs for text fields
- Input Textarea - long text inputs for multiline text
- Input Select - select dropdowns (use the settings icon to add/change options)
- Input Slider - slider inputs (configure min, max, step values)
- Input Checkbox - checkbox inputs (click checked/unchecked to toggle)
- Input Date - date picker inputs
- Input Date Range - date range inputs with start and end dates
Integrations are added via the top bar by clicking on Manage Integrations.

Or by pressing Cmd+Shift+P on Mac or Ctrl+Shift+P on Windows and typing Deepnote: Manage Integrations.

This opens the Deepnote Integrations page where you can add integrations or manage existing integrations.

For example, see 3_integrations.deepnote which includes a ClickHouse playground integration that is free to use. To set it up, use these credentials:
- Host:
play.clickhouse.com - Port:
443 - Database:
default - Username:
play - Password:
******
Agent blocks let an AI agent read the notebook context, execute Python code, and add new blocks autonomously. You can use them in a .deepnote file or run ad-hoc from the CLI with --prompt.
Prerequisites: Set the OPENAI_API_KEY environment variable (works with any OpenAI-compatible API). Optionally set OPENAI_BASE_URL for non-OpenAI providers and OPENAI_MODEL to override the default model.
# Run the demo agent block notebook
OPENAI_API_KEY=sk-... deepnote run examples/demo-agent-block.deepnote
# Or run an agent standalone with --prompt (no file needed)
OPENAI_API_KEY=sk-... deepnote run --prompt "Write a script that generates the Fibonacci sequence"
# Append an agent to an existing notebook
OPENAI_API_KEY=sk-... deepnote run my-project.deepnote --prompt "Analyze the data"See demo-agent-block.deepnote for an example with MCP server configuration.
You can have a look at the other examples in this folder:
1_hello_world.deepnote- Simple hello world example2_blocks.deepnote- Examples of different block types3_integrations.deepnote- Example with database integrationsdemo-agent-block.deepnote- agent block with MCP server support
For more advanced use case examples, check out the /examples/demos folder which contains real-world demonstrations of working with data and building models.