Sign inGet started

Generative analysis

Enhance your analytics with Deepnote AI's ability to generate and execute code effortlessly.

Deepnote AI is own your virtual AI collaborator helping you solving hard problems. You can rely on it to kickstart a full analytical project; ask for assistance when you get stuck; or it can just simply get you through some of the more mundane coding tasks efficiently.

You can use Deepnote AI in two modes of operation:

  • Generate mode will add code and text blocks to your notebook based on your instructions, but will wait for you to execute them.
  • Auto AI is a fully autonomous agent that will not only add blocks, but also execute them and self-correct its way to the desired outcome.

Generating blocks

One of the biggest challenges in coding can be getting started. Use Deepnote AI to create blocks from your natural language instructions. Simply use the AI prompt bar visible at the bottom of the notebook or click on Generate with Deepnote AI placeholder in an empty code block to enter you prompt in plain language.

If you want to use Deepnote AI in generate mode to retain control over executing the blocks, make sure you have the Auto AI toggle set to Auto AI off.

auto AI off.png

Once you are happy with your typed in instructions, submit them and let Deepnote AI tackle your task. Deepnote AI will start generating Python and/or text blocks, it can even generate multiple blocks at once!

The generation will stop automatically once Deepnote AI has finished with the given task, but you can always cancel the generation earlier from the status bar. The generated blocks are saved directly into your notebook and there is no need to explicitly accept them allowing you to immediately run them afterwards.

Remember that your collaborators in the notebook only see the AI-generated blocks and can't stop a generation which you've triggered.

If you're not fully satisfied with the output, you can:

  • re-try the code generation using the same prompt by clicking on the Regenerate button;
  • remove all generated blocks with the Delete button. Deletion will place you back into the prompt bar so you can modify your instructions for an improved result by providing further context or being more specific with your request.
CleanShot 2024-03-11 at 15.10.27 2@2x.png

Pro tip: you don't always need elaborate instructions as Deepnote AI has access to the contents of your notebook and is fully conversational. You can tell it to Continue or to Do task X and it will respond appropriately.

Auto AI

Auto AI is a fully autonomous mode of using Deepnote AI in your notebook. You can give it a task and Auto AI will devise a plan on how to best achieve your goals within the context of your work. It will then proceed to write text, create and execute code blocks until it gets the job done. It is even capable of self-correction and will attempt to fix any potential errors it encounters along the way.

To take advantage of Auto AI in your workspace, you need to have Deepnote AI enabled at Settings & Members >> Project settings.

deepnote ai auto ai settings.png

Once the workspace setting is enabled, you can enable Auto AI mode by switching on the toggle in the AI prompt bar settings menu:


After you type in a prompt, Auto AI will execute the blocks it creates and will continuously adapt based on the outputs until the given task is completed. If your machine is off, Auto AI will spin it up when it needs to execute a code block.

Running Auto AI is like inviting a virtual collaborator to your project: it can operate in your notebook independently of your presence. This means that once Auto AI is given a task, it will continue running and executing blocks even if you close Deepnote.

If you want to stop Auto AI before it finishes its task, you can always do so by clicking on the Stop AI Generation button at the status bar on the top of your notebook. This will immediately cancel all block generation and will cease any block executions in progress.

CleanShot 2024-03-11 at 16.21.19@2x.png


Deepnote AI does not yet know about your integrations, and cannot create SQL blocks or chart blocks. We're working on improving the experience. If you'd like to provide feedback or be directly involving in shaping the future of Deepnote AI, see the Feedback section.