campusgpt

byMuskii

Build a complete, production-style final-year B.Tech CSE (AI/ML) project named CAMPUSGPT — AI-Powered College Knowledge & Study Assistant. This must be ONE cohesive, fully functional application, NOT a basic PDF chatbot or disconnected demos. GOAL: Create a private AI platform for college students that can understand college syllabus, notes, textbooks, lab manuals, regulations, assignments, previous-year papers and study materials. CORE FEATURES: 1. AI academic chatbot 2. Multi-PDF/document upload 3. Advanced RAG with page-level citations 4. Semantic + keyword hybrid search 5. Reranking 6. LangGraph agentic workflow 7. Multiple specialized AI agents 8. Quiz generation 9. Personalized study planner 10. Document summarization 11. Document comparison 12. Academic search 13. Conversation memory 14. Student progress analytics 15. Personalized recommendations 16. Admin dashboard 17. RAG evaluation 18. Authentication and role-based access ZERO-COST REQUIREMENT: The project must work without paid API keys. Do NOT require OpenAI, Gemini, Claude, Groq, Mistral paid APIs, Pinecone or other paid cloud AI services. Use local/open-source tools: - Ollama for local LLM - Lightweight 3B-class quantized model such as Qwen/Gemma - sentence-transformers for local embeddings - FAISS for vector database - BM25 for keyword retrieval - LangChain - LangGraph - FastAPI - SQLite + SQLAlchemy - React + Vite - Tailwind CSS - Recharts - PyMuPDF/pypdf - python-docx - BeautifulSoup - Tesseract/EasyOCR as OCR fallback HARDWARE: Target computer has 8 GB RAM, CPU-only and no dedicated GPU. Optimize heavily for this hardware: - lightweight quantized LLM - no CUDA requirement - no cloud GPU - lazy model loading - caching - efficient FAISS indexing - batch embeddings - limited context - do not load multiple large models simultaneously After models/packages are downloaded, the core application should run locally and work without internet. UI/UX: Use the uploaded reference image only as inspiration. Create an ORIGINAL premium AI education SaaS interface. Design should include: - modern professional sidebar - AI chat interface - document management - dashboard cards - charts - purple/indigo/blue accent theme - clean light mode - dark mode - rounded cards - subtle shadows - responsive design - polished loading, empty and error states - professional animations and interactions Do NOT copy the reference image exactly. PUBLIC: Landing, Features, About, Login, Register. STUDENT: Dashboard, AI Assistant, Documents, Academic Search, Study Planner, Quiz Center, Summaries, Progress, Profile, Settings. ADMIN: Dashboard, Documents, Users, Analytics, RAG Evaluation, System Health, Settings. AUTHENTICATION: Implement registration, login/logout, JWT authentication, password hashing and RBAC. Roles: STUDENT and ADMIN. STUDENT DASHBOARD: Show real database data: - total documents - questions asked - quizzes completed - average quiz score - study progress - topics mastered Add charts for quiz performance, subject performance, study progress and activity. Do not hardcode analytics. AI CHAT: Create a ChatGPT-style academic assistant with: - conversations - history - Markdown - copy - regenerate - feedback - streaming if feasible - source citations Example citation: Robotics.pdf — Page 14 Never fabricate citations. If documents do not contain sufficient evidence, clearly say that the available knowledge base does not contain enough information. ADVANCED RAG PIPELINE: Document → Loader → Text extraction → Cleaning → Metadata → Intelligent chunking → Local embeddings → FAISS + BM25 → Hybrid retrieval → Metadata filtering → Reranking → Context selection → Local LLM → Grounded answer → Citation verification Support PDF, DOCX, TXT, Markdown and HTML. Store metadata such as: document, page, section, subject, semester, department and chunk ID. Use configurable hybrid retrieval, for example 65% semantic + 35% keyword. Retrieve multiple candidates, rerank them and send only the best relevant chunks to the LLM. DOCUMENT INTELLIGENCE: Implement upload, delete, replace, search, metadata, re-indexing and processing status. Statuses: UPLOADED, PROCESSING, INDEXED, FAILED. Prevent duplicate documents using file hashing. For scanned PDFs use OCR fallback. MULTI-AGENT ARCHITECTURE: Use LangGraph. Create: SUPERVISOR AGENT ├── RAG AGENT ├── QUIZ AGENT ├── STUDY PLANNER AGENT └── SUMMARY AGENT Supervisor detects user intent and routes the request to the correct agent. RAG Agent: retrieval, grounded answers, citations and insufficient-evidence detection. Quiz Agent: MCQ, True/False and Short Answer questions with difficulty, answers and explanations. Study Planner Agent: analyze student performance, identify weak topics and generate daily/weekly study plans. Summary Agent: generate document summaries, revision notes, definitions, formulas and important exam topics. Support intents: question answering, document search, summarization, quiz generation, study planning, concept explanation, comparison and revision. QUIZ SYSTEM: Student selects subject, topic, difficulty and number/type of questions. Generate questions from retrieved academic documents. After submission show: score, correct answers, explanations, weak topics and recommended revision. Store attempts and performance in SQLite. PERSONALIZED STUDY PLANNER: Use: semester, subjects, exam dates, available study hours, goals and quiz performance. Generate: daily plan, weekly plan, priority topics, revision schedule and quiz recommendations. Use actual student performance to identify weak areas. SUMMARIZATION: Allow document/chapter/page summaries and generate: Overview, Key Concepts, Definitions, Formulas, Important Questions and Quick Revision. DOCUMENT COMPARISON: Compare two academic documents and show common concepts, differences, missing topics and important information with sources. ACADEMIC SEARCH: Provide semantic + BM25 search with filters for subject, semester, department and document. Show document name, page, relevant passage and relevance score. MEMORY: Store conversations and messages in SQLite. Implement short-term conversational memory and context-window management. Do not send unlimited conversation history to the LLM. PERSONALIZATION: Store student department, semester, subjects, goals, learning history and quiz performance. Use these for recommendations, study plans and adaptive quiz difficulty. ADMIN DASHBOARD: Show real statistics for: users, active students, documents, indexed documents, questions, quizzes and system health. Add charts for uploads, AI queries, quiz activity, popular subjects and retrieval performance. Admin can manage users and documents and re-index/delete documents. RAG EVALUATION: Create an evaluation page with: - retrieval precision - retrieval recall - context relevance - answer faithfulness - citation correctness - response latency Allow local evaluation using a small question/answer/document test dataset. HALLUCINATION CONTROL: Implement evidence-first generation, retrieval thresholds, insufficient-context detection and citation validation. Show an evidence indicator: Strong / Moderate / Insufficient. Never invent document content or citations. DATABASE: Use SQLite + SQLAlchemy with tables for: users, documents, document_chunks, subjects, conversations, messages, study_plans, study_tasks, quizzes, quiz_questions, quiz_attempts, student_progress, recommendations, feedback and evaluations. BACKEND: Use FastAPI with clean modular architecture, Pydantic schemas, JWT authentication, validation, logging, error handling and CORS. Create APIs for authentication, documents, chat, conversations, search, quizzes, study plans, analytics, admin functions and RAG evaluation. FRONTEND: Use React + Vite + Tailwind CSS + Recharts. Create reusable components, protected routes, API service layer, loading/error states and responsive layouts. PROJECT STRUCTURE: campusgpt/ ├── frontend/ ├── backend/ │ ├── app/ │ │ ├── api/ │ │ ├── models/ │ │ ├── schemas/ │ │ ├── services/ │ │ ├── rag/ │ │ ├── agents/ │ │ ├── llm/ │ │ ├── database/ │ │ └── main.py │ ├── data/ │ └── tests/ ├── scripts/ ├── docs/ ├── .env.example └── README.md SECURITY: Use password hashing, JWT, RBAC, file validation, file-size limits, safe filenames, path traversal protection, input validation and environment variables. Never expose secrets. QUALITY: This is a serious final-year project. Do NOT: - create fake AI responses - hardcode analytics - hardcode quiz results - fake RAG citations - create non-functional buttons - require paid APIs - require large models Every visible feature must have a real implementation. Provide: - complete frontend - complete backend - database - AI/RAG pipeline - LangGraph agents - authentication - tests - README - setup instructions - Ollama setup - sample academic documents/data - B.Tech project documentation The final system should demonstrate: AI/ML + Generative AI + Advanced RAG + Hybrid Search + Reranking + Agentic AI + Multi-Agent Architecture + Local LLM + Document Intelligence + Personalization + Analytics + Full-Stack Development TARGET: 8 GB RAM CPU-only Local execution ZERO paid API cost Professional original UI Complete end-to-end working application.

