๐ง StudyAlpha-AI-Agent
Autonomous Study & Revision System
Your Personal AI Study Coach powered by Multi-Agent Intelligence

๐ Google ร Kaggle Agents Intensive โ Capstone Project
๐ Hackathon Writeup + Full System Documentation
๐ฆ Problem Statement
Students today struggle with learning consistency.
Effective learning requires:
- ๐๏ธ structured planning
- ๐ progress tracking
- ๐ performance evaluation
- โ early detection of weak topics
Most learners donโt know what to study next, how long to study, or when to revise.
Traditional AI tools simply answer questions โ they donโt:
- plan
- evaluate
- remember
- adapt
๐ก StudyAlpha solves this by acting as a complete, autonomous study coach that:
- plans the study roadmap
- generates quizzes
- evaluates understanding
- predicts weaknesses using ML
- adjusts future study sessions automatically
๐ค Why I Used Agents
Learning involves multiple interdependent tasks:
โ planning
โ quizzing
โ evaluating
โ memory retrieval
โ weakness prediction
โ revision scheduling
No single LLM call can manage this entire workflow.
Agents enable:
- ๐น Modularity โ each task handled by a specialized sub-agent
- ๐น Delegation โ one agent passes output to the next
- ๐น Memory โ mistakes & patterns influence future learning
- ๐น Multi-step reasoning โ structured learning cycles
- ๐น Extensibility โ new agents or tools can be added easily
๐ StudyAlpha behaves like a real human tutor โ thoughtful, adaptive, and aware of past performance.
๐ Deployment
Platform: Streamlit Cloud
Entry file: app.py
Auto-deploy: On every push to main
๐ Live App:
https://studyalpha-ai-agent-muwkpf3edkao3iva87sxgp.streamlit.app
๐๏ธ Architecture Overview
StudyAlpha is a multi-agent learning ecosystem orchestrated by a central StudyOrchestrator.
1๏ธโฃ StudyOrchestrator (Master Controller)
Controls the entire pipeline:
- planning
- quiz creation
- evaluation
- tracking
- revision generation
2๏ธโฃ Planner Agent
Builds personalized study plans using:
- topics
- priority
- difficulty
- available hours
- duration
Outputs a multi-day optimized schedule.
3๏ธโฃ Quiz Agent
- Generates 3 conceptual questions
- Uses a TF-IDF RAG Memory
- Pulls context from past mistakes & logs
4๏ธโฃ Revision Agent
Generates targeted revision tasks based on:
- past mistakes
- predicted weaknesses
- forgotten topics
Optimized for spaced repetition.
5๏ธโฃ Tracker Agent
Evaluates quiz answers and logs:
- accuracy
- score
- correctness patterns
Feeds data into the ML model.
6๏ธโฃ Weakness Predictor (ML Model)
A GradientBoostingClassifier predicts:
- weakness probability
- likelihood of future mistakes
- topics needing urgent focus
7๏ธโฃ Memory Bank (RAG System)
Stores and retrieves:
- quizzes
- explanations
- errors
- performance logs
- improvement history
Powered by TF-IDF + Cosine Similarity.
8๏ธโฃ Streamlit UI (Optional)
A simple interface to:
- generate study plans
- take quizzes
- see analytics
- visualize performance
๐ Architecture Summary
Plan โ Quiz โ Evaluate โ Predict Weakness โ Revise โ Store Memory โ Adapt Next
๐ผ๏ธ Architecture Diagram
๐ฌ Demo and Simulation
The notebook demonstrates a full 7-day learning simulation:
- study plans
- quiz generation
- evaluation
- ML-based weakness prediction
- dynamic revision cycles
- memory retrieval
- performance graphs
- time allocation charts
- exported reports
๐
Study Plan Example
For topics:
- Arrays โ Priority 2
- Graphs โ Priority 1
- DP โ Priority 2
The planner builds a 7-day optimized schedule.
๐ 2) WORKFLOW DIAGRAM
(Insert your workflow diagram image below โ drag & drop into GitHub editor and replace the link)
๐ Quiz Generation
Example for topic DP:
- 3 conceptual MCQs
- Memory-aware grounding
๐ Evaluation & Tracking
Logs include:
- correct / incorrect
- explanations
- topic-wise accuracy
๐ฎ Weakness Prediction
ML model assigns a numerical probability:
Weakness Probability: 0.73
โ High chance of confusion
๐ Revision Planning
Revision Agent outputs:
- targeted tasks
- recommended questions
- spaced repetition intervals
๐ Analytics & Visualizations
Includes:
- study-time distribution chart
- accuracy line graph
- mistake clusters
- topic dependency graph
- memory-retrieval maps
- revision heatmaps
๐ ๏ธ The Build
โจ Engineering Philosophy
StudyAlpha is:
- modular
- reproducible
- deterministic
- easy to test
- extendable
๐งฐ Technologies Used
- Python
- Scikit-learn
- Pandas / NumPy
- TF-IDF / Cosine Similarity
- Streamlit
- Joblib
- Logging & Tracing
๐ง Key Design Decisions
- Deterministic mock LLM (no API keys required)
- True multi-agent architecture
- RAG-based quiz grounding
- ML-based weakness prediction
- Structured modular repository
๐ฆ Notebook Includes
- agent modules
- memory system
- planner/quiz/revision pipelines
- ML training + explainability
- analytics & visualizations
- reproducible tests
- synthetic student simulation
โณ Future Improvements
- Gemini Integration for richer feedback
- Cloud deployment (API/Serverless)
- Long-term spaced repetition pipeline
- Daily streak tracking
- PDF/notes ingestion
- Leaderboards & gamification
๐ Final Note
StudyAlpha acts like a real AI tutor โ doing more than answering questions.
It thinks, plans, evaluates, adapts, and remembers.
This system combines:
- multi-agent intelligence
- memory
- ML prediction
- structured planning
Perfectly aligned with the goals of the Google ร Kaggle Agents Intensive Capstone.
๐ค Author
Shubham Mahajan
AI & Web Developer
โSolve. Fail. Learn. Repeat.โ
๐ Project Links