OWL x WhatsApp MCP Server
by Bipul70701
This application integrates the WhatsApp MCP server with the OWL multi-agent framework, enabling AI agents to interact with your WhatsApp data through a Streamlit interface. It leverages CAMEL-AI and OWL frameworks for dynamic agent interactions and task automation.
Last updated: N/A
š¦ OWL x WhatsApp MCP Server Integration
Welcome to the OWL x WhatsApp MCP Server project! This application seamlessly integrates the WhatsApp MCP server with the OWL multi-agent framework, enabling AI agents to interact with your WhatsApp data through a user-friendly Streamlit interface.
⨠Features
- š¤ Multi-Agent Collaboration: Leverages CAMEL-AI and OWL frameworks for dynamic agent interactions and task automation.
- š± WhatsApp Integration: Access and search your personal WhatsApp messages, including media files.
- š¤ Message Dispatch: Send messages to individuals or groups directly through the app.
- š Real-Time Information Retrieval: Utilize web search capabilities for up-to-date information.
- š Streamlit Interface: Provides an intuitive UI for seamless user interaction.
š ļø How It Works
- Agent Roles: Defined using CAMEL-AI's
RolePlaying
class to simulate user and assistant interactions. - Toolkits Integration: Incorporates MCPToolkit for WhatsApp data access and SearchToolkit for web searches.
- Task Execution: OWL framework orchestrates the agents to perform tasks based on user input.
- User Interface: Streamlit app captures user tasks and displays results in real-time.
š Getting Started
-
Clone the Repository:
git clone https://github.com/Bipul70701/WhatsApp_MCP_Server.git cd WhatsApp_MCP_Server
-
Create a Virtual Environment:
python -m venv venv
-
Activate the Virtual Environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install Dependencies:
pip install -r requirements.txt
-
Configure Environment Variables:
- Rename
.env_template
to.env
. - Fill in the required API keys and configurations.
- Rename
-
Configure MCP Server:
- Install and Set Up WhatsApp MCP Server:
- Follow the instructions in the WhatsApp MCP server repository to install and run the server.
- Ensure the server is running and accessible.
- Install and Set Up WhatsApp MCP Server:
-
Run the Streamlit App:
streamlit run project.py
š Project Structure
owl-whatsapp-mcp/
āāā project.py # Main Streamlit application
āāā owl/ # OWL framework and utilities
ā āāā utils/ # Utility functions and helpers
āāā mcp_servers_config.json # Configuration for MCP servers
āāā requirements.txt # List of dependencies
āāā .env_template # Example environment variables file
āāā README.md # Project documentation
š§ Key Components
- CAMEL-AI: Framework for designing and managing autonomous agents.
- OWL: Optimized Workforce Learning for real-time task management and collaboration.
- MCPToolkit: Facilitates interaction with WhatsApp data.
- SearchToolkit: Enables web search capabilities.
- Streamlit: Provides an interactive web interface for user interaction.
š Credits
- CAMEL-AI: For the multi-agent framework.
- OWL: For real-time task management and collaboration.
- WhatsApp MCP Server: For WhatsApp data integration.
- Streamlit: For the interactive UI.
Made with ā¤ļø by Bipul Kumar Sharma