Reclaim your focus. Reclaim your learning. Reclaim your future.
MetaCog OS is an integrated AI-powered productivity and learning ecosystem designed to transform how students and professionals approach focus, learning, and growth. Built by a student, for students—because we understand the struggle of AI dependency, distraction, and surface-level learning.
In an age of "vibe coding" and instant AI answers, we're stuck in what we call "AI Hell"—where you know the content but can't actually do it. LLMs hand you solutions, but do you learn? Not really.
Meanwhile, distractions are everywhere. Your phone. That tab. That notification. Focus feels impossible.
MetaCog OS solves both.
MetaCog OS is a comprehensive system that supports you before, during, and after your study sessions:
Your personal AI accountability system that prevents smartphone distractions in real-time.
An AI tutor that guides you through problems instead of solving them for you—breaking the cycle of AI dependency.
Comprehensive performance tracking, AI-generated weekly reports, and automated revision quizzes to ensure retention.
Real-time distraction detection powered by computer vision and AI.
-
Real-Time Distraction Detection
- AI-powered computer vision detects phone usage during focus sessions
- Detects tab switches to keep you on task
- Toggle detection on/off anytime via settings
- Instant accountability with timer pause and alert sounds
-
Comprehensive Analytics Dashboard
- Weekly focus data visualization with bar graphs
- Best/worst day performance comparisons
- Session duration analysis
- Focus-to-distraction ratios via interactive donut charts
-
Built-In Productivity Tools
- Integrated to-do lists—no need for external apps
- Seamless workflow without app-switching
- AI-powered text summarization (Gemini Model) for research and study sessions
"Not a single LLM built for learning? We built one."
Saathi isn't just another chatbot. It's designed to guide, not solve—to help you grow, not create dependency.
Automation should remove friction, not thinking. The mental strain is where learning happens.
- Powered by Gemini 2.5 Flash for low latency and reliable reasoning
- Breaks down complex STEM problems into digestible steps
- Never gives direct answers—it guides you to the solution
- Context-aware reasoning for accurate, meaningful responses
- Upload PDFs, .txt, .docx, or paste text
- Generates 5-20 question MCQ quizzes in seconds
- Supports mixed input (text + document) for comprehensive quizzes
- Perfect for active recall practice
- Chart.js visualizations showing accuracy trends across your last 10, 15, 20, 25, and 30 quizzes
- Overall statistics dashboard: total quizzes, questions answered, current streak
- Brutal reality check: see exactly where you stand
- After 15 wrong answers, Saathi auto-generates a revision quiz
- Forces you to confront your weak spots
- No more avoiding what you don't know
- After each quiz, get a custom prompt explaining what you missed and why
- Copy-paste into Saathi's chat for targeted explanations
- Bridges the gap between practice and understanding
MetaCog OS isn't just two separate apps—it's a unified system.
- Generated every Sunday
- Analyzes performance across both FocusAI and Saathi
- Identifies patterns, strengths, and areas for improvement
- Actionable insights to optimize your learning workflow
MetaCog OS is the only system that supports you throughout your entire learning journey:
- BEFORE: Keeps you accountable and focused when you're studying (FocusAI)
- DURING: Helps you learn by guiding, not solving (Saathi Chat)
- AFTER: Reinforces learning through quizzes, feedback, and AI reports (Saathi Analytics + Portal)
- PROACTIVE: Auto-generates revision quizzes after 15 mistakes
Humans can coach you DURING study time. But after? They can't. That's what MetaCog OS solves.
- Backend: Django
- Database: PostgreSQL and Supabase for auth
- AI Models:
- Gemini 2.5 Flash
- Cerebras
- PyTorch (AI model for CV)
- Frontend: HTML, Tailwind CSS, JavaScript, Chart.js
- Computer Vision: OpenCV, PyTorch
- Python 3.12
- PostgreSQL
- Supabase project
- Webcam (for FocusAI distraction detection)
-
Clone the repository
git clone https://github.com/Aruniaaa/MetaCog-OS
-
Create a virtual environment
python -m venv venv venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Set up your
.envfileCreate a
.envfile in the root directory with the following variables:# Database DB_PASS=your_postgresql_password # Supabase SUPABASE_URL=your_supabase_project_url SUPABASE_KEY=your_supabase_anon_key # AI API Keys GEMINI_KEY=your_gemini_api_key CEREBRAS_API_KEY=your_cerebras_api_key # Django Settings DEBUG=True SECRET_KEY=your_django_secret_key
How to get API keys:
- Gemini API Key: Get it from Google AI Studio
- Cerebras API Key: Sign up at Cerebras Cloud
- Supabase: Create a project at Supabase
- Django Secret Key: Generate one using:
-
Download the FocusAI model
The PyTorch model will automatically download on first run. If you encounter issues, ensure you have a stable internet connection.
-
Run database migrations
python manage.py makemigrations python manage.py migrate
-
Collect static files
python manage.py collectstatic
-
Run the development server
python manage.py runserver
-
Access the application
Open your browser and navigate to
http://127.0.0.1:8000/ -
Leave a review!
MetaCog OS is a web app for students, by a student. And it needs your constructive criticism to grow. So, don't be shy, try the app out, and let me know what you think!
You can reach out to me via the email listed below.
- Navigate to the FocusAI section
- Enable distraction detection in Settings
- Start a focus session
- Stay focused—FocusAI will alert you if it detects your phone or tab switches
- Use the built in tools like AI text summarization and to-do lists to manage your time efficiently
- Keep visiting the stats page every once in a while for motivation (and a reality check)
- Navigate to Saathi
- Chat: Ask questions and get guided explanations
- Quiz: Upload study materials or paste text to generate quizzes
- Analytics: Track your progress and identify weak spots
- Revision: Complete auto-generated revision quizzes after 15 mistakes
- Check your weekly AI reports every Sunday
- View integrated analytics from both FocusAI and Saathi
If you see invalid load key, '<':
- Ensure the model file downloaded correctly
- Delete
FocusAI/cnn-models/pytorch_model.ptand restart the server to re-download
- Verify your
DB_PASSin the.envfile - Ensure PostgreSQL is running
- Check Supabase credentials
- Both Gemini and Cerebras have free tier rate limits
- Consider upgrading your API plan if you hit limits frequently
Running into errors or missing files? Have questions or feedback?
Contact: [email protected]
I'm here to help! Don't hesitate to reach out.
Copyright (c) 2025 Charu Singhania
All rights reserved.
Built with frustration, caffeine, and the belief that learning should build you up, not make you dependent.
MetaCog OS: Focus. Learn. Grow.