← all repositories

noahshinn/reflexion

A NeurIPS 2023 framework enabling language agents to improve through verbal self-reflection and reinforcement learning.

3.2k stars Python AgentsLanguage Models
reflexion
Velocity · 7d
+2.7
★ / day
Trend
steady
star history

Reflexion implements a novel approach to language agent training where agents learn from verbal feedback rather than traditional RL gradients. The framework provides different agent types (ReAct, Chain-of-Thought) and reflexion strategies that allow agents to self-evaluate and refine their reasoning across multiple attempts. The implementation includes benchmarks like HotPotQA for evaluating multi-step reasoning capabilities.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.