Discussion about this post

User's avatar
Whistle650's avatar

I am new to Marimo and am specifically interested in using Claude Code CLI to speed my notebook development. I have been using the MCP you built as described here: https://marimo.io/blog/beyond-chatbots. It's very nice!

However, what I would really like is to have an agentic loop: the notebook should update upon edit (I am using the --watch flag, but the edits have some latency presumably, and I'm not sure how the reactive nature of the notebook is triggered), and the Claude Code CLI would see any errors and keep working at it. I have set the Runtime Configuration to autorun, but I find I have to use Cmd+Shift+R to execute the stale cells.

(It occurs to me now that maybe the --watch flag is not necessary because the the changes are happening via MCP not directly by editing the file....I'm not sure).

In any case, I was expecting with autrun on, changes to the notebook would trigger re-evaluation which would reveal errors which the Claude Code CLI would see and possibly continue to work on.

But in your blog post you explicitly say read-only tools.

Can you help me understand? thank you.

No posts

Ready for more?