Skip to main content

AI authoring

Boardflare exposes Marimo's notebook AI authoring experience with Boardflare-managed provider, credential, and model policy. AI is intended to help write and revise the application; the durable result remains normal notebook source that can be reviewed and tested.

Good uses

Ask the assistant to create or revise cells, explain errors and reactive dependencies, connect worksheet data with bf.inputs(), use bf.ref(), publish with bf.publish(), expose short functions through BF.FUNCTION(), and add validation/tests.

Boardflare API awareness

The notebook AI system prompt includes the public Boardflare API contract and Marimo reactive-programming rules. Generated code should use the same public surface documented in Workbook API.

Context that may be sent

Depending on the Marimo action and selected context, a request can include the user's prompt, notebook source, cell outputs, variable previews, schemas, selected @ context, attachments, and contextual material that may itself have been derived from workbook data.

Treat AI use as a data-export boundary. Do not assume workbook-derived information remains local when it is deliberately included in an AI request.

What the assistant cannot do

The Boardflare notebook deployment provides text and code assistance. The AI endpoint does not give the model notebook execution tools or permission to modify runtime state directly. Always run generated code and validate consequential results yourself.