Inspiration

As university students, we realized that studying isn't difficult just because the material is challenging. It's also difficult because the entire learning process is fragmented.

Our lecture notes and assignments are on Brightspace, course discussions and instructor clarifications are on Piazza, and we often rely on completely different websites to summarize notes, create flashcards, and practice quizzes.

But the biggest problem comes after taking a quiz.

Imagine scoring 6/10 on a practice test. You know you got four questions wrong, but do you truly understand why? Which concepts are you struggling with? What should you revise first? And how should you prepare when your exam is only two days away?

We wanted to solve this problem by building something beyond another AI summarizer or quiz generator.

That inspired TrojanMind — Don't Just Study. Understand Why.

Our vision was to create an intelligent academic companion that connects course materials, active learning, conceptual reasoning, and personalized exam preparation in one place.

We believe the future of education isn't about giving students more answers. It's about helping them understand the reasoning behind those answers.

What it does

TrojanMind is an AI-powered academic reasoning coach designed for USC students. It transforms scattered academic resources into one connected learning experience.

Our platform follows a continuous learning loop:

Import → Learn → Challenge → Identify Gaps → Defend Reasoning → Improve

1. Smart Study Hub

Students can upload PDFs, text files, or lecture notes and organize them into persistent study workspaces.

Through our Brightspace MCP integration, an authorized user can browse courses and import supported academic materials directly into TrojanMind.

Using the Claude API, students can generate:

  • AI Summaries: Detailed, Quick, Exam-Focused, and Simplified summaries.
  • Smart Flashcards: Key concepts and definitions for active recall.
  • Concept Explanations: Clearer explanations of difficult topics.
  • Grounded Ask AI: Context-aware answers based on the selected study material.

2. Piazza AI Assistant

Our floating Piazza Assistant helps connect studying with classroom discussions.

Students can access authorized course discussions, see newly detected activity, review available instructor clarifications, and ask AI questions grounded in discussion context.

This helps bring relevant classroom information closer to the student's learning workflow.

3. AI Reasoning Challenge and Multiplayer

TrojanMind turns studying into an interactive experience through:

  • Timed, document-grounded multiple-choice quizzes.
  • Solo challenges against Claude.
  • Multiplayer quiz rooms to compete with friends.
  • Saved quiz attempts and performance history.
  • Weak-topic identification based on practice results.

Instead of treating the quiz score as the final result, TrojanMind uses previous attempts to guide further learning.

4. Socratic Cross-Examination — Our Core Innovation

This is what makes TrojanMind different from a traditional AI study assistant.

Most quiz platforms tell students whether their answers are correct or incorrect.

TrojanMind goes a step further.

Our Socratic Cross-Examination feature revisits questions from previous attempts and asks students to explain their reasoning.

The workflow is:

Previous Question → Student's Answer → Claude's Follow-Up Question → Student's Reasoning → AI Feedback

For example, a student might know that binary search requires a sorted array but struggle to explain why.

Instead of simply displaying the correct answer, TrojanMind might ask:

"Why does sorted order allow binary search to eliminate half of the remaining search space?"

This encourages students to explain their understanding rather than memorize answers.

5. Exam Readiness and Adaptive Study Planning

TrojanMind analyzes previous quiz performance to help students identify topics requiring more practice.

Our Exam Prep experience includes:

  • Personalized readiness indicators.
  • Weak-topic detection.
  • Red → Amber → Green learning progression.
  • Recommended next topics.
  • Exam-date-aware study planning.
  • Targeted revision sessions based on previous performance.

Students can also view their practice history and learning trends through the Study Report.

The goal is simple: help students understand what they know, what they don't know, and what they should study next.

How we built it

We built TrojanMind as a full-stack AI-powered learning application, combining modern frontend development, persistent cloud storage, Claude-powered intelligence, and university-platform integrations.

Frontend

We used React 19, TypeScript, and Vite to create a responsive, interactive application.

Tailwind CSS provided consistent styling, while Framer Motion helped us build fluid transitions and animated interface elements.

We used Zustand to manage shared application state and learning-workspace context.

Authentication and Database

We integrated Firebase Authentication to support verified @usc.edu email accounts.

We used Cloud Firestore to persist user-specific information, including:

  • Uploaded study materials.
  • Saved learning workspaces.
  • Quiz attempts and performance history.
  • Exam-readiness information.
  • Personalized study schedules.

AI Integration

We integrated the Claude API to power intelligent summaries, flashcards, question answering, quiz generation, and Socratic reasoning.

To protect sensitive credentials, we created an authenticated backend proxy rather than exposing the Claude API key in the frontend.

Our backend validates Firebase authentication tokens before processing protected requests.

Brightspace and Piazza MCP Integrations

We developed integrations using the Model Context Protocol (MCP) to connect academic content and discussions with TrojanMind.

The Brightspace integration supports browsing authorized course content and importing supported files or HTML into persistent learning workspaces.

The Piazza integration enables authorized discussion access, course-aware assistance, detected updates, and AI-supported explanations grounded in accessible discussion content.

These integrations currently operate through owner-restricted local services, with broader individual-account deployment planned as future work.

