I had the same thought from Thinking, Fast and Slow.
Another variation of this seems to be the “thought loop” that agents such as Devin and AutoGPT use.
Another variation of this seems to be the “thought loop” that agents such as Devin and AutoGPT use.