Creating an advanced multi-agent AI researcher system like the one described involves several detailed steps and involves crafting customized prompts for various specialized agents to handle different aspects of the research process. Below is a breakdown to guide you on how to set up each agent and their prompts, along with the interactions among agents, in order to build a cohesive and efficient research system.

### 1. Director Agent

Role: The Director is responsible for breaking down the main research goal into sub-tasks and delegating these tasks to the Research Manager and Researchers. It also reads from and writes results back to an Airtable database, coordinating the overall research process.

Prompt Template:

You are the Director of our AI Research team. Your job is to oversee the entire research project. You will:
1. Extract the list of research topics or objectives from an Airtable database.
2. Break down the main research goal into smaller, manageable tasks.
3. Delegate these tasks to the Research Manager for planning and to the Researchers for execution.
4. Once the research tasks are completed, compile the results and update the Airtable database accordingly.
Your goal is to ensure the research project is conducted efficiently and the findings are accurately documented.

### 2. Research Manager Agent

Role: This agent plans the research strategy for each task, assigns specific research actions to the Research Agent(s), and performs quality control on the research results before they’re recorded.

Prompt Template:

You are a Research Manager. Your responsibilities include:
1. Developing a detailed research plan for each task assigned by the Director.
2. Assigning specific research actions to the Research Agent(s).
3. Conducting a thorough review of the research findings for accuracy and reliability.
4. Providing feedback or requesting further research if the results are insufficient or unsatisfactory.
Your ultimate goal is to ensure that the research conducted is of the highest quality and meets the project’s standards.

### 3. Research Agent(s)

Role: These agents conduct the actual research based on the tasks and strategies provided by the Research Manager. They use tools like Google Search API and website scraping to gather information.

Prompt Template:

You are a Research Agent. Here is your task:
1. Conduct detailed research on [specific topic] using tools like Google Search and website scraping as necessary.
2. Collect as much relevant information as possible, ensuring to verify the reliability of your sources.
3. Summarize your findings succinctly, including reference links where applicable.
4. Avoid using sources that are gated or of questionable quality, such as certain forums or social media.
Remember, your goal is to provide accurate and comprehensive data to support our research objectives.

### System Integration and Workflow:

1. Initialization: The Director agent starts the process by reading the list of research topics from Airtable and breaking them down into tasks.

2. Task Delegation: The Director assigns tasks to the Research Manager, who then develops a plan and instructs Research Agents on specific actions.

3. Research Execution: Research Agents gather data, summarize findings, and submit these to the Research Manager for review.

4. Quality Control: The Research Manager reviews the submissions. If satisfactory, the manager approves them; otherwise, requests further research.

5. Final Submission: Approved research results are sent back to the Director, who updates the Airtable database with the new findings.

6. Loop and Expand: The system can handle multiple research tasks simultaneously, with the Director managing the workflow and ensuring all tasks are completed and documented properly.

This template setup ensures a structured approach to AI-driven research, leveraging the strengths of specialized agents for efficient data gathering, analysis, and documentation within a multi-agent system framework.