LandingUsers
Landing

Comments (0)

No comments yet. Be the first!

Project Tasks

129 planning tasks
#1

Generate system requirement document

3m 57s0.1 cr used
Done
#2

Generate personas & user flows

0m 13s0.1 cr used
Done
#7

Create flow for Student

0m 11sCredits in parent
Done
#8

Create flow for Admin

0m 11sCredits in parent
Done
#9

Landing

7m 32sCredits in subtasks
Done
#41

Repair Landing JSX

0m 24s0.2 cr used
Done
#40

Repair Landing JSX

0m 22s0.2 cr used
Done
#39

Repair Landing JSX

0m 12s0.2 cr used
Error
#28

Landing / Navigation

0m 45s0.8 cr used
Done
#29

Landing / Public Header

0m 48s0.8 cr used
Done
#30

Landing / Hero

1m 2s0.8 cr used
Done
#31

Landing / Capability Overview

1m 3s0.8 cr used
Done
#32

Landing / Rag Workflow

1m 2s0.8 cr used
Done
#33

Landing / Local First Privacy

1m 2s0.8 cr used
Done
#34

Landing / Access Cta

1m 2s0.8 cr used
Done
#35

Landing / Public Footer

0m 17s0.8 cr used
Done
#36

Public Header

0m 48sCredits in parent
Done
#37