Application Architecture

Our high-level architecture is:

React + TypeScript Frontend → Firebase Authentication → Authenticated Backend → Claude API / Brightspace MCP / Piazza MCP

Cloud Firestore ↔ User Materials, Learning History, Readiness, and Study Plans

By connecting these components, we created a learning experience where uploaded materials, quiz performance, AI reasoning, and study recommendations work together.

Challenges we ran into

Integrating Multiple Academic Platforms

One of our biggest challenges was connecting Brightspace and Piazza, which have different content structures, authentication requirements, and access limitations.

We had to build separate integration workflows while keeping the experience consistent within TrojanMind.

We addressed this by using MCP-based services and organizing supported academic content into shared study workspaces.

Moving Beyond Simple AI-Generated Answers

Generating summaries or multiple-choice questions was only part of the challenge.

The harder problem was connecting quiz mistakes to deeper conceptual reasoning.

We wanted Claude to do more than reveal the correct answer. We wanted it to ask meaningful follow-up questions based on a student's previous attempt.

Designing the Socratic Cross-Examination workflow required connecting past answers, contextual AI prompts, student explanations, and feedback.

Maintaining Context Across Features

TrojanMind includes summaries, flashcards, quizzes, reasoning challenges, readiness tracking, and schedules.

A major engineering challenge was ensuring these features could work with the appropriate learning material and previous student activity.

We addressed this through user-scoped persistent data, shared application state, and contextual AI requests.

Authentication and API Security

We needed to protect user data while keeping sensitive Claude credentials out of the browser.

We implemented Firebase-based authentication, backend token verification, and server-side API access.

We also had to account for the limitations of deploying academic integrations that depend on individually authorized access.

Creating a Unified User Experience

Another challenge was building many features without recreating the fragmented experience we were trying to eliminate.

We focused on connecting the features through one logical journey: learn, practice, reflect, and prepare.

Accomplishments that we're proud of

Building a Connected AI Learning Experience

We're proud that TrojanMind brings together course materials, AI summaries, flashcards, grounded question answering, quizzes, reasoning feedback, and exam preparation in one application.

Developing Socratic Cross-Examination

Our biggest accomplishment is building a feature that goes beyond conventional answer generation.

Instead of simply telling students what is correct, TrojanMind encourages them to explain and defend their reasoning using previous mistakes as learning opportunities.

Making Learning Collaborative

We implemented multiplayer quiz rooms so students can challenge their friends and make studying more interactive and engaging.

Connecting Brightspace and Piazza

We built authorized local integrations that bring supported course materials and relevant discussions into the TrojanMind workflow.

Turning Practice Results Into Actionable Preparation

We connected quiz attempts with weak-topic identification, readiness tracking, and adaptive study scheduling.

This makes each practice session more useful for future preparation.

Building with Security in Mind

We're also proud of implementing verified USC email authentication, user-scoped Firestore data, Firebase token validation, and a protected backend proxy for Claude.

Most importantly, we built a working prototype that reflects our core belief: AI should help students become better thinkers, not just faster answer-finders.

What we learned

Building TrojanMind taught us that creating an effective AI-powered educational application requires more than connecting a language model to a user interface.

We learned how to integrate Claude into a context-aware learning workflow, use previous quiz attempts to support personalized reasoning, and design AI interactions that encourage students to think rather than simply accept generated answers.

We gained hands-on experience building full-stack applications with React, TypeScript, Firebase, Firestore, and authenticated backend services.

We also learned about the complexity of integrating external academic platforms through MCP, particularly when dealing with authorization, content formats, synchronization, and deployment restrictions.

From a product-design perspective, one of our most valuable lessons was that more features do not automatically create a better learning experience. Those features must work together to solve a real problem.

Above all, we learned that the most valuable educational AI doesn't replace a student's thinking process. It supports and strengthens it.

What's next for TrojanMind

Our vision is to evolve TrojanMind into a more connected, adaptive, and collaborative academic learning ecosystem.

Phase 1 — Connect

We plan to explore secure cloud deployment of our academic connectors, individually authorized student integrations, improved course synchronization, and user-controlled updates.

This would help make the academic-context features more broadly accessible beyond the current local integration environment.

Phase 2 — Personalize

We want to develop more advanced AI-powered learning capabilities, including:

  • Concept-level mastery modeling.
  • Adaptive question difficulty.
  • Long-term learning analytics.
  • More sophisticated misconception detection.
  • Personalized revision recommendations.
  • Voice-based Socratic study sessions.

Phase 3 — Expand

We envision richer collaborative learning experiences through:

  • Enhanced multiplayer challenges.
  • Shared study rooms.
  • Team-based reasoning activities.
  • Additional accessibility features.
  • Multilingual learning support.
  • Expansion to universities beyond USC.

Our long-term goal is to make TrojanMind a platform that supports students throughout their academic journey, not just before their next exam.

TrojanMind started with one question: What if AI could help students understand why, instead of simply telling them what?

That's the future we're building.

TrojanMind — Don't Just Study. Understand Why.

Built With

Share this project:

Updates

Submission history