ianderrington / reflexion

Reflexion: an autonomous agent with dynamic memory and self-reflection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reflexion Implementation

Code for the approach proposed in Reflexion: an autonomous agent with dynamic memory and self-reflection

Note

Reflexion is not a replacement for ReAct or any other decision-guiding approach! It is a simple retry technique that can be used enhance other approaches.

Check out an implementation using Reflexion to master HumanEval (88% pass@1 accuracy) and a blog post for a discussion on other applications.

Check out an interesting type-inference implementation OpenTau that uses a variation of Reflexion to play a 2-player game with type-checker.

If you have any questions, please contact noahshinn024@gmail.com

Cite

@article{shinn2023reflexion,
  title={Reflexion: an autonomous agent with dynamic memory and self-reflection},
  author={Shinn, Noah and Labash, Beck and Gopinath, Ashwin},
  journal={arXiv preprint arXiv:2303.11366},
  year={2023}
}

About

Reflexion: an autonomous agent with dynamic memory and self-reflection

License:MIT License


Languages

Language:Python 74.4%Language:Jupyter Notebook 25.0%Language:Shell 0.7%