marimo-agents
to be able to collect information about all the cells + cell outputs above itScriptConfigManager
always has filename set to the dir where I start marimo from@app.Cell def _(): print('hi') @app.Cell def _(): return mo.cells[0].output
def run_agent(input): for event in agent.run(input): # if is tabular df = pd.DataFrame(event.content) **mo.state.register_datasource(df, event.name + event.tool_args + "_df") # <------ saves df to var "nearest_gene_tool_chr15_88569444_df"** mo.output.append(df) ... ...