Kaggle Capstone Project

Trifecta Agent

An advanced, secure, and personalized educational AI tutor designed with a multi-agent hierarchy using the Google Agents SDK.

Developer Story

Traditional learning systems are rigid, treating class cohorts as uniform blocks. When students study, they often focus on what they are already good at, leaving critical blind spots unaddressed.

"Education should be about studying smart, not just studying hard. We built the Trifecta Agent to democratize personalized tutoring. By helping students automatically identify and target their blind spots, we hope to make effective, adaptive learning accessible to everyone."

The Trifecta Agent solves this problem dynamically. By integrating a turn-by-turn interactive diagnostic quiz, analyzing performance details programmatically, and combining indexed study material via a custom FastMCP server, the system crafts personalized, high-quality 7-day study paths.

To bridge safety and education, we designed a multi-step moderation and security pipeline. Presidio-driven PII scrubbing ensures data privacy, while dual Human-in-the-Loop approval layers ensure that parents, teachers, and moderators remain fully in control of the educational journey.

Video Demonstration

Key Capabilities

Adaptive Quizzing

Dynamically adjusts question difficulty based on rolling score accuracy, preventing discouragement while ensuring a rigorous test.

MCP Vector Store

Grounds generated content using a FastMCP-powered retrieval system. Ingests PDFs and URLs into a local TF-IDF semantic index.

Security Pipeline

Scrub PII instantly using Microsoft Presidio and preemptively block prompt-injection attacks with integrated guardrails.

Smart Study Planner

Generates deterministic 7-day schedules focusing explicitly on flagged weakness topics, complete with offline PDF exports.

Human in the Loop

Pauses workflow execution to request parent, teacher, or moderator approval before resolving critical educational decisions.

Modern Interfaces

Provides dual UIs: A responsive React SPA for students and a comprehensive FastAPI glassmorphic console for teachers, plus seamless CLI testing via the ADK Playground.

Technology Stack

Python 3.13
React 18
Node.js
FastAPI
Llama 3
Vite

Meet the Architects

Godfrey T R

Lead AI Architect

Spearheaded the design of the multi-agent graph hierarchy, state models, and structured orchestrations using the Google Agents SDK.

Arjun S N

Frontend Systems

Crafted the responsive SPA student workspace portal, integrated the FastAPI backend layers, and polished the responsive telemetry layouts.

Abdul Razeek A

Security Engineer

Engineered the Presidio protection safeguards, integrated FastMCP vector store ingestion, and designed secure human review interrupts.

Special Acknowledgements

This application was engineered as a capstone submission for the Kaggle course. We are extremely grateful for the support and guidance of our mentors and communities:

Kaggle Instructors

For designing comprehensive training tracks, providing computational test beds, and hosting this capstone framework challenge.

Google SDK Dev Team

For building the robust Google Agents SDK framework and the ADK tooling system that powered our orchestration graph.

Open Source Community

For contributing the packages that enabled Presidio analyzer scrubbers, Vite, React, ChartJS, and beautiful styling tools.