{"id":31226527,"url":"https://github.com/divakarkumarp/langgraph_agent","last_synced_at":"2025-11-04T21:02:45.668Z","repository":{"id":298332192,"uuid":"999576109","full_name":"divakarkumarp/LangGraph_Agent","owner":"divakarkumarp","description":"LangGraph Agent Implementation - RAG, Multi, Core Agents","archived":false,"fork":false,"pushed_at":"2025-06-11T04:10:18.000Z","size":67250,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-22T02:20:28.046Z","etag":null,"topics":["agentic-ai","agents","langchain","langgraph","multiagent","rag"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/divakarkumarp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-10T13:12:32.000Z","updated_at":"2025-06-11T04:10:22.000Z","dependencies_parsed_at":"2025-06-10T15:47:40.981Z","dependency_job_id":null,"html_url":"https://github.com/divakarkumarp/LangGraph_Agent","commit_stats":null,"previous_names":["divakarkumarp/langgraph_agent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/divakarkumarp/LangGraph_Agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divakarkumarp%2FLangGraph_Agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divakarkumarp%2FLangGraph_Agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divakarkumarp%2FLangGraph_Agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divakarkumarp%2FLangGraph_Agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divakarkumarp","download_url":"https://codeload.github.com/divakarkumarp/LangGraph_Agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divakarkumarp%2FLangGraph_Agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":282713022,"owners_count":26714760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-04T02:00:05.887Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agentic-ai","agents","langchain","langgraph","multiagent","rag"],"created_at":"2025-09-22T02:10:02.380Z","updated_at":"2025-11-04T21:02:45.656Z","avatar_url":"https://github.com/divakarkumarp.png","language":"Python","readme":"# LangGraph Agent Implementation Project\n\n## Overview\n\nThis project showcases different implementations of LangGraph-based agents and RAG (Retrieval Augmented Generation) tools, demonstrating various approaches to building intelligent conversational systems.\n\n## Agent Implementations\n\n### RAG Agents\n\n| Type | Description | Category |\n|------|-------------|----------|\n| 🤖 Self RAG | [Enhanced RAG with adaptive retrieval](LangGraph_1/types_RAG-with-LangGraph/self_rag.ipynb) | 📚 RAG |\n| 🔄 Corrective RAG | [Improved accuracy with correction mechanisms](LangGraph_1/types_RAG-with-LangGraph/corrective_rag.ipynb) | 📚 RAG |\n| 💾 SQL Agent | [Database interactions and processing](LangGraph_1/types_RAG-with-LangGraph/sql_agent.ipynb) | 🗃️ Database |\n| 🎯 Agentic RAG | [Advanced RAG capabilities](LangGraph_1/types_RAG-with-LangGraph/Agentic_rag.ipynb) | 📚 RAG |\n| 🎫 Customer Support | [Autonomous support system](LangGraph_1/types_RAG-with-LangGraph/autonomous_Customer_support_agent.ipynb) | 💁 Support |\n\n### Multi-Agent Systems\n\n| Type | Description | Category |\n|------|-------------|----------|\n| 👥 Multi-Agent System | [Coordinated supervisor system](LangGraph_1/Multi-Agent-Systems/multi_agent_supervisor.ipynb) | 🤝 Multi-agent |\n| 📊 Research Analyst | [Research and analysis system](LangGraph_1/Multi-Agent-Systems/multiagent-research_analyst.ipynb) | 🤝 Multi-agent |\n| 🌐 Network Agent | [Networked agent system](LangGraph_1/Multi-Agent-Systems/network_multiagent_system.ipynb) | 🤝 Multi-agent |\n| 👨‍💼 Supervisor Agent | [Core supervisor implementation](LangGraph_1/Multi-Agent-Systems/supervisor_agent.ipynb) | 🤝 Multi-agent |\n\n### Core Agents\n\n| Type | Description | Category |\n|------|-------------|----------|\n| 🤔 ReAct Agent | [ReAct pattern implementation](ReAct_Agent.ipynb) | ⚡ Core |\n| 🔧 Tool Agent | [Tool-based agent implementation](tool_agent.ipynb) | ⚡ Core |\n\n## Project Structure\n\n```plaintext\n.\n├── LangGraph_1/\n│   ├── types_RAG-with-LangGraph/\n│   │   ├── self_rag.ipynb\n│   │   ├── corrective_rag.ipynb\n│   │   ├── sql_agent.ipynb\n│   │   ├── Agentic_rag.ipynb\n│   │   └── autonomous_Customer_support_agent.ipynb\n│   ├── Multi-Agent-Systems/\n│   │   ├── multi_agent_supervisor.ipynb\n│   │   ├── multiagent-research_analyst.ipynb\n│   │   ├── multiagent.ipynb\n│   │   ├── network_multiagent_system.ipynb\n│   │   ├── network.ipynb\n│   │   └── supervisor_agent.ipynb\n│   └── human-in-loop.ipynb\n├── ReAct_Agent.ipynb\n├── tool_agent.ipynb\n└── requirements.txt\n```\n\n## Features\n\n### 1. RAG Implementations\n\n- **Self-RAG**: Enhanced retrieval with self-reflection\n- **Corrective RAG**: Real-time correction mechanisms\n- **SQL RAG**: Database interaction capabilities\n- **Agentic RAG**: Advanced agent-based RAG\n- **Customer Support RAG**: Knowledge base integration\n\n### 2. Multi-Agent Systems\n\n- Supervisor-based architecture\n- Research and analysis capabilities\n- Networked agent communication\n- Task delegation and management\n\n### 3. Core Implementations\n\n- ReAct pattern implementation\n- Tool-based agent systems\n- Human-in-the-loop processing\n\n## Technology Stack\n\n- **LangGraph**: Core framework for agent workflows\n- **LangChain**: LLM integration and tools\n- **Jupyter**: Interactive notebook environment\n- **SQLite**: Database for SQL agent demonstrations\n\n## Getting Started\n\n1. Install dependencies:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n2. Set up environment variables:\n\n    ```bash\n    # Create .env file with your API keys\n    OPENAI_API_KEY=your_key\n    LANGCHAIN_API_KEY=your_key\n    ```\n\n3. Run the Jupyter notebooks:\n\n    ```bash\n    jupyter notebook\n    ```\n\n## Development Best Practices\n\n### 1. Agent Design\n\n- Clear node separation\n- Proper error handling\n- Modular design patterns\n\n### 2. RAG Implementation\n\n- Optimize chunk sizes\n- Configure retrieval parameters\n- Implement validation\n\n### 3. State Management\n\n- Type-safe transitions\n- Proper validation\n- Error handling\n\n## Contributing\n\nContributions welcome for:\n\n- New agent implementations\n- RAG enhancements\n- Documentation improvements\n- Bug fixes\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Agent Workflow Architectures\n\n### RAG Agent Workflows\n\n#### Self RAG Workflow\n\n```mermaid\ngraph TB\n    A[Start] --\u003e B[Query Input]\n    B --\u003e C[Generate Initial Response]\n    C --\u003e D[Self-Reflection]\n    D --\u003e E[RAG Retrieval]\n    E --\u003e F[Response Refinement]\n    F --\u003e G[Final Response]\n```\n\n#### Corrective RAG Workflow\n\n```mermaid\ngraph TB\n    A[Start] --\u003e B[Query Input]\n    B --\u003e C[Initial RAG]\n    C --\u003e D[Generate Response]\n    D --\u003e E[Error Detection]\n    E --\u003e F{Has Errors?}\n    F --\u003e|Yes| G[Correction]\n    G --\u003e C\n    F --\u003e|No| H[Final Response]\n```\n\n#### SQL Agent Workflow\n\n```mermaid\ngraph TB\n    A[Start] --\u003e B[Natural Language Query]\n    B --\u003e C[Query Analysis]\n    C --\u003e D[SQL Generation]\n    D --\u003e E[Database Query]\n    E --\u003e F[Result Processing]\n    F --\u003e G[Natural Language Response]\n```\n\n#### Agentic RAG Workflow\n\n```mermaid\ngraph TB\n    A[Start] --\u003e B[Query Processing]\n    B --\u003e C[Task Planning]\n    C --\u003e D[RAG Retrieval]\n    D --\u003e E[Context Integration]\n    E --\u003e F[Response Generation]\n    F --\u003e G[Final Response]\n```\n\n### Multi-Agent System Workflows\n\n#### Supervisor Agent Workflow\n\n```mermaid\ngraph TB\n    A[Start] --\u003e B[Task Distribution]\n    B --\u003e C[Agent Assignment]\n    C --\u003e D[Task Execution]\n    D --\u003e E[Progress Monitoring]\n    E --\u003e F{Task Complete?}\n    F --\u003e|No| D\n    F --\u003e|Yes| G[Result Aggregation]\n    G --\u003e H[Final Output]\n```\n\n#### Research Analyst Workflow\n\n```mermaid\ngraph TB\n    A[Start] --\u003e B[Research Query]\n    B --\u003e C[Source Collection]\n    C --\u003e D[Information Analysis]\n    D --\u003e E[Data Synthesis]\n    E --\u003e F[Report Generation]\n    F --\u003e G[Review \u0026 Validation]\n    G --\u003e H[Final Report]\n```\n\n#### Network Agent Workflow\n\n```mermaid\ngraph TB\n    A[Start] --\u003e B[Task Reception]\n    B --\u003e C[Agent Network Distribution]\n    C --\u003e D[Parallel Processing]\n    D --\u003e E[Result Collection]\n    E --\u003e F[Response Synthesis]\n    F --\u003e G[Final Output]\n```\n\n### Core Agent Workflows\n\n#### ReAct Agent Workflow\n\n```mermaid\ngraph TB\n    A[Start] --\u003e B[Task Input]\n    B --\u003e C[Thought Generation]\n    C --\u003e D[Action Selection]\n    D --\u003e E[Action Execution]\n    E --\u003e F[Observation]\n    F --\u003e G{Task Complete?}\n    G --\u003e|No| C\n    G --\u003e|Yes| H[Final Output]\n```\n\n#### Tool Agent Workflow\n\n```mermaid\ngraph TB\n    A[Start] --\u003e B[Task Analysis]\n    B --\u003e C[Tool Selection]\n    C --\u003e D[Tool Execution]\n    D --\u003e E[Result Processing]\n    E --\u003e F{More Tools Needed?}\n    F --\u003e|Yes| C\n    F --\u003e|No| G[Response Generation]\n    G --\u003e H[End]\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivakarkumarp%2Flanggraph_agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivakarkumarp%2Flanggraph_agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivakarkumarp%2Flanggraph_agent/lists"}