Skip to content

Generate entire notebooks with AI

Use marimo new at the command line to generate entirely new notebooks using an LLM.

For example, type

marimo new "Plot an interactive 3D surface with matplotlib." 

to open a freshly generated notebook in your browser.

For long prompts, you can pass a text file instead:

marimo new my_prompt.txt

marimo's AI knows how to use marimo-specific UI elements and popular libraries for working with data. To get inspired, visit https://marimo.app/ai. Some of our favorites: