Jupyter NotebooksΒΆ
Most AI functions work better with simple .py files than with
.ipynb notebooks. If you want to use both notebook-style execution and
comprehensive AI support, use the cell markers # %% in .py files. AI
agents such as Cursor and IDEs such as VS Code support the execution of these
cells as interactive cells.