{"id":24401598,"url":"https://github.com/epigos/react-ai-agent","last_synced_at":"2026-04-13T09:31:43.297Z","repository":{"id":273228811,"uuid":"919051219","full_name":"epigos/react-ai-agent","owner":"epigos","description":"React AI Agent with Long-Term Memory and Tool calling","archived":false,"fork":false,"pushed_at":"2025-01-19T16:41:16.000Z","size":434,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T05:52:16.440Z","etag":null,"topics":["agentic-ai","chatbot","langchain","langgraph","openai","react-agent","tools"],"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/epigos.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-19T15:32:56.000Z","updated_at":"2025-07-03T15:23:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"8395bad7-825e-4228-b4c7-35f0d7887728","html_url":"https://github.com/epigos/react-ai-agent","commit_stats":null,"previous_names":["epigos/react-ai-agent"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/epigos/react-ai-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epigos%2Freact-ai-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epigos%2Freact-ai-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epigos%2Freact-ai-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epigos%2Freact-ai-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epigos","download_url":"https://codeload.github.com/epigos/react-ai-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epigos%2Freact-ai-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31746294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","chatbot","langchain","langgraph","openai","react-agent","tools"],"created_at":"2025-01-20T00:32:16.233Z","updated_at":"2026-04-13T09:31:43.286Z","avatar_url":"https://github.com/epigos.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Agent with Long-Term Memory and Tool Integration  \n\n![CI](https://github.com/epigos/react-ai-agent/actions/workflows/ci.yaml/badge.svg)\n\nThis project demonstrates a **React Agent** built using **[LangGraph](https://langchain-ai.github.io/langgraph/tutorials/introduction/)** with advanced tool integration and long-term memory capabilities.\nThe agent is designed to assist users in customer support scenarios\nwith a rich set of tools and a sleek UI interface powered by **[Chainlit](https://docs.chainlit.io/get-started/overview)**.\n\n## Features  \n- **Knowledge Base Retriever**: Retrieves information from a FAISS-based knowledge base.  \n- **Customer Information Tool**: Fetches user details for personalized support.  \n- **Form Management**:  \n  - Retrieve form details.  \n  - Assist users in completing forms step-by-step.  \n  - Submit forms and handle retries for any submission errors.  \n- **Memory Capabilities**:  \n  - **Save Memory**: Store contextual information during conversations.  \n  - **Search Memory**: Retrieve past interactions to ensure continuity and context.  \n  - Powered by **[Mem0AI](https://mem0.ai/)** for long-term memory management.  \n- **Dynamic Chat UI**: A user-friendly interface created with **Chainlit** for seamless interaction with the chatbot.  \n\n## Project Setup\n\n1. Install dependencies with Poetry:  \n   ```bash  \n   poetry install  \n   ```  \n\n2. Setup environment variables:  Provide required api keys: OPENAI_API_KEY=your-api-key.\n\n   ```bash  \n   cp .env.example .env  \n   ```  \n\n3. Start the local server:  \n   ```bash  \n   make start  \n   ```  \n\nAccess the API at http://localhost:8000\n\n## Architecture  \n\nThe project utilizes **LangGraph** to define a conversational workflow, integrating tools and memory nodes. Below is an example diagram of the graph and the UI interface:  \n\n### Graph Architecture  \n![Graph Diagram](./assets/graph.png)  \n\n### Chat UI  \n![Chat UI](./assets/chat_ui.jpg)  \n\n### Sample conversations\n\n1. Check order history of a customer:\n\n    ![Check order history](./assets/chatbot-1.jpg)  \n\n2. Change user's address:\n\n    ![Change address](./assets/chatbot-2.jpg)  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepigos%2Freact-ai-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepigos%2Freact-ai-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepigos%2Freact-ai-agent/lists"}