Skip to content

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

License

Notifications You must be signed in to change notification settings

twilwa/reflexion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 74.3%
  • Jupyter Notebook 25.0%
  • Shell 0.7%