StudyBuddy AI is a GenAI-powered learning assistant designed to act as a 24×7 AI tutor that helps students understand concepts, practice quizzes, and stay motivated through gamified learning.
This project was developed as part of an AI Engineering Internship Prototype to demonstrate practical AI system design, LLM integration, and gamified education experiences.
Traditional learning platforms often lack personalization and engagement.
StudyBuddy AI combines Generative AI + Gamification to create an interactive learning environment where students can:
- ✅ Understand concepts with AI explanations
- ✅ Generate quizzes automatically
- ✅ Track learning progress using XP & levels
- ✅ Learn interactively through a clean UI
- Uses LLM (Cohere API) for intelligent tutoring
- Provides structured responses:
- Step-by-step explanation
- Key concept summary
- Practical example
- Generates MCQ quizzes dynamically
- Supports:
- Topic-based quiz generation
- File upload (PDF/Text) for context-based quizzes
- Adjustable difficulty & time limits
- XP-based progress tracking
- Level system
- Learning engagement through rewards
- Progress visualization
- Chat-based learning interface
- Quiz arena
- Progress tracking
- Analytics & achievements pages
Frontend (HTML + Tailwind + JS)
│
│ REST API
▼
Backend (Node.js + Express)
│
▼
LLM API (Cohere)
│
▼
AI Responses (Explanation + Quiz)
- User asks question or selects topic
- Backend builds structured prompt
- Request sent to LLM
- AI response processed
- XP updated & returned to frontend
- HTML5
- Tailwind CSS
- Vanilla JavaScript
- Vite
- Node.js
- Express.js
- Multer (file upload)
- PDF-Parse
- dotenv
- Cohere LLM API
- Git & GitHub
- VS Code
StudyBuddyAI/
│
├── backend/
│ └── server.js
│
├── frontend/
│ ├── index.html
│ ├── learn.html
│ ├── quiz.html
│ ├── progress.html
│ ├── analytics.html
│ ├── achievements.html
│ └── chat.js
│
├── package.json
├── .gitignore
└── README.md
git clone https://github.com/Akanksh0301/StudyBuddyAI.git
cd StudyBuddyAInpm installCreate a .env file inside the backend folder:
COHERE_API_KEY=your_api_key_here
PORT=3000
node backend/server.jsServer runs at:
http://localhost:3000
Open browser and visit:
http://localhost:3000
POST /api/explain
Request:
{
"message": "Explain Neural Networks",
"topic": "AI",
"level": "Beginner"
}Response:
{
"steps": [],
"keyConcept": "",
"example": ""
}POST /api/generate-quiz
Supports:
- Topic input
- File upload (PDF/Text)
- Prompt Engineering
- Structured LLM Outputs (JSON parsing)
- Retry handling for API rate limits
- Context extraction from documents
- AI + Gamification integration
- REST API architecture
👉 Add your demo video link here
- Vector database for long-term memory
- Personalized learning recommendations
- Student performance analytics using ML
- Multi-user authentication
- Adaptive difficulty quizzes
Akanksha Chougule
- GitHub: https://github.com/Akanksh0301
This project demonstrates how AI Engineering + Generative AI can transform education into an engaging, personalized, and interactive learning experience.