Skip to content

mrorigo/deep-conversational-research

Repository files navigation

Deep Conversational Swarm Research (DCSR): Unleashing Collective AI for Research Breakthroughs

Imagine a research process where diverse perspectives converge, knowledge gaps are filled in real-time, and insights emerge at an accelerated pace. That's the promise of Deep Conversational Swarm Research (DCSR), a system inspired by the collective intelligence found in nature.

DCSR leverages the principles of Conversational Swarm Intelligence (CSI), where a large group is divided into smaller, interconnected subgroups to facilitate focused discussions and minimize conversational bottlenecks. But DCSR takes it a step further by equipping AI agents with the ability to conduct on-demand "deep research," transforming collaborative discussions into dynamic explorations of knowledge.

Building upon the foundational work in the deep-research repository by dzhng, DCSR empowers CSI agents to perform on-demand research. We extend our sincere appreciation for their open-source contribution!

How DCSR Works:

  1. AI Research Teams: DCSR creates teams of AI agents, organized into subgroups. Each agent acts as a virtual researcher, potentially with a unique expertise and communication style. The number of agents and subgroups is easily configurable through a user-friendly interface.

  2. Dynamic Discussions: The subgroups engage in structured discussions centered around a research topic. Agents contribute their knowledge and can identify areas requiring further investigation.

  3. On-Demand Deep Research: When an agent identifies a knowledge gap or a promising lead, they trigger a "deep research" action. The system formulates targeted search queries using DuckDuckGo Search, analyzes web content using Firecrawl for robust scraping, and extracts key learnings. The breadth and depth of this research can be adjusted to suit the specific task.

  4. Knowledge Infusion: The newly acquired learnings are seamlessly integrated back into the subgroup's discussion, enriching the conversation with fresh insights and data.

  5. Cross-Pollination of Ideas: After a defined period (configured as "rounds" and "steps"), each subgroup summarizes its key findings and shares them with other subgroups. This "cross-pollination" sparks new perspectives and accelerates the overall research progress.

  6. Iterative Exploration: The process repeats for multiple rounds, enabling agents to iteratively refine their understanding and build upon each other's discoveries.

  7. Comprehensive Final Reports: The system synthesizes all shared insights into two comprehensive reports: an initial report and a revised report. These reports are readily accessible through the intuitive web-based frontend.

Key Features and Benefits:

  • User-Friendly Web Interface: A React-based frontend provides an intuitive way to start new research conversations, monitor progress through an event log, view group discussions, and access final reports.
  • Real-time Event Logging: A websocket-based event logging system delivers real-time updates on the conversation's progress, research events, and insight sharing, all displayed within the frontend.
  • Flexible Configuration: The depth and breadth of deep research, the number of agents and groups, and the language models used can all be easily configured via the frontend or command-line arguments.
  • Reliable Web Scraping with Firecrawl: Firecrawl integration ensures robust and accurate extraction of web content for analysis.
  • DuckDuckGo Search Integration: The system utilizes DuckDuckGo Search, offering an alternative to traditional search engines.
  • Containerized Deployment with Docker Compose: The entire system, including Firecrawl and Redis, is containerized, simplifying setup, deployment, and management.
  • Customizable Agent Modeling: Different language models can be assigned to different agents and summarization tasks, allowing for tailored performance.
  • Robust Error Handling and Logging: Comprehensive error handling and logging mechanisms provide valuable insights into system operations and aid in debugging.

Impact and Potential:

DCSR has the potential to transform collaborative research by:

  • Accelerating Discovery: Automating research processes and facilitating efficient knowledge sharing drastically reduces time-to-insight.
  • Uncovering Novel Insights: The diverse AI agent perspectives, combined with deep research capabilities, can reveal unexpected connections and innovative solutions.
  • Democratizing Research: DCSR makes advanced research tools accessible to users regardless of their technical expertise.
  • Enhancing Research Quality: Ensuring comprehensive information gathering and minimizing biases strengthens the reliability and rigor of research outcomes.

Getting Started:

Refer to the QUICKSTART.md file for detailed instructions on setting up and running the DCSR system. The QUICKSTART.md guide provides step-by-step guidance for environment configuration, Docker Compose setup, and accessing the web frontend.

We Invite Your Feedback:

As DCSR continues to evolve, we welcome feedback from the community to enhance and expand its capabilities. Join us on this journey of discovery and innovation as we push the boundaries of AI-powered collaboration!

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgements

95% of code and documentation was written by Gemini 2.0 Flash

About

Multi Agent Deep Conversational Research Swarms

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published