The Reflexion strategy[54] constructs an agent that learns above several episodes. At the end of each episode, the LLM is given the history with the episode, and prompted to Consider up "lessons learned", which might enable it execute far better at a subsequent episode. These "classes uncovered" are provided towards the agent in the next episodes.[