Skip to content

Nihal-kappungal/r8x-ai-research-Engine

Repository files navigation

r8x-ai Research Engine

Agentic AI-Powered Research Analysis Platform

Transform research papers into structured insights, identify knowledge gaps, generate novel hypotheses, and build interactive knowledge graphs using a multi-agent AI workflow.

R8X-AI Dashboard

Next.js React TypeScript Supabase OpenAI License


πŸŽ₯ Demo

Full Working Video Link

https://drive.google.com/file/d/1rtGNIa4nCM5GOxXunKJNEkJA8toOPZ16/view?usp=sharing

πŸ“– Overview

R8X-AI Research Engine is an advanced Agentic AI platform that automates academic research workflows using a collaborative multi-agent architecture.

Unlike traditional AI chat applications that rely on a single LLM prompt, R8X-AI decomposes research into specialized tasks:

  • Research Planning
  • Paper Ingestion
  • Information Extraction
  • Gap Analysis
  • Hypothesis Generation
  • Novelty Validation
  • Knowledge Graph Construction
  • Automated Report Generation

The system combines multiple AI agents, external research databases, vector search, and structured storage to deliver explainable and traceable research outputs.


✨ Features

πŸ€– Multi-Agent Research Workflow

11 specialized AI agents collaborate to perform research tasks.

πŸ“š Research Paper Analysis

  • Semantic Scholar Integration
  • arXiv Integration
  • PDF Upload Support
  • Automatic Metadata Extraction

🧠 Knowledge Extraction

  • Claim Extraction
  • Entity Recognition
  • Methodology Detection
  • Citation Mapping

πŸ” Research Gap Discovery

Identify:

  • Contradictions
  • Missing Connections
  • Underexplored Areas
  • Future Research Opportunities

πŸ’‘ Hypothesis Generation

Generate novel research ideas based on discovered knowledge gaps.

πŸ›‘οΈ Hypothesis Critique

Validate generated ideas against prior research to reduce duplication and hallucinations.

🌐 Interactive Knowledge Graph

Visualize relationships between:

  • Papers
  • Concepts
  • Claims
  • Methods
  • Hypotheses

πŸ“„ Automated Report Generation

Generate:

  • Markdown Reports
  • Research Summaries
  • Structured Findings
  • LaTeX Documents

πŸ—οΈ Architecture

User Query
    β”‚
    β–Ό
Guardrail Agent
    β”‚
    β–Ό
Planner Agent
    β”‚
    β–Ό
Executor Agent
    β”‚
 β”Œβ”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
 β”‚                            β”‚
 β–Ό                            β–Ό
Ingestion Agent         PDF Reader Agent
 β”‚
 β–Ό
Structuring Agent
 β”‚
 β–Ό
Gap Analysis Agent
 β”‚
 β–Ό
Hypothesis Agent
 β”‚
 β–Ό
Critic Agent
 β”‚
 β–Ό
Graph Agent
 β”‚
 β–Ό
Report Agent
 β”‚
 β–Ό
Final Research Report

πŸ€– AI Agent Ecosystem

Agent Responsibility
Guardrail Agent Detects research intent
Planner Agent Creates execution plan
Executor Agent Orchestrates workflow
PDF Reader Agent Extracts document content
Ingestion Agent Fetches research papers
Structuring Agent Extracts claims & entities
Gap Analysis Agent Finds research gaps
Hypothesis Agent Generates novel ideas
Critic Agent Validates hypotheses
Graph Agent Creates knowledge graph
Report Agent Generates final report

πŸ›  Tech Stack

Frontend

  • Next.js 16
  • React 19
  • TypeScript
  • Tailwind CSS 4
  • Radix UI
  • Vis Network

Backend

  • Next.js API Routes
  • Node.js

AI Layer

  • OpenAI Agents SDK
  • Vercel AI SDK
  • LangChain
  • OpenAI GPT Models
  • Anthropic Claude

