A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
Prompts
System prompts
Prompts are generated using the Prompter class in marimo/_server/ai/prompts.py.
Snapshots
You can create snapshots of the prompts using the snapshot function in tests/_server/ai/test_prompts.py. These snapshots are checked into the repo, and you can use them to verify that the prompts have not changed. To run these snapshots, run:
uv run --python 3.12 --group test-optional pytest tests/_server/ai/test_prompts.py