An extensible multi-agent Research Assistant that uses Gemini-powered subagents (Researcher, Analyst, Formatter) with ArXiv and custom tools to search, analyze, format, and persist academic findings, and can run locally (Flask) or be deployed to Vertex AI.
# 🎓 Multi-Agent Research Assistant
An advanced AI agent system designed to automate the academic research process. Powered by **Google Gemini 2.5**, this project uses a **multi-agent architecture** to search for papers, analyze publication trends, format citations, and persist findings.
## 🚀 Features
* **Multi-Agent Architecture**: Specialized agents working in concert:
🕵️ **Researcher**: Searches ArXiv for relevant papers (supports parallel queries).
📊 **Analyst**: Analyzes data (e.g., publication year distribution) and generates ASCII charts.
📝 **Formatter**: Formats raw paper data into proper APA citations.
🧠 **Root Agent**: Orchestrates the workflow and manages memory.
* **Tools & Integrations**:
**ArXiv API**: Real-time access to millions of academic papers.
**Long-Term Memory**: Persists findings to a JSON knowledge base.
**Parallel Execution**: Simulates concurrent research tasks for efficiency.
* **Deployment Ready**:
Run locally via **Flask API**.
Deploy to production on **Google Cloud Vertex AI Agent Engine**.
Interactive testing via **ADK Web UI**.
## 🏗️ Architecture
The system follows a hierarchical multi-agent pattern:
```mermaid
graph TD
User[User Query] --> Root["Root Agent (Orchestrator)"]
Root -->|Delegates Search| Researcher[Researcher Agent]
Researcher -->|Calls| ArXiv[ArXiv API]
Root -->|Delegates Analysis| Analyst[Analyst Agent]
Root -->|Delegates Formatting| Formatter[Formatter Agent]
Root -->|Saves Data| Memory[(Long-Term Memory)]
Root -->|Final Report| User
```
## 🛠️ Tech Stack
* **LLM**: Google Gemini 2.5 Flash Lite
* **Framework**: Google Agent Development Kit (ADK)
* **Language**: Python 3.10+
* **APIs**: ArXiv API
* **Deployment**: Flask, Vertex AI, Docker
## 📦 Installation
1. **Clone the repository**:
```bash
git clone https://github.com/emansarahafi/research-assistant-agent.git
cd research-assistant-agent
```
2. **Install dependencGoogle's AI-powered research notebook that ingests your documents and becomes an expert on your content. Generates audio overviews, study guides, FAQs, and interactive discussions from uploaded sources.
Google DeepMind's experimental AI agent that can navigate websites, fill forms, and complete multi-step browser tasks autonomously. Uses Gemini's multimodal understanding to interact with web interfaces.
Google DeepMind's universal AI assistant prototype that can see, hear, and respond in real-time through your device camera and microphone. Demonstrates the future of multimodal AI interaction.
Google Cloud's enterprise platform for building, deploying, and managing AI agents powered by Gemini. Supports multi-agent orchestration, tool integration, and enterprise governance.
Gemini's agentic research capability that autonomously browses the web, synthesizes information from dozens of sources, and produces comprehensive research reports on any topic.
Interactive coding and content creation agent that generates, previews, and iterates on code, documents, and interactive applications in a side panel. Supports HTML/CSS/JS, Python, and more.