Interactively co-author a Quarto notebook with the user: create the .qmd skeleton, open the right kernel (Python or R), explore and iterate code via the kernel, save plots to agent_plots for the user to see, and write finalized cells back into the notebook file bit by bit.
This is the end-to-end workflow for iteratively building a Quarto notebook together with the user.
Name: analysis/YYYYMMDD_descriptive_name.qmd (today's date, underscores, lowercase).
---