AI-Research-Lab-Simulator

๐Ÿง  A multi-agent Gen AI platform powered by Google Gemini 2.5 Pro that autonomously generates, reviews, and composes full-length academic research papers โ€” complete with chat assistant, dark UI, and editable .docx export.

๐Ÿง  AI Research Lab Simulator

Streamlit Gemini Python License

"Empowering the next generation of researchers โ€” one AI agent at a time."


๐Ÿ“˜ Table of Contents

  1. Overview
  2. Features
  3. Architecture
  4. Tech Stack
  5. Installation & Setup
  6. Running the Application
  7. UI Highlights
  8. Innovation & Impact
  9. Evaluation Metrics
  10. Known Issues & Fixes
  11. Future Scope
  12. Team & Credits
  13. License
  14. Report

๐Ÿš€ Overview

The AI Research Lab Simulator is a next-generation multi-agent Gen AI platform powered by Google Gemini 2.5 Pro, designed to autonomously generate, review, and finalize research papers. It replicates the roles of human researchers โ€” from ideation to publication.

View my live project here: PROJECT

โš ๏ธ IMPORTANT NOTE
When you open the live demo link, you might see a message saying:
โ€œThis app is sleeping due to inactivity.โ€

โฐ Please click the โ€œWake upโ€ button and wait for 30โ€“60 seconds.
Streamlit Cloud will automatically restart the app โ€” after which everything will work perfectly! ๐Ÿš€

๐Ÿ’ก (This is a normal behavior for free-tier hosting and doesnโ€™t affect functionality.)


๐Ÿงฉ Features

โœ… Multi-Agent Workflow โ€” 7 AI agents simulate the human research process.
โœ… Real-time Streamlit Interface with glassy, futuristic design.
โœ… Interactive AI Chat with persistent context memory.
โœ… One-click .docx export for editable research papers.
โœ… Secure API handling with .env integration.
โœ… Fully dark, modern UI optimized for laptops and tablets.


๐Ÿง  Agent Architecture

Agent Role Description
๐Ÿง  Researcher Content Creator Generates a detailed draft on the given topic.
๐Ÿ” Reviewer Logic Analyst Refines structure and logical accuracy.
โœ๏ธ Editor Language Expert Polishes grammar, tone, and readability.
๐Ÿงฉ Citation Builder Reference Curator Adds citations and references.
๐Ÿงช Fact Verifier Accuracy Specialist Ensures factual correctness.
๐Ÿงญ Summarizer Synthesizer Produces a 200-word executive summary.
๐Ÿ“š Research Composer Integrator Combines all outputs into one cohesive paper.

๐Ÿ—๏ธ Tech Stack

  • Language: Python 3.10+
  • Framework: Streamlit
  • Model: Google Gemini 2.5 Pro API
  • Libraries: google-generativeai, python-docx, python-dotenv, streamlit
  • Output Format: .docx

โš™๏ธ Installation & Setup

git clone https://github.com/Pranav-Sharma-Official/AI-Research-Lab-Simulator.git
cd AI-Research-Lab-Simulator
pip install -r requirements.txt

Create a .env file:

GEMINI_API_KEY=your_gemini_api_key_here

โ–ถ๏ธ Running the Application

streamlit run app.py

Steps:

  1. Enter your Gemini API Key and Research Topic.
  2. Click Generate Full Research Paper.
  3. Watch each agent work in real-time.
  4. Chat with your AI assistant for clarifications.
  5. Export the final .docx research paper.

๐Ÿ–ฅ๏ธ UI & UX Highlights

UI Screenshot
Flowchart

  • ๐Ÿ–ค Dark glassy UI with glowing cyan elements.
  • ๐Ÿ“Š Live progress tracking for all 7 agents.
  • ๐Ÿ’ฌ Persistent chat assistant using Streamlitโ€™s chat UI.
  • ๐Ÿงพ Real-time result rendering with collapsible outputs.
  • ๐Ÿ’ก Responsive for both laptops and tablets.

๐Ÿ’ก Innovation & Impact

This project bridges AI and Academia, demonstrating how Gen AI can assist in research content generation.
It reduces manual drafting time, enhances accuracy, and supports researchers, students, and educators in academic publishing.

Applications:

  • Thesis & Dissertation Drafting
  • Automated Whitepaper Generation
  • Education & Research Training
  • Scientific Paper Ideation

๐Ÿ“Š Evaluation Metrics

Criteria Description Status
Functionality 7 agents executed sequentially with distinct roles โœ…
Innovation Multi-agent AI workflow + real-time chat โœ…
Design Glassmorphic UI with modern visuals โœ…
Usability Editable .docx export & persistent chat โœ…
Scalability Modular architecture for domain-specific research โœ…

โš ๏ธ Known Issues & Fixes

Issue Description Resolution
PDF Encoding FPDF couldnโ€™t handle emojis Switched to .docx output
Streamlit Chat Reset Session re-runs lost chat state Fixed via st.session_state
API Latency Gemini long response time Added spinner + error handling

๐Ÿ”ฎ Future Scope

  • ๐Ÿ”— Multi-user collaborative editing mode.
  • ๐ŸŽ™๏ธ Voice assistant for accessibility.
  • ๐Ÿ“ก Cloud integration (Google Drive / GitHub save).
  • ๐Ÿ” Built-in plagiarism detection.
  • ๐Ÿงพ Auto reference verification and citation fetching.

๐Ÿ‘ฅ Team & Contributions

Member Role Contributions
Pranav Sharma Team Lead & Developer Project architecture, backend, prompt engineering, Testing, documentation, and feature QA.

๐Ÿ† Why This Project Wins

โœจ End-to-end AI automation for research generation.
โœจ Functional + visually stunning interface.
โœจ Real-world applicability with Gemini 2.5 Pro.
โœจ Demonstrates deep technical and design skills.
โœจ Complete, ready-to-show hackathon-grade product.


๐Ÿ“œ License

This project is released under the MIT License.


Report

View my detailed report here: REPORT


Pranav Sharma | AI Research Lab Simulator | 2025