🚀 Reflection agents are a prompting strategy used to improve the quality and success rate of agents and similar AI systems.
Reference: https://blog.langchain.dev/reflection-agents/
- Clone the repository
- Create a virtual environment using following commands.
(Make sure you are using suitable python version, in my case python version 3.11.9)
python3 -m venv .venv source .venv/bin/activate - Install the dependencies using following command.
pip install -r requirements.txt
- create a .env file in the root directory and populate it with the help of .env.example.
- Run the project using following command.
python3 main.py
- Your result might take a few seconds. Output might not be in readable format in the terminal, but use langsmith to
check the desired output.

