This project is an interactive AI assistant built with Streamlit, NVIDIA NIM's API (LLaMa 3.3:70b)/Ollama, and Model Control Protocol (MCP). It provides a conversational interface where you can interact with an LLM to execute real-time external tools via MCP, retrieve data, and perform actions seamlessly.
The assistant supports:
- Custom model selection (NVIDIA NIM / Ollama)
- API configuration for different backends
- Tool integration via MCP to enhance usability and real-time data processing
- A user-friendly chat-based experience with Streamlit



llama_mcp_streamlit/
โโโ ui/
โ โโโ sidebar.py # UI components for Streamlit sidebar
โ โโโ chat_ui.py # Chat interface components
โโโ utils/
โ โโโ agent.py # Handles interaction with LLM and tools
โ โโโ mcp_client.py # MCP client for connecting to external tools
โ โโโ mcp_server.py # Configuration for MCP server selection
โโโ config.py # Configuration settings
โโโ main.py # Entry point for the Streamlit app
.env # Environment variables
Dockerfile # Docker configuration
pyproject.toml # Poetry dependency management
