Get help from the marimo community

Updated 2 weeks ago

Cell Output "Collection"

I'd like to add something for marimo-agents to be able to collect information about all the cells + cell outputs above it

I don't think outputting to global variables works because this makes it hard to capture order of messages, or if i do an array then that doesn't update on cell deletion/reordering. Ideally, at runtime, I'd be able to call a method internally on the Cell on-run to get all the things prior to it.

(Use case: an AI agent could dynamically run using the context of all the things above it in the notebook)

I understand this may not fit marimo's vision and am happy to implement it for my own project or within marimo-core, but would just like to get an idea of any ways I could add this that would fit the existing development style @Myles Scolnick
Add a reply
Sign up and join the conversation on Discord