ChatBot_Development
by 080bct12alex
Overview
A LangGraph-based AI chatbot with a Streamlit UI, featuring conversation memory, tool integration (search, calculator, stock price), RAG capabilities for document analysis, Multi-Agent Collaboration (MCP), user authentication, and persistent storage.
Installation
streamlit run with_mcp/app.pyEnvironment Variables
- GOOGLE_API_KEY
- ALPHAVANTAGE_API_KEY
- LANGGRAPH_COOKIE_PASSWORD
- LANGCHAIN_TRACING_V2
- LANGCHAIN_ENDPOINT
- LANGCHAIN_API_KEY
- LANGCHAIN_PROJECT
- OPENAI_API_KEY
- MCP_URL
Security Notes
Critical security risks identified: The Alpha Vantage API key is hardcoded in multiple `agent.py` files. More severely, the Streamlit `EncryptedCookieManager` password is hardcoded as `7b9561efc4a6acf95c78285418225434533f70dd609026c8ff9ba1c50a5be6c6` or a placeholder `YOUR_RANDOM_SECRET_KEY_HERE` in `app.py` files. This hardcoded cookie password allows anyone with access to the codebase to decrypt user session data, posing a significant risk of session hijacking and data exposure. Although user passwords are hashed with bcrypt, this cookie vulnerability is critical. External network calls (search, stock, MCP) depend on the security of third-party services.
Similar Servers
Docker_MCPGUIApp
A conversational AI chatbot leveraging Docker's Model and Component Protocol (MCP) to integrate with LLMs and perform various tool-augmented searches (web, academic papers).
fastchat-mcp
A Python client integrating Language Models (LLMs) with Model Context Protocol (MCP) servers, enabling natural language interaction with external tools, resources, and prompts via terminal or a FastAPI/WebSocket API.
ChatBot
Develops a versatile and interactive AI chatbot using LangGraph, featuring advanced concepts like memory, persistence, tool integration (search, calculator, stock price), multi-party communication (MCP), and retrieval-augmented generation (RAG) with a Streamlit user interface and user management.
Multiple-Tool-Chatbot-Using-Langchain-and-OpenAI
An agent-based chatbot integrating local and remote (Multi-Tool Communication Protocol - MCP) tools, supporting conversational AI, RAG, and stock price lookup through a FastAPI backend and a Streamlit frontend.