The Reflexion method[54] constructs an agent that learns about multiple episodes. At the conclusion of Every episode, the LLM is presented the history from the episode, and prompted to Consider up "classes learned", which would aid it conduct better at a subsequent episode. These "lessons realized" are supplied into the agent in the subsequent epis