A powerful AI-powered brand reputation monitoring tool that analyzes news coverage, sentiment, and brand insights to help businesses track their reputation in real-time. This application uses Nebius AI for intelligent analysis, Memori for persistent context, Bright Data for real-time web scraping, and Agno agents for comprehensive brand intelligence.
📰 News Analysis: Real-time monitoring of news articles and press coverage about your brand
💭 Sentiment Analysis: AI-powered sentiment tracking (positive, negative, neutral)
🔍 Brand Insights: Actionable insights extracted from news and public perception
🤖 Conversational AI: Natural chat interface with Nebius AI-powered follow-up questions
💾 Memory Integration: Stores conversation context using Memori with SQLite for persistent learning
🌐 Real-Time Web Scraping: Uses Bright Data to extract current news and brand data
🎯 Keyword-Based Monitoring: Custom search queries for targeted brand tracking
📱 Interactive Chat: Natural conversation flow with contextual responses
🔄 Context-Aware Responses: Searches memory before answering for consistent insights
⚙️ Easy Configuration: Simple setup with API keys via intuitive sidebar
🔒 Evidence-Based Analysis: Only includes real URLs and sources from actual web research
- Python 3.10+
- Nebius Token Factory API key (Get it here)
- Bright Data API credentials
- SQLite (included with Python)
- Clone the repository:
git clone https://github.com/Arindam200/awesome-ai-apps/brand-reputation-monitor.git
cd memory_agents/brand_reputation_monitor- Install the required dependencies:
# Using pip
pip install -r requirements.txt
# Or using uv (recommended)
uv sync- Create a
.envfile in the project root and add your API credentials:
# Nebius AI Configuration
NEBIUS_API_KEY=your_nebius_api_key
# Bright Data Configuration
BRIGHTDATA_API_KEY=your_brightdata_api_keyNote: This application uses Nebius Token Factory for intelligent brand analysis. Get your API key from Nebius Token Factory.
- Start the Streamlit application:
streamlit run app.py-
Open your web browser and navigate to the provided local URL (typically
http://localhost:8501) -
Configure your API keys in the sidebar:
- Nebius AI API Key
- Bright Data API Key
- Click "Save API Keys"
-
Start monitoring your brand:
- Enter your company name
- Provide search keywords (e.g., "apple news, apple reviews, apple controversy")
- Let the AI analyze and provide insights
- Ask follow-up questions about the results
The application uses a sophisticated workflow to monitor and analyze brand reputation:
- Searches Google News for relevant articles using your keywords
- Scrapes news pages to extract comprehensive content
- Identifies the most relevant articles for brand reputation monitoring
- Scrapes individual news articles for detailed content
- Uses AI to extract titles, summaries, and sentiment
- Generates actionable insights about brand reputation
- Analyzes sentiment as positive, negative, or neutral
- Provides context for sentiment drivers
- Tracks sentiment patterns across different news sources
- Extracts 3-5 actionable insights per article
- Focuses on brand reputation implications
- Provides concise, strategic recommendations
Step 1: Company Introduction
- System asks for your company name
- Stores context for personalized monitoring
Step 2: Keyword Configuration
- Specify search keywords for brand monitoring
- Examples: "company news", "company reviews", "company controversy"
- System validates and processes keywords
Step 3: Real-Time Analysis
- AI system performs comprehensive web research using Bright Data
- Scrapes news articles and analyzes content
- Generates detailed brand reputation report
- All findings stored in Memori for future reference
Step 4: Interactive Follow-Up
- Ask questions about the analysis results
- Request clarification on insights or sentiment
- System searches Memori before answering for consistency
- All conversations tracked for context-aware responses
- Launch App: Open the application and enter your API keys
- Enter Company: "Apple"
- Set Keywords: "apple news, apple reviews, apple controversy, apple announcement"
- AI Analysis: System scrapes and analyzes relevant news articles
- Review Report: Receive detailed analysis with sentiment and insights
- Follow-Up: Ask questions like "What's the overall sentiment?" or "What are the main concerns?"
- New Analysis: Request analysis with different keywords or ask for deeper insights
The AI system analyzes your brand across multiple dimensions:
📰 Article Titles: Key headlines mentioning your brand
📝 Content Summaries: Concise summaries of news content
🔗 Source URLs: Direct links to original articles
📊 Coverage Volume: Number of articles and mentions
😊 Positive Sentiment: Positive news and favorable coverage
😞 Negative Sentiment: Critical coverage and negative mentions
😐 Neutral Sentiment: Factual reporting without bias
📈 Sentiment Trends: Patterns in sentiment over time
💡 Strategic Insights: Actionable recommendations for brand management
🎯 Opportunity Areas: Positive trends and growth opportunities
📋 Action Items: Specific steps to improve brand reputation
- Model: Qwen/Qwen3-Coder-480B-A35B-Instruct (via Nebius Token Factory)
- Purpose: News analysis, sentiment analysis, and insight generation
- Framework: Agno agents for structured AI interactions
- Get API Key: Nebius Token Factory
- SERP Zone:
sdk_serp(for Google News searches) - Web Unlocker Zone:
unlocker(for article scraping) - Purpose: Real-time web data extraction
- Scope: News websites, press releases, media coverage
- Database: SQLite (local file:
memori.db) - Purpose: Persistent conversation memory and context storage
- Features: Automatic context search, conversation tracking
- Advantage: No external database setup required
- UI Layer (
app.py): Streamlit interface and conversation flow - Workflow Layer (
workflow.py): Core brand monitoring functions - Memory Layer: Memori integration for context persistence
- Scraping Layer: Bright Data tools for web research
- Conversation Manager: Handles user interaction and flow states
- Brand Analysis Engine: Nebius AI-powered news analysis with Agno agents
- Web Research Engine: Bright Data integration for real-time scraping
- Memory System: Memori for context storage and retrieval
- Context Search: Automatic memory search before responding
- Custom search queries for targeted brand tracking
- Flexible keyword combinations for comprehensive coverage
- Real-time news aggregation and analysis
- Focused reputation monitoring
- Only includes exact URLs actually scraped
- Never fabricates or adds placeholder sources
- Complete transparency in research sources
- Direct links to original news articles
- Always searches Memori before answering
- Maintains conversation context across sessions
- Provides consistent insights over time
- Learns from all previous analyses
- "Monitor Apple's reputation with keywords: apple news, apple reviews"
- "Track Tesla's sentiment with: tesla news, tesla controversy, tesla stock"
- "Analyze Microsoft's brand perception with: microsoft news, microsoft reviews"
- "What's the current sentiment about our brand?"
- "Are there any negative mentions we should address?"
- "What are the main concerns mentioned in recent news?"
- "Compare our sentiment to competitor X"
- "What are customers saying about our brand vs competitors?"
- "How is our brand performing in the news compared to last month?"
- "Explain the insights from the analysis"
- "What company are we analyzing?"
- "What keywords did we search for?"
- "Can you summarize the key findings?"
brand-reputation-monitor/
├── app.py # Main Streamlit application
├── workflow.py # Core brand monitoring functions
├── config.json # Default configuration
├── requirements.txt # Python dependencies
├── README.md # This file
├── assets/ # Logo and image files
│ ├── gibson.svg # GibsonAI logo
│ └── brightdata_logo.png
└── memori.db # SQLite database (created automatically)
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Check API keys are correctly entered in sidebar
- Verify environment variables in
.envfile - Ensure both Nebius AI and Bright Data keys are valid
- Get Nebius Token Factory API key from Nebius Token Factory
- Ensure Bright Data API key is valid and has credits
- Check internet connection for web scraping
- Verify Bright Data zones are properly configured
- SQLite database created automatically on first use
- Check file permissions in project directory
- Database file
memori.dbshould be created automatically
- First analysis may take 2-5 minutes (web research)
- Ensure Bright Data has sufficient credits
- Check internet connection for web scraping
- Large keyword lists may take longer to process
This project is licensed under the MIT License - see the LICENSE file for details.