An AI-powered multi-agent research platform that transforms complex research questions into structured, evidence-backed insights using autonomous AI agents, real-time web search, RAG, vector databases, and knowledge graphs.
ResearchAI is a full-stack MERN-based AI research workspace that automates the complete research lifecycle โ from research planning and source discovery to analysis, fact-checking, synthesis, knowledge visualization, comparison, deep-dive research, and PDF report generation.
- ๐ค Multi-Agent Research โ Planner, Researcher, Analyst, Fact Checker and Synthesizer agents.
- ๐ Real-Time Web Search โ Tavily-powered search with source URLs and citations.
- ๐ Document RAG โ Upload PDF/TXT documents and perform contextual research using Pinecone.
- ๐ง Knowledge Graph โ Neo4j-powered entity and relationship visualization.
- ๐ฌ Research Chat โ Ask questions about completed research and documents.
- ๐ฌ Deep Dive Research โ Perform targeted follow-up research on individual findings.
- โ๏ธ Research Comparison โ Compare two completed research workspaces.
- โณ Research Timeline โ Visualize important research events chronologically.
- ๐ Global Search โ Search across workspaces and research content.
- ๐ PDF Export โ Export research results into structured PDF reports.
- ๐ฏ Demo Workspaces โ Explore pre-built research without consuming API credits.
- ๐ JWT Authentication โ Secure registration, login and protected APIs.
- ๐ Dark/Light Mode โ Responsive premium interface.
โโโโโโโโโโโโโโโโโโโโโโโโโโ
โ React + Vite โ
โ Frontend โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโ
โ
REST API
โ
โโโโโโโโโโโโโโผโโโโโโโโโโโโ
โ Node.js + Express โ
โ Backend โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
โโโโโโโโโโโโโโ โโโโโโโโโโโโโโ โโโโโโโโโโโโโโ
โ MongoDB โ โ Neo4j โ โ Pinecone โ
โ Applicationโ โ Knowledge โ โ Vector DB โ
โ Data โ โ Graph โ โ RAG โ
โโโโโโโโโโโโโโ โโโโโโโโโโโโโโ โโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโ
โ Gemini AI โ
โ Multi-Agent Core โ
โโโโโโโโโโโฌโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโ
โ Tavily Search โ
โ Real Web Search โ
โโโโโโโโโโโโโโโโโโโโโโ
Research Question
โ
โผ
โโโโโโโโโโโ
โ Planner โ
โโโโโโฌโโโโโ
โ
โผ
โโโโโโโโโโโโโโ
โ Researcher โ
โโโโโโโฌโโโโโโโ
โ
โผ
โโโโโโโโโโโ
โ Analyst โ
โโโโโโฌโโโโโ
โ
โผ
โโโโโโโโโโโโโโโ
โ Fact Checkerโ
โโโโโโโโฌโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโ
โ Synthesizer โ
โโโโโโโโฌโโโโโโโ
โ
โผ
Final Research Report
โ
โโโโโโโโโโโโโโโผโโโโโโโโโโโโโโ
โผ โผ โผ
Web Sources Knowledge Graph Timeline
โ
โโโโโโโโโโโโโโโโบ Research Chat
โ
โโโโโโโโโโโโโโโโบ Deep Dive
โ
โโโโโโโโโโโโโโโโบ PDF Export
PDF / TXT Upload
โ
โผ
Text Extraction
โ
โผ
Chunking
โ
โผ
Embeddings
โ
โผ
Pinecone
โ
โผ
Semantic Retrieval
โ
โผ
Gemini Context
โ
โผ
Contextual Answer
Research Findings
โ
โผ
Gemini Entity Extraction
โ
โผ
Entities + Relationships
โ
โผ
Neo4j Graph Database
โ
โผ
Interactive Knowledge Graph
Users can select two completed research workspaces and compare:
- Similarities
- Differences
- Conflicting findings
- Supporting evidence
- Sources
- Overall synthesis
Workspace A โโโโโโโ
โโโโบ Comparison Engine
Workspace B โโโโโโโ
โ
โโโโโโโโโโโโผโโโโโโโโโโโ
โผ โผ โผ
Similarities Differences Conflicts
โ
โผ
Final Synthesis
Users can select any research finding and perform targeted follow-up research.
Selected Finding
โ
โผ
Deep Dive
โ
โโโ Supporting Evidence
โโโ Latest Sources
โโโ Opposing Views
โโโ Additional Context
ResearchAI extracts relevant dates from verified sources and organizes research events chronologically.
2022 โโโโโ 2023 โโโโโ 2024 โโโโโ 2025 โโโโโ 2026
โ โ โ โ โ
Study Paper Trend Report Latest
- React
- Vite
- Tailwind CSS
- Zustand
- React Router
- Lucide React
- react-force-graph-2d
- Node.js
- Express.js
- MongoDB
- Mongoose
- JWT
- bcryptjs
- Google Gemini
- Tavily Search API
- Multi-Agent Architecture
- Retrieval-Augmented Generation (RAG)
- Prompt Engineering
- MongoDB โ Application Database
- Pinecone โ Vector Database
- Neo4j โ Knowledge Graph
- Vercel
ResearchAI-MultiAgent/
โ
โโโ client/
โ โโโ public/
โ โโโ src/
โ โ โโโ components/
โ โ โ โโโ GraphPanel/
โ โ โ โโโ ResearchChat/
โ โ โ โโโ DeepDive/
โ โ โ โโโ ...
โ โ โโโ pages/
โ โ โ โโโ Dashboard/
โ โ โ โโโ Workspace/
โ โ โ โโโ CompareWorkspaces/
โ โ โ โโโ ...
โ โ โโโ services/
โ โ โโโ store/
โ โ โโโ App.jsx
โ โ โโโ main.jsx
โ โโโ package.json
โ
โโโ server/
โ โโโ config/
โ โโโ controllers/
โ โโโ middleware/
โ โโโ models/
โ โโโ routes/
โ โโโ services/
โ โ โโโ agents/
โ โ โ โโโ planner/
โ โ โ โโโ researcher/
โ โ โ โโโ analyst/
โ โ โ โโโ factChecker/
โ โ โ โโโ synthesizer/
โ โ โโโ ai/
โ โ โโโ rag/
โ โ โโโ graph/
โ โ โโโ chat/
โ โโโ app.js
โ โโโ server.js
โ โโโ package.json
โ
โโโ .env.example
โโโ .gitignore
โโโ README.md
โโโ package.json
Install the following:
- Node.js 18+
- npm
- Git
- MongoDB / MongoDB Atlas
- Neo4j / Neo4j Aura
- Pinecone Account
- Google Gemini API Key
- Tavily API Key
git clone https://github.com/Vishal202-rgb/ResearchAI-MultiAgent.git
cd ResearchAI-MultiAgentcd server
npm installOpen another terminal:
cd client
npm installCreate the following file:
server/.env
You can use .env.example as the template.
PORT=5000
MONGODB_URI=your_mongodb_connection_string
JWT_SECRET=your_secure_jwt_secret
JWT_EXPIRES_IN=7d
CLIENT_URL=http://localhost:5173
NODE_ENV=development
# Gemini
GEMINI_API_KEY=your_gemini_api_key
# Tavily
SEARCH_API_KEY=your_tavily_api_key
SEARCH_API_URL=https://api.tavily.com/search
# Pinecone
PINECONE_API_KEY=your_pinecone_api_key
PINECONE_INDEX=your_pinecone_index
# Neo4j
NEO4J_URI=your_neo4j_uri
NEO4J_USER=neo4j
NEO4J_PASSWORD=your_neo4j_password
โ ๏ธ Never commit.envfiles or expose API keys publicly.
From the server directory:
npm run devExpected output:
MongoDB connected successfully
Neo4j connected
Server running on port 5000
Backend:
http://localhost:5000
Open another terminal:
cd client
npm run devFrontend:
http://localhost:5173
Open the frontend URL in your browser.
User
โ
โผ
Register / Login
โ
โผ
JWT Token
โ
โผ
Protected API Routes
โ
โผ
Authenticated Workspace
Passwords are securely hashed using bcryptjs.
Research Question
โ
โผ
Researcher Agent
โ
โผ
Tavily Search API
โ
โผ
Real Web Sources
โ
โผ
Analysis + Fact Checking
โ
โผ
Final Research
| Technology | Purpose |
|---|---|
| MongoDB | Users, workspaces, findings, reports and application data |
| Pinecone | Document embeddings and semantic retrieval |
| Neo4j | Entities and relationships for the knowledge graph |
| Gemini | AI reasoning, agents, synthesis and analysis |
| Tavily | Real-time web search and source discovery |
Run both services simultaneously:
Terminal 1
โโโโโโโโโโโโโโโโโโโโโโโโ
cd server
npm run dev
Terminal 2
โโโโโโโโโโโโโโโโโโโโโโโโ
cd client
npm run dev
Frontend:
http://localhost:5173
Backend:
http://localhost:5000
ResearchAI can be deployed using Vercel.
Add these variables in:
Vercel Dashboard
โ Project
โ Settings
โ Environment Variables
Required variables:
MONGODB_URI
JWT_SECRET
JWT_EXPIRES_IN
GEMINI_API_KEY
SEARCH_API_KEY
SEARCH_API_URL
PINECONE_API_KEY
PINECONE_INDEX
NEO4J_URI
NEO4J_USER
NEO4J_PASSWORD
CLIENT_URL
NODE_ENV
1. Push code to GitHub
โ
2. Import repository into Vercel
โ
3. Configure environment variables
โ
4. Configure build settings
โ
5. Deploy
โ
6. Test authentication
โ
7. Test research workflow
โ
8. Test RAG
โ
9. Test Knowledge Graph
โ
10. Test PDF Export
Never store production secrets inside GitHub.
Enable multiple users to collaborate inside the same research workspace.
Planned capabilities:
- Workspace sharing
- Viewer / Editor permissions
- Real-time collaboration
- Comments and annotations
- Activity history
- Research version history
- Citation credibility scoring
- Multi-model support
- Voice-based research assistant
- Browser extension
- Scheduled research agents
- Team research dashboards
Traditional research requires manually:
Search
โ
Read
โ
Analyze
โ
Verify
โ
Compare
โ
Organize
โ
Write
ResearchAI brings these steps into one intelligent workspace:
Research Question
โ
Multi-Agent Research
โ
Real Web Sources
โ
RAG + Documents
โ
Fact Checking
โ
Knowledge Graph
โ
Comparison + Timeline
โ
Research Chat
โ
Deep Dive
โ
Final Report
โ
PDF Export
Currently implemented:
- Multi-Agent Research
- Real-Time Web Search
- PDF/TXT RAG
- Pinecone Vector Search
- Neo4j Knowledge Graph
- Research Chat
- Deep Dive Research
- Workspace Comparison
- Research Timeline
- Global Search
- PDF Export
- JWT Authentication
- Demo Workspaces
- Dark/Light Mode
- Vercel Deployment
Vishal Kumar
B.Tech Final Year Student
Generative AI & Full Stack Developer
If you find ResearchAI useful, consider giving the repository a โญ on GitHub.
This project is licensed under the MIT License.