reflexion-draft  by noahshinn

Autonomous agent with dynamic memory and self-reflection (research paper)

created 2 years ago
388 stars

Top 75.0% on sourcepulse

GitHubView on GitHub
Project Summary

This repository provides the original implementation of Reflexion, an autonomous agent designed to enhance existing decision-guiding approaches like ReAct with dynamic memory and self-reflection capabilities. It's targeted at researchers and developers looking to improve agent robustness and performance through iterative self-correction.

How It Works

Reflexion operates as a meta-algorithm, augmenting other agent frameworks. It introduces a self-reflection mechanism where the agent analyzes its past actions and outcomes, identifies errors or inefficiencies, and updates its internal state or prompts to improve future performance. This iterative process allows the agent to learn from mistakes and adapt its strategy dynamically.

Quick Start & Requirements

  • Install: pip install -r requirements.txt
  • Prerequisites: Python 3.8+, OpenAI API key.
  • Demo: Original blog post

Highlighted Details

  • Enhances existing LLM agents with dynamic memory and self-reflection.
  • Aims to improve robustness and performance through iterative self-correction.
  • Presented as a complementary technique, not a replacement for other agent frameworks.

Maintenance & Community

Licensing & Compatibility

  • License: Not explicitly stated in the provided README snippet.
  • Compatibility: Designed to augment other agent approaches; commercial use depends on the underlying agent's license and OpenAI API terms.

Limitations & Caveats

This repository is explicitly marked as an "outdated" implementation of Reflexion, with the main development occurring in a separate repository. Users should refer to the primary repository for the latest features and bug fixes.

Health Check
Last commit

1 year ago

Responsiveness

1 day

Pull Requests (30d)
0
Issues (30d)
0
Star History
3 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.