(Desktop) Anaconda Assistant in JupyterLab#

Anaconda Assistant, the AI coding assistant included with Anaconda Toolbox, is available in your local (desktop) instance of JupyterLab, too! As the Assistant is virtually identical to its cloud counterpart in Anaconda Notebooks, you can refer to our Anaconda Assistant quickstart guide for guidance on using the Assistant.

Installing Anaconda Assistant#

You can enable and access the Assistant in a local JupyterLab instance through either the command line interface (CLI) or Navigator, the graphical user interface (GUI) that is automatically installed with Anaconda.

Open Navigator, install Anaconda Toolbox, and launch JupyterLab using the following instructions:

  1. Open Navigator:

    Click Start, search for “Navigator”, and then click to open.

    Click Launchpad and select Anaconda Navigator. Alternatively, use Cmd + Space to open Spotlight Search, type “Navigator”, and then press Enter to open the program.

    Note

    If you run into any issues opening Navigator, refer to our Navigator troubleshooting topic for assistance.

  2. Locate the Anaconda Toolbox tile and click Install.

  3. Once the installation is complete, click Launch on the same tile to launch a new JupyterLab session.

  4. Open a new notebook. The Assistant appears to the right of the notebook.

  5. Log in or create an account on Anaconda Cloud.

Install the anaconda-toolbox package (which contains the Assistant) and launch JupyterLab using the following instructions:

  1. Open a terminal (Anaconda Prompt for Windows users).

  2. Install anaconda-toolbox by running the following command:

    conda install anaconda-toolbox
    
  3. Launch JupyterLab by running the following command:

    jupyter lab
    
  4. Open a new notebook. The Assistant appears to the right of the notebook.

  5. Log in or create an account on Anaconda Cloud.

You can submit 30 requests to the Assistant for free—after that, you must upgrade your account to interact further with the Assistant.

Refer to our Anaconda Assistant quickstart guide for guidance on using the Assistant.

Uninstalling Anaconda Assistant#

You can remove the Assistant from your local instance of Jupyterlab through either the CLI or Navigator, the GUI that is automatically installed with Anaconda.

  1. Open Navigator:

    Click Start, search for “Navigator”, and then click to open.

    Click Launchpad and select Anaconda Navigator. Alternatively, use Cmd + Space to open Spotlight Search, type “Navigator”, and then press Enter to open the program.

    Note

    If you run into any issues opening Navigator, refer to our Navigator troubleshooting topic for assistance.

  2. On the Anaconda Toolbox tile, click Settings .

  3. In the dropdown, select Remove application. You may need to refresh Navigator to see your changes take effect.

  1. Open a terminal (Anaconda Prompt for Windows users).

  2. Uninstall anaconda-toolbox by running the following command:

    conda remove anaconda-toolbox
    
  3. Once the uninstall is complete, refresh Navigator to see your changes take effect.

Note

As JupyterLab is a requirement for the Assistant, it is also removed when uninstalling the Assistant. To reinstall JupyterLab without the Assistant, run the following command:

conda install jupyterlab