Skip to content

AbhijitK20/StyleLearning_AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# 🎓 style_lewARNING

> An AI-powered adaptive learning platform that evolves with every student using **Hindsight memory intelligence**.

---

## 🚀 Overview

**style_lewARNING** is a full-stack adaptive learning system designed to personalize education based on:

- 📊 Student performance  
- 🧠 Learning behavior  
- 🎯 Learning style (VARK model)  
- 🔁 Continuous feedback loops  

Unlike traditional platforms, this system integrates **Hindsight**, enabling long-term memory — allowing the AI to **remember, analyze, and improve over time**.

---

## ✨ Key Features

### 🧠 Hindsight Memory Integration
- Stores user interactions (time spent, performance, feedback)
- Builds long-term learning profiles
- Enables **context-aware recommendations**
- Creates a continuous **learn → analyze → adapt** loop

---

### 📊 Personalized Dashboard
- Real-time progress tracking  
- Adaptive recommendations  
- Performance analytics  

---

### 🎯 Dynamic Learning Style (VARK)
- Identifies Visual, Auditory, Reading/Writing, Kinesthetic styles  
- Continuously updated using behavioral data via Hindsight  

---

### 📚 Interactive Learning Modules
- Tracks engagement patterns (pauses, retries, skips)  
- Adjusts difficulty and content dynamically  

---

### 🎮 Practice & Reinforcement
- Gamified learning (Wordle-style activities)  
- Tracks accuracy, speed, and mistakes  
- Predicts future weak areas  

---

### 👥 Multi-Role Support
- Students  
- Teachers  
- Parents  
- Admins  

---

## 🏗️ Tech Stack

### Frontend
- **Next.js (App Router)**
- React + TypeScript  
- Tailwind CSS  

### Backend
- **Supabase**
  - PostgreSQL  
  - Authentication  
  - Row-Level Security (RLS)  

### AI Layer
- Custom AI assistant  
- Behavioral analytics engine  
- **Hindsight (memory layer)**  

---

## 🧩 Architecture

Frontend (Next.js) ↓ UI Components + Hooks ↓ Service Layer (lib/) ↓ Supabase (DB + Auth + RLS) ↓ AI + Hindsight Memory Layer


---

## ⚙️ Installation & Setup

### 1️⃣ Clone the repository
```bash
git clone https://github.com/your-username/style_lewARNING.git
cd style_lewARNING

2️⃣ Install dependencies

npm install

3️⃣ Setup environment variables

Create a .env.local file:

NEXT_PUBLIC_SUPABASE_URL=your_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_key
HINDSIGHT_BASE_URL=your_hindsight_url
HINDSIGHT_API_KEY=your_key

4️⃣ Setup database (Supabase)

Run SQL scripts in order:

  • 01-create-schema.sql

  • 02-seed-data.sql

  • Fix scripts if needed:

    • 04-fix-student-projects-rls.sql
    • 05-fix-infinite-recursion.sql

5️⃣ Run the app

npm run dev

🧠 How Hindsight Works (Core Innovation)

Hindsight acts as a long-term memory layer:

  1. Captures user interactions
  2. Stores them as structured memory
  3. Analyzes behavior patterns
  4. Feeds insights back into the system

👉 Result:

  • Smarter recommendations
  • Adaptive learning paths
  • Continuous improvement

📌 MVP (Minimum Viable Product)

The current MVP includes:

  • ✅ Personalized student dashboard
  • ✅ Dynamic VARK learning style system
  • ✅ Interactive modules with tracking
  • ✅ Practice system with analytics
  • ✅ Hindsight-powered memory + recommendations

🔮 Future Improvements

  • 🔗 Vector database integration (semantic memory)
  • 🤖 Advanced LLM-based tutoring
  • 📈 Predictive skill-gap analysis
  • 🎯 Career & internship recommendations
  • 📊 Institutional analytics dashboard

🤝 Contributing

Contributions are welcome!

  1. Fork the repo
  2. Create a new branch
  3. Make changes
  4. Submit a PR

📄 License

MIT License


🙌 Acknowledgements

  • Supabase
  • Next.js
  • Hindsight AI

💡 Final Thought

"Learning should not be static — it should evolve with the learner."

style_lewARNING brings this vision to life using AI + memory.


Releases

Packages

Contributors

Languages