Public Footer

0m 17sCredits in parent
Done
#38

Navigation

0m 45sCredits in parent
Done
#10

Features

9m 4sCredits in subtasks
Paused
#49

Features / Navigation

0.8 cr needed
Paused
#42

Features / Hero

0.8 cr needed
Paused
#43

Features / Assistant And Documents

0.8 cr needed
Paused
#44

Features / Retrieval And Search

0.8 cr needed
Paused
#45

Features / Agent Architecture

0.8 cr needed
Paused
#46

Features / Study Tools

0.8 cr needed
Paused
#47

Features / Analytics And Evaluation

0.8 cr needed
Paused
#48

Features / Access Band

0.8 cr needed
Paused
#50

Features / Public Footer

0.8 cr needed
Paused
#11

About

9m 4sCredits in subtasks
Paused
#55

About / Navigation

0.8 cr needed
Paused
#51

About / Mission Band

0.8 cr needed
Paused
#52

About / Architecture Band

0.8 cr needed
Paused
#53

About / Technology Band

0.8 cr needed
Paused
#54

About / Closing Cta

0.8 cr needed
Paused
#56

About / Public Footer

0.8 cr needed
Paused
#12

Login

9m 4sCredits in subtasks
Paused
#59

Login / Navigation

0.8 cr needed
Paused
#57

Login / Credential Panel

0.8 cr needed
Paused
#58

Login / Context Rail

0.8 cr needed
Paused
#60

Login / Public Footer

0.8 cr needed
Paused
#13

Register

9m 4sCredits in subtasks
Paused
#63

Register / Navigation

0.8 cr needed
Paused
#61

Register / Form Panel

0.8 cr needed
Paused
#62

Register / Access Context

0.8 cr needed
Paused
#64

Register / Public Footer

0.8 cr needed
Paused
#14

Dashboard

9m 4sCredits in subtasks
Paused
#68

Dashboard / Navigation

0.8 cr needed
Paused
#65

Dashboard / Metric Band

0.8 cr needed
Paused
#66

Dashboard / Chart Band

0.8 cr needed
Paused
#67

Dashboard / Activity Feed

0.8 cr needed
Paused
#69

Dashboard / Public Footer

0.8 cr needed
Paused
#15

AI Assistant

9m 4sCredits in subtasks
Paused
#73

AI Assistant / Navigation

0.8 cr needed
Paused
#70

AI Assistant / Assistant Conversation Rail

0.8 cr needed
Paused
#71

AI Assistant / Assistant Conversation Thread

0.8 cr needed
Paused
#72

AI Assistant / Assistant Evidence Rail

0.8 cr needed
Paused
#74

AI Assistant / Public Footer

0.8 cr needed
Paused
#16

Documents

9m 3sCredits in subtasks
Paused
#76

Documents / Navigation

0.8 cr needed
Paused
#75

Documents / Workspace

0.8 cr needed
Paused
#77

Documents / Public Footer

0.8 cr needed
Paused
#17

Academic Search

9m 3sCredits in subtasks
Paused
#81

Academic Search / Navigation

0.8 cr needed
Paused
#78

Academic Search / Console

0.8 cr needed
Paused
#79

Academic Search / Results

0.8 cr needed
Paused
#80

Academic Search / Retrieval Context

0.8 cr needed
Paused
#82

Academic Search / Public Footer

0.8 cr needed
Paused
#18

Study Planner

9m 3sCredits in subtasks
Paused
#87

Study Planner / Navigation

0.8 cr needed
Paused
#83

Study Planner / Header

0.8 cr needed
Paused
#84

Study Planner / Input Panel

0.8 cr needed
Paused
#85

Study Planner / Generated Plan

0.8 cr needed
Paused
#86

Study Planner / Weak Topics

0.8 cr needed
Paused
#88

Study Planner / Public Footer

0.8 cr needed
Paused
#19

Quiz Center

9m 3sCredits in subtasks
Paused
#89

Quiz Center / Navigation Slot

0.8 cr needed
Paused
#90

Quiz Center / Attempt Workspace

0.8 cr needed
Paused
#91

Quiz Center / Performance History

0.8 cr needed
Paused
#92

Quiz Center / Weak Topic Review

0.8 cr needed
Paused
#93

Quiz Center / Public Footer

