Inspiration

Online learning environments are filled with constant distractions, dense content, and notification-driven interruptions that make it difficult for students to maintain focus. We observed that most productivity tools rely on manual timers or strict blocking, while accessibility tools remain static. This inspired Cortexa, a system that adapts the digital study environment to the learner’s cognitive needs instead of forcing the learner to adapt.


What it does

Cortexa is an emotion-aware, AI-powered study companion that automatically activates a Study Mode when learning intent is detected. It minimizes distractions such as short-form videos, ads, and notifications, prioritizes syllabus-relevant content, tracks focus through a study streak indicator, provides gentle reminders when attention drifts, and generates concise AI-powered revision summaries after each study session.


How we built it

Cortexa was built as a browser-based system using JavaScript and Gemini 3. The platform extracts webpage content during study sessions and sends it to the AI using structured, deterministic prompts. Gemini returns exam-focused summaries and distraction-reducing CSS, which are injected into the webpage in real time. Focus duration and tab-switch behavior are tracked locally to provide non-intrusive feedback.


Challenges we ran into

Ensuring consistent AI output for real-time use was a major challenge. We addressed this through strict prompt design and controlled output formats. Balancing helpful interventions without becoming intrusive also required careful UX decisions to maintain a calm, supportive experience.


Accomplishments that we're proud of

  • Built a real-time, AI-driven adaptive study mode
  • Integrated content summarization directly into live webpages
  • Designed focus support without timers or hard restrictions
  • Created a lightweight, browser-based prototype suitable for real-world use

What we learned

We learned that focus is fundamentally a cognitive load problem, not just a time-management issue. Small UI and content changes can significantly improve comprehension and mental clarity. We also gained experience in prompt engineering, real-time DOM manipulation, and human-centered AI design.


What's next for Cortexa: Adaptive Focus Intelligence

Future plans include emotion sensing through webcam signals, support for PDFs and offline documents, personalized learning profiles, multilingual summaries, and mobile integration to extend Cortexa beyond the browser.

Built With

Share this project:

Updates