These examples showcase a few simple applications of AI.
- 💬
chat/
: creating chatbots with marimo, usingmo.ui.chat
- 🛢️
data/
: making data labeling and model comparison tools - 🛠
tools/
: interacting with external functions and services with function calling, returning rich responses - 🍿
misc/
: miscellaneous AI examples
Tip
Submit a pull request to add an example!
The requirements of each notebook are serialized in them as a top-level comment. Here are the steps to open an example notebook:
- Install marimo
- Install
uv
- Open an example with
marimo edit --sandbox <notebook.py>
.
Tip
The --sandbox
flag opens the notebook in an isolated virtual environment,
automatically installing the notebook's dependencies 📦
You can also open notebooks without uv
, with just marimo edit <notebook.py>
;
however, you'll need to install the requirements yourself.