#561 · Primary category: Education & Research
reflexion
[NeurIPS 2023] Reflexion: Language Agents with Verbal Reinforcement Learning
Project last updated:01/14/25
GitHub Stars
3.2K
Forks
317
Contributors
8
License
MIT
Why we included this project
This repo is the official NeurIPS 2023 release of Reflexion, and it is the best place to start if you want to study or adapt one of the more influential agent-improvement ideas in recent LLM research. The core idea is simple: a language agent reviews its own reasoning trace after a failed attempt, writes a short verbal reflection on what went wrong, and uses that text to do better next time. It is a lightweight alternative to gradient-based reinforcement learning because it works entirely through plain text prompts. The code covers question-answering over HotPotQA sets and decision-making in the AlfWorld text environment, with notebooks that let you compare agent types such as ReAct and chain-of-thought under different reflection strategies. Treat it as research scaffolding rather than a production service; the value is in running the notebooks, reproducing the reported results, and stealing the self-reflection loop as a template for your own agent experiments.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
JavaGuide
Java Interview & Backend General Interview Guide, covering computer fundamentals, databases, distributed systems, high concurrency, system design, and AI application development.
system-prompts-and-models-of-ai-tools
A curated collection of system prompts, internal tools, and AI models from popular AI assistants and coding agents.
30-seconds-of-code
Coding articles to level up your development skills
generative-ai-for-beginners
21 Lessons, Get Started Building with Generative AI