AB
AiBoss
project

BettaFish - An open-source multi-agent sentiment analysis system that automatically collects and analyzes sentiment data.

BettaFish is an open-source, multi-agent public opinion analysis system that helps users quickly understand public sentiment towards events, brands, or products. The system is driven by natural language; users simply submit their requests as if in a chat...

What is BettaFish?

BettaFish is an open-source, multi-agent public opinion analysis system that helps users quickly understand public sentiment towards events, brands, or products. Driven by natural language, users simply submit their requests as if in a chat, and the system automatically collects, analyzes, and predicts public opinion across the entire internet. The system covers over 30 mainstream social media platforms both domestically and internationally, featuring multi-agent collaboration, multimodal analysis, and public/private domain data fusion, and supports one-click deployment. The project is completely open-source and suitable for brand public relations, market analysis, scientific research, and other scenarios.

BettaFish's main functions

  • Natural Language DrivenUsers input their needs via chat, and the system can automatically collect, analyze, and predict data without requiring complex operations.
  • Multi-source data collection across the entire networkIt covers 30+ mainstream social media platforms both domestically and internationally, enabling comprehensive access to public opinion information.
  • Multi-Agent CollaborationMultiple intelligent agents collaborate and divide tasks, simulating the collision of ideas in a "forum" to improve the quality of analysis.
  • Forecasting and Decision MakingBased on semantic analysis and popularity index, predict public opinion trends and generate professional reports to assist decision-making.
  • Multimodal capabilitiesIn-depth analysis of multimodal content such as images, text, and videos; accurate information extraction; and comprehensive understanding of public opinion dynamics.
  • Public and private domain data fusionIt supports seamless integration of internal business databases with publicly available public opinion data, providing a more comprehensive analytical perspective.
  • Lightweight and highly scalableBased on a pure Python modular design, it supports one-click deployment and is easy to extend and customize.

How to use BettaFish

  • Clone the project and create the environmentClone the BettaFish project from the GitHub repository https://github.com/666ghj/BettaFish to your local machine, create a new Python environment, and install the project dependencies.
  • Install dependenciesInstall the necessary Python dependencies in the project directory, and install the Playwright browser driver to support web scraping functionality.
  • Configuration System:copyconfig.py.exampleThe file isconfig.pyFill in the database configuration and LLM (such as OpenAI) API key information.
  • Initialize the databaseIf you choose to use a local database, run the database initialization script; if you use a cloud database service, you need to contact the project team to apply for access permissions.
  • Startup SystemAfter activating the Python environment, launch the BettaFish main application and access it through a browser.http://localhost:5000Use the system.

BettaFish project address

  • GitHub repository: https://github.com/666ghj/BettaFish

Application scenarios of BettaFish

  • Brand PR TeamThe brand's public relations team used BettaFish to track online feedback after the launch of new products, promptly identify potential negative public opinion, and formulate response strategies in advance.
  • Media and research institutionsMedia outlets and research institutions can use BettaFish to analyze the dissemination mechanisms of social hot topics, gain a deeper understanding of the dynamic changes in public opinion, and provide data support for reporting and research.
  • Product Manager/Market AnalystProduct managers and market analysts can use BettaFish to understand users' real needs and pain points, optimize product design and marketing strategies, and enhance product competitiveness.
  • For educational or research purposesEducators and researchers use BettaFish to study the evolution of public opinion and changes in language sentiment, providing rich data and analytical tools for academic research in related fields.