๐ซ CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
๐ง CAMEL Multi-Agent Research Assistant
A powerful, AI-driven research assistant built using the CAMEL-AI framework. This application leverages multiple specialized toolkits and a role-playing agent architecture to autonomously generate comprehensive research reports on any given topic.
๐ Features
- Multi-Agent Collaboration: Utilizes CAMEL's role-playing framework to simulate interactions between a "Project Manager" and a "Researcher Agent" for dynamic task execution.
- Diverse Toolkit Integration: Incorporates various CAMEL toolkits including:
GoogleScholarToolkitandSemanticScholarToolkitfor academic paper retrieval.ArxivToolkitfor accessing preprints.AskNewsToolkitfor fetching relevant news articles.ThinkingToolkitfor planning and synthesis.FileToolkitfor saving reports locally.LinkedInToolkitfor potential dissemination.OpenAIImageToolkitfor generating illustrative images.
- Streamlit Interface: Provides an intuitive web interface for users to input topics and receive generated reports.
๐ ๏ธ Installation
Clone the Repository:
git clone https://github.com/camel-ai/camel.git cd camel/examples/usecases/multi_agent_research_assistantCreate and Activate a Virtual Environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activateInstall Dependencies:
pip install -r requirements.txt๐ ๏ธ Setup Environment Variables
Copy the provided
.env.templateto.env:Open the
.envfile in your preferred editor and add your required API keys. At a minimum, you need to provide your OpenAI API key:OPENAI_API_KEY=your_openai_api_keyReplace
your_openai_api_keywith your actual key from OpenAI.Additional environment variables may be required depending on the toolkits you enable (e.g., for LinkedIn, DALLยทE, news APIs, etc.).
โถ๏ธ Running the Application
Start the Streamlit application:
streamlit run app.py
This will open the application in your default web browser. Enter a research topic and click "Generate Report" to initiate the multi-agent research process.
๐ Project Structure
camel-research-assistant/
โโโ app.py # Main Streamlit application
โโโ requirements.txt # Python dependencies
โโโ .env # Environment variables (not included in version control)
โโโ README.md # Project documentation
๐งช Example Usage
- Launch the application.
- Input a topic, e.g., "Latest breakthroughs in quantum computing".
- Click "Generate Report".
- The application will:
- Identify top researchers in the field.
- Retrieve relevant academic papers and news articles.
- Generate a comprehensive report.
- Save the report locally.
- Optionally, generate illustrative images and prepare content for LinkedIn dissemination.