Deepnote research: our notes on building agents
Get started

Deepnote Agent

A powerful AI collaborator that can transform your entire notebook.

Deepnote Agent helps you generate, edit, explain, and complete code. It can also make changes across your notebook, run blocks, and inspect results.

Enable Agent

If Agent is disabled in your workspace, turn on Deepnote Agent in Settings & members → AI. You can use Provide access to block outputs to choose whether Agent can read block outputs, including row-level data. For details about data shared with AI providers such as Anthropic and OpenAI, see Data privacy.

Agent settings

Open Agent

Agent can create, edit, and remove blocks across your notebook. In Edit mode, it can also run code, inspect outputs, and adjust its work based on the results.

Open Agent from the Agent button in the project top bar or the Agent button in the notebook toolbar. You can use the full sidebar, minimize the chat to a smaller window, or hide it.

Ways to open Deepnote Agent

Use Agent

Choose a mode in the chat input:

  • Edit lets Agent change notebook content, run blocks, and inspect results.
  • Ask lets you discuss your data or Deepnote features without changing the notebook.

You can ask Agent to fix one block or work across the notebook. For tasks that need several steps, Agent may show a plan. As it works, the chat shows its actions, and you can select an action to jump to the relevant block.

When Agent finishes, it shows a summary and a list of changes. Code edits can include a before-and-after diff. Press the Done button to accept the edits, use the bin icon to discard them, or send a follow-up request to continue working.

Agent changes and review controls

Deepnote supports models from providers such as Anthropic and OpenAI. In Settings & members → AI, you can choose a model or select Automatic.

Agent changes and review controls

Agent can also use your connected Deepnote MCP integrations and access Deepnote's documentation.

Generate, edit, and explain code

Use the prompt bar below your notebook to generate blocks. To work on an existing code or SQL block, open its menu and select Open Deepnote AI. You can request an edit or an explanation, review the result, and accept or discard suggested changes.

Agent changes and review controls

Learn more about generating code, editing code, explaining code, and code completion.

Feedback

Use the thumbs-up or thumbs-down controls on an Agent response or an inline suggestion to rate it. A downvote may give you a chance to add details. You can also share ideas on the Product Portal.

Inline feedback controls