Signalpilot | #1 AI Agent for Jupyter LabGuide

How to Use AI Agents in Jupyter Notebook in 2025

In this example, we will use SignalPilot, an AI extension for Jupyter Lab, to solve the following problem:

Download and the plot the Monthly Dollar Cost Average (DCA) returns into S&P 500 index fund over the last 5 years.

Installation

First, follow the installation guide to install SignalPilot and login following the UI.

Open a New Notebook

Launch Jupyter lab and create a new notebook

Start the Analysis with SignalPilot

Paste the above question in the chatbox and hit enter in Agent Mode:

SignalPilot will generate a plan and ask for confirmation. If the plan seems good, hit Proceed with Analysis or ask the AI in the chat box to continue. If the plan needs to be modified, ask in the chatbox what has to be changed before continuing.

Approve Plan and Continue Analysis

Once plan is approved, SignalPilot will generate the first code cell and a code diff. It will also mark the completed steps of plan as done:

If you don’t like to approve after each diff, you can also enable autorun in the top tight:

In autorun mode, SignalPilot will only stop after all steps of the plan have been marked as complete.

Final Results