A comprehensive AI-powered system that detects and analyzes tone, trust and intent in real-time conversations across multiple platforms including Reddit, chat applications, and social media.
Sentimind integrates a Chrome extension for live chat analysis and a Reddit MCP server for large-scale social data analysis.
Powered by Google Gemini 2.0 AI, the system identifies sentiment patterns, toxic behaviors, and offers constructive feedback to improve digital communication.
- π Real-time Analysis: Monitors conversations as they happen
- π Multi-Platform Support: Works with WhatsApp, Messenger, Telegram, Discord, and Reddit
- π€ AI-Powered Intelligence: Uses Gemini 2.0 Flash for advanced contextual sentiment detection
- π Visual Feedback: Intuitive UI displaying sentiment and toxicity levels with suggestions
- π‘οΈ Privacy-First: No user data stored β all analysis happens locally
- β‘ MCP Integration: Seamless AI orchestration using the Model Context Protocol
Sentimind System
βββ π₯οΈ Chrome Extension (Frontend)
β βββ Real-time chat monitoring
β βββ Sentiment & toxicity indicator overlay
β βββ Gemini AI integration
βββ π Reddit MCP Server (Backend)
β βββ Live Reddit data crawling
β βββ Sentiment and toxic pattern detection
β βββ Conversation formatting
βββ π€ Dedalus Agent (Orchestration)
βββ MCP client management
βββ Gemini API coordination
βββ Analysis pipeline
- Python 3.10+
- Chrome Browser
- Reddit API credentials
- Gemini API key
- Dedalus API key
git clone https://github.com/yourusername/sentiMind.git
cd sentiMindcd reddit-mcp-server
# Install dependencies
pip install -r requirements.txt
# Configure environment
cp .env.example .env
# Edit .env with your API keys
# Start the server
python reddit_sentimind_server.py- Open Chrome and navigate to
chrome://extensions/ - Enable Developer mode
- Click Load unpacked and select the
chrome-extension/folder - Click the extension icon and enter your Gemini API key
cd dedalus-agent
# Create virtual environment
python3.10 -m venv sentimind_env
source sentimind_env/bin/activate
# Install dependencies
pip install -r requirements.txt
# Configure environment
cp .env.example .env
# Edit .env with your API keys
# Run the agent
python agent.py- Reddit API β Get from Reddit App Preferences
- Gemini API β Get from Google AI Studio
- Dedalus API β Get from Dedalus Labs
# dedalus-agent/.env
DEDALUS_API_KEY=your_dedalus_key
GEMINI_API_KEY=your_gemini_key
REDDIT_SERVER_URL=http://localhost:8000
# reddit-mcp-server/.env
REDDIT_CLIENT_ID=your_reddit_client_id
REDDIT_CLIENT_SECRET=your_reddit_secret- Install the Chrome extension
- Navigate to any supported chat platform (WhatsApp Web, Messenger, etc.)
- Start chatting β Sentimind automatically analyzes conversations
- View sentiment and toxicity indicators with improvement suggestions
- Start the Reddit MCP server
- Run the Dedalus Agent for live Reddit sentiment tracking
- Monitor results in real-time via WebSocket
- WhatsApp Web
- Facebook Messenger
- Telegram Web
- Discord
- Slack
- Microsoft Teams
- Reddit (via MCP Server)
- Pattern Recognition β Detects insults, sarcasm, manipulation
- Communication Analysis β Identifies tone, emotion, and passive-aggressive behavior
- Real-time Scoring β Displays instant sentiment levels (Positive / Neutral / Negative)
- Floating Indicator β Non-intrusive overlay
- Color-coded Alerts β Visual representation of sentiment intensity
- Actionable Suggestions β Constructive communication improvement advice
- Standard Protocol β Uses Model Context Protocol for orchestration
- Extensible Design β Add new data sources easily
- Scalable Deployment β Production-ready modular setup
# 1. Start Reddit server (Terminal 1)
cd reddit-mcp-server && python reddit_sentimind_server.py
# 2. Start WebSocket server (Terminal 2)
cd dedalus-agent && source sentimind_env/bin/activate && python websocket_server.py
# 3. Run agent (Terminal 3)
cd dedalus-agent && source sentimind_env/bin/activate && python agent.py
# 4. Load Chrome extension in browser# Test Reddit server
cd reddit-mcp-server && python test_reddit_server.py
# Test agent integration
cd dedalus-agent && python test_integration.py
# Run all tests
./run_tests.shsentimind/
βββ π README.md
βββ π chrome-extension/ # Browser extension
β βββ manifest.json
β βββ content.js # Core analysis logic
β βββ popup.html # Extension UI
β βββ content.css # Styling
β βββ icons/ # Icons
βββ π reddit-mcp-server/ # Reddit data server
β βββ reddit_sentimind_server.py
β βββ requirements.txt
β βββ test_reddit_server.py
βββ π dedalus-agent/ # AI orchestration
β βββ agent.py
β βββ websocket_server.py
β βββ requirements.txt
β βββ .env.example
βββ π docs/ # Documentation
βββ architecture.md
βββ api-reference.md
- Extend
content.jswith new platform selectors - Update permissions in
manifest.json - Test extraction patterns
- Modify detection patterns in Reddit crawler
- Adjust Gemini prompt templates for emotion depth
- Extend MCP tools for multimodal understanding
# Package Chrome extension
cd chrome-extension && zip -r sentimind.zip .
# Dockerize servers
docker build -t sentimind .We welcome contributions! See CONTRIBUTING.md for details.
- Fork the repository
- Create a feature branch
- Commit your changes
- Push and open a pull request
This project is licensed under the MIT License β see the LICENSE file for details.
- Google Gemini for advanced AI capabilities
- Reddit PRAW for API integration
- Dedalus Labs for MCP orchestration
- Chrome Extension API for seamless browser integration