Skip to content

Leelaissakattaota/langgraph-reflection-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

✍️ LangGraph Reflection Agent — LinkedIn Post Generator

Language Framework LLM Pattern Status

📌 Project Overview

Builds a Reflection Agent using LangGraph that generates and iteratively improves LinkedIn posts. The agent uses a Generate → Reflect → Improve loop — generating content, critiquing it, and refining until quality standards are met. Demonstrates self-improving AI systems with conditional routing.

Domain: Agentic AI — Reflection Pattern
LLM: IBM Watsonx Foundation Models
Use Case: LinkedIn Post Generator with quality improvement

🛠️ Tech Stack

Component Technology
Workflow LangGraph StateGraph
LLM IBM Watsonx (langchain-ibm)
Prompts ChatPromptTemplate (generate + reflect)
Visualization pygraphviz

🚀 Key Features

  • Generate node: Creates initial LinkedIn post draft
  • Reflect node: Critiques content quality
  • Conditional routing: Loop back or accept based on quality
  • Message state management with HumanMessage/AIMessage
  • Graph visualization with Mermaid/PNG

🎓 Skills Demonstrated

LangGraph StateGraph · Reflection pattern · Conditional routing · IBM Watsonx · Message-based state management

🤝 Connect

LinkedIn Gmail

About

LangGraph Reflection Agent — LinkedIn post generator that iteratively generates, critiques & refines content through self-improvement loops using IBM Watsonx foundation models

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors