noahshinn/reflexion
[NeurIPS 2023] Reflexion: Language Agents with Verbal Reinforcement Learning
Implements iterative self-reflection loops where agents generate reasoning traces, evaluate their own failures, and use verbal feedback to improve performance across reasoning (HotPotQA), decision-making (AlfWorld), and code generation tasks. Supports multiple agent architectures (ReAct, Chain-of-Thought) with configurable reflexion strategies that feed prior attempts or self-critiques back into the prompt context. Designed for OpenAI's API and includes pre-logged experimental results to offset high inference costs from extended multi-turn interactions.
3,093 stars. No commits in the last 6 months.
Stars
3,093
Forks
298
Language
Python
License
MIT
Category
Last pushed
Jan 14, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/noahshinn/reflexion"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
langfengQ/verl-agent
verl-agent is an extension of veRL, designed for training LLM/VLM agents via RL. verl-agent is...
zhudotexe/redel
ReDel is a toolkit for researchers and developers to build, iterate on, and analyze recursive...
sotopia-lab/sotopia
Sotopia: an Open-ended Social Learning Environment (ICLR 2024 spotlight)
TIGER-AI-Lab/verl-tool
A version of verl to support diverse tool use
AMAP-ML/Tree-GRPO
[ICLR 2026] Tree Search for LLM Agent Reinforcement Learning