I’m amazed that this idea never crossed by mind or my twitter feed. I am usually a dissenter of notebooks, but I could see this being a great use case.<p>Especially for debugging LM programs. Usually I make logs and have to manually set breakpoints in a program to see where the language algorithm or agent is going wrong, but it would be much simpler to break the algorithm down into cells where I can see where a tangent is arising, and iterate over some different prompts or control flow to get a feel for what can happen at a specific juncture.