{"id":28903414,"url":"https://github.com/pranav-here/agentic-ai-chatbot","last_synced_at":"2026-04-07T08:31:47.191Z","repository":{"id":300270640,"uuid":"1000793473","full_name":"Pranav-here/agentic-ai-chatbot","owner":"Pranav-here","description":"This project is a modular AI chatbot framework that allows dynamic interaction with multiple LLM providers using LangGraph, LangChain, Streamlit, and FastAPI. It also optionally integrates search tools such as Tavily for online augmentation.","archived":false,"fork":false,"pushed_at":"2025-06-20T19:37:13.000Z","size":363,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-20T19:41:20.812Z","etag":null,"topics":["fastapi","groq-integration","langchain","langgraph","llama","llms","mistral","openai","python","react-agents","streamlit","uvicorn","vscode"],"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/Pranav-here.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-12T10:29:07.000Z","updated_at":"2025-06-20T19:37:16.000Z","dependencies_parsed_at":"2025-06-20T19:41:24.536Z","dependency_job_id":"bd2df3f7-aeea-4302-a40e-bf9701d5c97c","html_url":"https://github.com/Pranav-here/agentic-ai-chatbot","commit_stats":null,"previous_names":["pranav-here/agentic-ai-chatbot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Pranav-here/agentic-ai-chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pranav-here%2Fagentic-ai-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pranav-here%2Fagentic-ai-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pranav-here%2Fagentic-ai-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pranav-here%2Fagentic-ai-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pranav-here","download_url":"https://codeload.github.com/Pranav-here/agentic-ai-chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pranav-here%2Fagentic-ai-chatbot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261119541,"owners_count":23112206,"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","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":["fastapi","groq-integration","langchain","langgraph","llama","llms","mistral","openai","python","react-agents","streamlit","uvicorn","vscode"],"created_at":"2025-06-21T12:02:25.372Z","updated_at":"2026-04-07T08:31:47.162Z","avatar_url":"https://github.com/Pranav-here.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LangGraph Agentic AI Chatbot\n\nThis project is a modular AI chatbot framework that allows dynamic interaction with multiple LLM providers using LangGraph, LangChain, Streamlit, and FastAPI. It also optionally integrates search tools such as Tavily for online augmentation.\n\nThe system consists of:\n\n- Streamlit Frontend for user interaction\n- FastAPI Backend to serve AI agent responses via REST API\n- LangGraph-powered React Agent with support for Groq, OpenAI models, and Tavily search integration\n\n## Features\n\n- Dynamically select LLM Provider (Groq or OpenAI)\n- Dynamically select available LLM models\n- Optional web search augmentation using Tavily\n- Custom system prompts per user session\n- Stateless API endpoint for easy integration\n- Fully interactive Streamlit user interface\n- Modular backend logic via reusable agent creation functions\n\n## Supported Models\n\n- Groq: llama-3.3-70b-versatile, mixtral-8x7b-32768\n- OpenAI: gpt-4o-mini\n\n## Project Structure\n\n| File/Folder      | Description                  |\n|-------------------|------------------------------|\n| `main.py`         | FastAPI Backend              |\n| `frontend.py`     | Streamlit Frontend           |\n| `ai_agent.py`     | Agent Creation Logic         |\n| `backend.py`      | Pydantic Schema Validation   |\n| `.env`            | Environment variables (API Keys) |\n| `requirements.txt`| Python dependencies list     |\n| `README.md`       | Project documentation        |\n## Setup Instructions\n\n1. **Clone the repository**\n\n```bash\ngit clone https://github.com/your-username/langgraph-agentic-chatbot.git\ncd langgraph-agentic-chatbot\n```\n\n2. **Setup virtual environment**\n\n```bash\npython -m venv venv\nsource venv/bin/activate  # Linux/Mac\nvenv\\Scripts\\activate     # Windows\n```\n\n3. **Install dependencies**\n\n```bash\npip install -r requirements.txt\n```\n\n4. **Setup environment variables**\n\nCreate a `.env` file in the project root:\n\n```bash\nGROQ_API_KEY=your_groq_api_key\nOPENAI_API_KEY=your_openai_api_key\nTAVILY_API_KEY=your_tavily_api_key\n```\n\n5. **Run Backend Server**\n\n```bash\npython backend.py\n```\n\n6. **Run Streamlit Frontend**\n\n```bash\nstreamlit run frontend.py\n```\n\n7. **Test API (Swagger UI)**\n\nVisit:\n\n```\nhttp://127.0.0.1:9999/docs\n```\n\n## Dependencies\n\n- Python 3.10+\n- LangChain\n- LangGraph\n- LangChain-Groq\n- LangChain-OpenAI\n- LangChain-Tavily\n- FastAPI\n- Pydantic\n- Streamlit\n- Uvicorn\n- Requests\n- python-dotenv\n\n## Notes\n\n- Make sure you have valid API keys for all providers you want to use.\n- Tavily is optional and only used when web search is enabled.\n- Backend and frontend communicate over HTTP (localhost).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpranav-here%2Fagentic-ai-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpranav-here%2Fagentic-ai-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpranav-here%2Fagentic-ai-chatbot/lists"}