# 🎓 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
npm installCreate 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_keyRun SQL scripts in order:
-
01-create-schema.sql -
02-seed-data.sql -
Fix scripts if needed:
04-fix-student-projects-rls.sql05-fix-infinite-recursion.sql
npm run devHindsight acts as a long-term memory layer:
- Captures user interactions
- Stores them as structured memory
- Analyzes behavior patterns
- Feeds insights back into the system
👉 Result:
- Smarter recommendations
- Adaptive learning paths
- Continuous improvement
The current MVP includes:
- ✅ Personalized student dashboard
- ✅ Dynamic VARK learning style system
- ✅ Interactive modules with tracking
- ✅ Practice system with analytics
- ✅ Hindsight-powered memory + recommendations
- 🔗 Vector database integration (semantic memory)
- 🤖 Advanced LLM-based tutoring
- 📈 Predictive skill-gap analysis
- 🎯 Career & internship recommendations
- 📊 Institutional analytics dashboard
Contributions are welcome!
- Fork the repo
- Create a new branch
- Make changes
- Submit a PR
MIT License
- Supabase
- Next.js
- Hindsight AI
"Learning should not be static — it should evolve with the learner."
style_lewARNING brings this vision to life using AI + memory.