Recursive AI Improvement Loop
- Difficulty
- Easy
- Time to result
- ~days to results
- Steps
- 7
- Confidence
- —
The Recursive AI Improvement Loop uses repeated generation, evaluation, and revision to turn an initial AI response into a substantially stronger result. Begin with a clear objective, inspect the response, add information learned from it, and ask the model to try again. Each pass can cover more material, expose errors, and broaden the solution. A final metacognitive prompt asks the model to check its work, identify what the user has not considered, and propose better questions. The mechanism is compounding rather than merely additive: improved output becomes context for the next pass. The process continues until quality gains flatten, the answer is sufficient, or the available token and compute budget is exhausted.
Origin
Extracted from The All-In Podcast
How to run it
- 1
Define the Objective
State the desired outcome clearly enough that the model can reason about success rather than merely produce text.
Pro tip Describe the role or capability you are trying to achieve, such as becoming an expert trend scout.
Watch out An undefined goal encourages unfocused token consumption.
- 2
Generate a First Pass
Ask the model to solve the task and expose its research, assumptions, or proposed strategy where appropriate.
- 3
Learn From the Result
Review what the answer discovered, where it was weak, and what additional information should be incorporated.
Pro tip Treat the first output as new context rather than a finished deliverable.
- 4
Run the Loop Again
Ask the model to repeat the task using the expanded information and explicit corrections from the prior pass.
Pro tip Allow more compute for consequential problems when additional passes continue to produce meaningful gains.
Watch out More tokens do not guarantee better results if the loop lacks evaluation criteria.
- 5
Trigger Self-Critique
Explicitly instruct the model to check its work and report inaccuracies, omissions, or questionable assumptions.
Pro tip Request corrections in the same run so flaws are converted into an improved answer.
- 6
Ask for Missing Questions
Have the model identify what has not been considered and suggest the questions an expert would ask.
Pro tip Ask what a PhD-level or domain-expert questioner would investigate next.
- 7
Stop on Diminishing Returns
End the process when additional iterations no longer materially improve accuracy, breadth, or usefulness.
Watch out Unbounded loops can consume substantial compute and budget.
In the wild
Jason Calacanis asked an agent to identify global trends that others had not yet recognized. The model debated which sources to use, including Hacker News, Reddit, social media, and Instagram. He then added recurring instructions to check its work, identify neglected considerations, and ask clarifying questions each time the job ran.
→ The agent became a more rigorous and self-correcting trend-research process rather than a one-shot search tool.
Common mistakes
Accepting the First Answer
Treating an initial response as final forfeits the compounding gains available through evaluation and another pass.
Looping Without a Goal
Repeated generation becomes token maxing when the system lacks a clear definition of a better result.
Skipping the Missing-Question Prompt
Users often improve known details while failing to uncover important dimensions they did not know to ask about.
From the transcript
“You ask it a question, you learn from the results, you ask it to do it again, it the results get better and more information…”
“And the these sort of loops are producing sort of not a little bit better answers but vastly better answers.”
“please check your work”
From the episode
Open Source Wins, AGI Is Here, and Scorsese's AI Toolkit with CEOs of Cerebras & Black Forest Labs