An experimental AI-powered educational tool that recommends personalized learning paths based on a user’s target topic. The system dynamically constructs a prerequisite concept graph to identify foundational knowledge, and uses GPT-based analysis to generate diagnostic assessments — ensuring learners build a strong conceptual base before progressing.
This project is actively being developed using the MERN stack, with plans to integrate advanced agentic reasoning and adaptive feedback for scalable and personalized learning support.
This project is currently in early development. Features and APIs are subject to frequent changes.
- Accepts any user-given topic (e.g., "Machine Learning").
- Uses GPT-4o to generate 5–7 relevant prerequisite concepts
- Visualizes them as a Directed Acyclic Graph (DAG).
- Automatically generates diagnostic multiple-choice questions based on each prerequisite concept.
- Questions are AI-generated and domain-aware.
- Evaluates user responses to identify strengths and knowledge gaps.
- Provides clear, structured feedback
- Constructs a custom learning path based on analysis of prerequisite performance
- Highlights weak areas and recommends learning order
- Create a
.envfile in thebackend/directory. - Add the following lines to the
.envfile:
OPENROUTER_API_KEY=your_openrouter_key_here
MONGO_URI=mongodb://localhost:27017/cps-prerequisitesMake sure the
.envfile is located inside thebackend/folder.
cd frontend
npm install
npm startThis will start the frontend on http://localhost:5173 (Vite default)
cd backend
npm install
npm start- Enter a concept or topic in the input field (e.g., "Machine Learning").
- The system will:
- Call OpenRouter (GPT-4o) to generate 5–7 prerequisite concepts.
- Save the topic and prerequisites in MongoDB.
- Display them as a bullet list and a directed graph (DAG) on the frontend.
- Frontend: React (TypeScript)
- Backend: Node.js + Express
- Database: MongoDB
- AI/LLM: GPT-4o via OpenRouter
- Graph Rendering: vis-network
- Environment Management: dotenv