Skip to content

Conversation

@PalmPalm7
Copy link
Collaborator

@PalmPalm7 PalmPalm7 commented Feb 26, 2025

Add ReflexionAgent Implementation

I've added a new ReflexionAgent that inherits from llama-stack-apps's ReAct Agent to create Reflexion Agent.

Pull Request: llamastack/llama-stack-client-python#166

What is Reflexion?

It's a cool technique where agents reflect on their reasoning to improve accuracy, and reflexion improves on tasks with effective evaluation heuristics.

The implementation is based on the Reflexion paper and works great with Llama 3.1 models.

Reflexion Benchmark

@PalmPalm7 PalmPalm7 changed the title Add ReflexionAgent Implementation Add Reflexion Agent Implementation Feb 26, 2025
@PalmPalm7 PalmPalm7 changed the title Add Reflexion Agent Implementation [WIP] Add Reflexion Agent Implementation Feb 28, 2025
@PalmPalm7 PalmPalm7 changed the title [WIP] Add Reflexion Agent Implementation Add Reflexion Agent Implementation Feb 28, 2025
@MichaelClifford
Copy link
Member

@PalmPalm7 were you going to refactor this based on the comment in the llama-stack-client-python repo with similar code?

@PalmPalm7
Copy link
Collaborator Author

@PalmPalm7 were you going to refactor this based on the comment in the llama-stack-client-python repo with similar code?

Yes, working on it! Recent work on mult-agent gave me some insights on better designs, will refractor and merge soon.

@PalmPalm7 PalmPalm7 closed this Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants