๐Ÿš€
๐Ÿ•ธ๏ธ LangGraph
12. Reflexion Agent
AI

Reflexion Agent ๐Ÿง 

Reflection Agent System consists of a generator and a reflector component

Mar 202510 min read

Reflexion Agent ๐Ÿง 

Recap of what we saw previously:

Reflection Agent System consists of a generator and a reflector component

Although, iteratively making a post better is significantly better than just prompting ChatGPT, the content generated is still not grounded in live data

It could be hallucination or outdated content and we have no way of knowing

What is Reflexion Agent System:

  • The reflexion agent, similar to reflection agent, not only critiques it's own responses but also fact checks it with external data by making API calls (Internet Search)
  • In the Reflection agent pattern, we had to rely on the training data of LLMs but in this case, we're not limited to that.

The main component of Reflexion Agent System is the "actor"

The "actor" is the main agent that drives everything - it reflects on it's responses and re-executes. It can do this with or without tools to improve based on self-critique that is grounded in external data It's main sub-components include:

  1. Tools/tool execution
  2. Initial responder: generate an initial response & self-reflection
  3. Revisor: re-respond & and reflect based on previous reflections

"./images/12.reflexion-agent.png"

ยฉ 2026 Driptanil Datta. All rights reserved.

Software Developer & Engineer

Disclaimer:The content provided on this blog is for educational and informational purposes only. While I strive for accuracy, all information is provided "as is" without any warranties of completeness, reliability, or accuracy. Any action you take upon the information found on this website is strictly at your own risk.

Copyright & IP:Certain technical content, interview questions, and datasets are curated from external educational sources to provide a centralized learning resource. Respect for original authorship is maintained; no copyright infringement is intended. All trademarks, logos, and brand names are the property of their respective owners.

System Operational

Built with Love โค๏ธ | Last updated: Mar 16 2026