0.8 cr needed
Paused
#20

Summaries

9m 3sCredits in subtasks
Paused
#96

Summaries / Navigation

0.8 cr needed
Paused
#94

Summaries / Document Selector

0.8 cr needed
Paused
#95

Summaries / Comparison Workbench

0.8 cr needed
Paused
#97

Summaries / Public Footer

0.8 cr needed
Paused
#21

Progress

9m 3sCredits in subtasks
Paused
#102

Progress / Navigation

0.8 cr needed
Paused
#98

Progress / Header

0.8 cr needed
Paused
#99

Progress / Performance Charts

0.8 cr needed
Paused
#100

Progress / Topic Mastery

0.8 cr needed
Paused
#101

Progress / Recommendations

0.8 cr needed
Paused
#103

Progress / Public Footer

0.8 cr needed
Paused
#22

Profile

9m 3sCredits in subtasks
Paused
#106

Profile / Navigation

0.8 cr needed
Paused
#104

Profile / Personalization Form

0.8 cr needed
Paused
#105

Profile / Personalization Impact

0.8 cr needed
Paused
#107

Profile / Public Footer

0.8 cr needed
Paused
#23

Settings

9m 3sCredits in subtasks
Paused
#110

Settings / Navigation

0.8 cr needed
Paused
#108

Settings / Preferences Panel

0.8 cr needed
Paused
#109

Settings / Session Panel

0.8 cr needed
Paused
#111

Settings / Public Footer

0.8 cr needed
Paused
#24

Users

9m 1sCredits in subtasks
Done
#131

Repair Users JSX

1m 9s0.2 cr used
Done
#130

Repair Users JSX

0m 51s0.2 cr used
Done
#113

Users / Navigation

0m 0s0.8 cr used
Done
#112

Users / Directory

0m 40s0.8 cr used
Done
#25

Analytics

9m 3sCredits in subtasks
Paused
#118

Analytics / Navigation

0.8 cr needed
Paused
#114

Analytics / Telemetry Header

0.8 cr needed
Paused
#115

Analytics / Activity Charts

0.8 cr needed
Paused
#116

Analytics / Popular Subjects

0.8 cr needed
Paused
#117

Analytics / Retrieval Performance

0.8 cr needed
Paused
#119

Analytics / Public Footer

0.8 cr needed
Paused
#26

RAG Evaluation

9m 3sCredits in subtasks
Paused
#123

RAG Evaluation / Navigation

0.8 cr needed
Paused
#120

RAG Evaluation / Header

0.8 cr needed
Paused
#121

RAG Evaluation / Dataset Console

0.8 cr needed
Paused
#122

RAG Evaluation / Metrics Panel

0.8 cr needed
Paused
#124

RAG Evaluation / Public Footer

0.8 cr needed
Paused
#27

System Health

9m 2sCredits in subtasks
Paused
#128

System Health / Navigation

0.8 cr needed
Paused
#125

System Health / Header

0.8 cr needed
Paused
#126

System Health / Indicator Grid

0.8 cr needed
Paused
#127

System Health / Dependency Notes

0.8 cr needed
Paused
#129

System Health / Public Footer

0.8 cr needed
Paused
#5

Architecture

0.1 cr needed
Paused
#6

Workspace task plan

0.1 cr needed
Paused
Preview dataChanges stay in this preview.
Landing design preview
Landing: Review public introduction
Features: Review platform capabilities
About: Review project information
Register: Submit registration with admin role
Login: 1. Submit login credentials
Dashboard: 2. Review platform metrics
Dashboard: Refresh dashboard data
Users: 1. View managed user records
Users: 2. Manage user roles
Users: Refresh user list
Analytics: 1. View platform analytics
Analytics: 2. Refresh analytics charts
RAG Evaluation: Select evaluation dataset
RAG Evaluation: 1. Run local RAG evaluation
RAG Evaluation: 2. Review evaluation metrics
System Health: 1. Refresh health status
System Health: 2. Review service indicators
Settings: 3. Update supported settings
Settings: 4. Log out
Preview dataChanges stay in this preview.
Landing design preview
Landing: Review public introduction
Features: Review platform capabilities
About: Review project information
Register: Submit registration with admin role
Login: 1. Submit login credentials
Dashboard: 2. Review platform metrics
Dashboard: Refresh dashboard data
Users: 1. View managed user records
Users: 2. Manage user roles
Users: Refresh user list
Analytics: 1. View platform analytics
Analytics: 2. Refresh analytics charts
RAG Evaluation: Select evaluation dataset
RAG Evaluation: 1. Run local RAG evaluation
RAG Evaluation: 2. Review evaluation metrics
System Health: 1. Refresh health status
System Health: 2. Review service indicators
Settings: 3. Update supported settings
Settings: 4. Log out