Database

  • Supabase PostgreSQL
  • pgvector

Storage

  • Cloudflare R2
  • Upstash Redis

Data Processing

  • Puppeteer
  • PDF Parse

πŸ”„ Research Pipeline

1. Research Planning

Breaks complex research goals into actionable tasks.

2. Academic Data Collection

Retrieves papers from multiple research sources.

3. Knowledge Structuring

Extracts:

  • Claims
  • Findings
  • Entities
  • Methodologies

4. Gap Analysis

Identifies:

  • Contradictions
  • Weaknesses
  • Missing Research

5. Hypothesis Creation

Generates novel research directions.

6. Validation

Checks novelty against existing literature.

7. Knowledge Graph Construction

Creates relationship graphs.

8. Report Generation

Produces comprehensive research documentation.


πŸ“‚ Project Structure

r8x-ai-research-engine
β”‚
β”œβ”€β”€ app/
β”‚   β”œβ”€β”€ api/
β”‚   └── dashboard/
β”‚
β”œβ”€β”€ components/
β”‚
β”œβ”€β”€ lib/
β”‚   β”œβ”€β”€ agents/
β”‚   β”‚   β”œβ”€β”€ guardrail.ts
β”‚   β”‚   β”œβ”€β”€ planner.ts
β”‚   β”‚   β”œβ”€β”€ executor.ts
β”‚   β”‚   β”œβ”€β”€ ingestion.ts
β”‚   β”‚   β”œβ”€β”€ pdf-reader.ts
β”‚   β”‚   β”œβ”€β”€ structuring.ts
β”‚   β”‚   β”œβ”€β”€ gap-analysis.ts
β”‚   β”‚   β”œβ”€β”€ hypothesis.ts
β”‚   β”‚   β”œβ”€β”€ critic.ts
β”‚   β”‚   β”œβ”€β”€ graph-agent.ts
β”‚   β”‚   └── report.ts
β”‚   β”‚
β”‚   └── db/
β”‚
β”œβ”€β”€ public/
β”‚
└── supabase/

⚑ Installation

git clone https://github.com/Nihal-kappungal/r8x-ai-research-Engine.git

cd r8x-ai-research-engine

pnpm install

Create environment variables:

OPENAI_API_KEY=
ANTHROPIC_API_KEY=

SUPABASE_URL=
SUPABASE_ANON_KEY=

UPSTASH_REDIS_REST_URL=
UPSTASH_REDIS_REST_TOKEN=

R2_ACCESS_KEY_ID=
R2_SECRET_ACCESS_KEY=
R2_BUCKET_NAME=

Run development server:

pnpm  dev

πŸ“Š Example Research Query

Analyze recent advancements in solid-state batteries,
identify charging cycle limitations,
and propose a novel methodology to overcome them.

Generated Outputs

βœ… Research Papers

βœ… Extracted Claims

βœ… Research Gaps

βœ… Novel Hypotheses

βœ… Knowledge Graph

βœ… Final Research Report


🎯 Key Differentiators

Unlike traditional AI chatbots:

  • Multi-Agent Architecture
  • Research-Oriented Workflow
  • Real Academic Data Sources
  • Structured Knowledge Extraction
  • Hypothesis Generation
  • Knowledge Graph Visualization
  • Traceable Research Process

πŸš€ Future Roadmap

  • Multi-modal research support
  • Research collaboration workspace
  • Citation generation
  • Local LLM support
  • Agent memory system
  • Research benchmarking
  • Automated literature reviews

πŸ“œ License

MIT License


πŸ‘¨β€πŸ’» Author

Nihal K

Final Year B.Tech CSE Student

Built as a research-focused AI system for automating academic analysis through multi-agent collaboration.


⭐ If you found this project useful, consider giving it a star!

About

AI-powered multi-agent research engine that analyzes papers, discovers knowledge gaps, generates hypotheses, and builds interactive knowledge graphs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors