Gauntlet AI Completed
Spool
An AI-powered personalized learning management system that transforms static educational content into dynamic, individualized learning journeys with voice-driven discovery and adaptive assessment.
- Problem
- Textbook content is the same for every student, so it rarely connects to what an individual learner actually cares about.
- Stack
-
- FastAPI
- Python
- TypeScript
- React
- Next.js
- Vite
- PostgreSQL
- Neo4j
- Pinecone
- Redis
- AWS ECS
- AWS Lambda
- Docker
- LangChain
- OpenAI GPT-4
- WebRTC
- Tailwind CSS
- Outcome
- A learning platform that runs a voice interview to map a student's interests, personalizes lesson hooks and examples, and grades two-stage exercises with chain-of-thought evaluation and targeted remediation, on FastAPI microservices deployed to AWS.
Gallery
Overview
Spool is an advanced AI-powered personalized learning management system that transforms static textbook content into dynamic, individualized educational journeys. Built for microschools, homeschoolers, and parents seeking truly personalized education, Spool creates unique learning experiences by personalizing content presentation, examples, and assessments based on each student’s interests across four life categories: personal, social, career, and philanthropic applications.
Target User & Use Cases
Primary Users: Microschools, homeschool families, and progressive educators seeking personalized education that adapts to individual students.
Key Use Cases:
- Personalized Learning Journeys: Transform generic educational content into personally relevant experiences
- Interest-Driven Discovery: Use natural voice conversations to discover authentic student interests
- Adaptive Assessment: Two-stage exercise system with AI-powered evaluation and remediation
- Deep Understanding Validation: Require articulation of thinking process, not just correct answers
- Engagement Through Relevance: Connect every concept to students’ personal passions and real-world applications
- Comprehensive Progress Tracking: Monitor true understanding development over time
Core Features Implemented
Voice Interview System
- Natural Conversation Interface: 5-7 minute WebRTC-powered interviews to discover student interests
- Four-Category Framework: Systematically explores personal, social, career, and philanthropic applications
- Interest Mapping: Creates comprehensive student profiles for content personalization
- Real-Time Processing: Immediate analysis and integration into learning profiles
Three-Component Content Display
- Hook & Relevance: Connects every concept to four life category applications specific to student interests
- Show Me Examples: 3-4 interest-tagged scenarios demonstrating real-world applications
- What & How: Structured explanations with vocabulary, mental models, principles, and workflows
- Dynamic Personalization: Content automatically adapts based on individual student profiles
Two-Stage Exercise System
- Initial Assessment: Gauges baseline understanding with personalized problem scenarios
- Advanced Challenge: Deeper exploration requiring articulation of reasoning process
- Chain-of-Thought Evaluation: AI analyzes logical steps and identifies specific misconceptions
- Educational Tools Integration: Secure calculator, code executor, and search capabilities
Adaptive AI-Powered Remediation
- Misconception Identification: Pinpoint specific gaps in understanding through step-by-step analysis
- Targeted Support: Generate personalized explanations using vector search from educational knowledge base
- Multiple Teaching Personalities: 11 distinct teaching styles (enthusiastic coach, wise mentor, creative innovator, etc.)
- Intelligent Fallback: Graceful degradation ensuring system reliability
Advanced AI Capabilities
- Chain-of-Thought Prompting: Structured templates forcing LLMs to show reasoning process
- Enterprise Security: Process isolation, memory caps, timeout enforcement for code execution
- Vector Search Integration: Pinecone-powered context-aware content generation
- Tool Ecosystem: Secure mathematical computation, code validation, and comprehensive search
Technical Implementation
Developed using production-ready microservices architecture with enterprise-grade security and comprehensive AI integration:
Frontend Architecture
We built two separate frontends for this project to see which would work better. Both are React and TypeScript apps styled with Tailwind CSS and set up for AWS Amplify:
- Next.js 15: uses React 18 and Radix UI, with an Amplify build from Next.js output.
- Vite 7: a separate app that uses React Query for server state and WebRTC for real-time voice interviews, with an Amplify build that uses Vite.
Backend Microservices (FastAPI)
- Exercise Service: AI-powered exercise generation, evaluation, and remediation with Pinecone vector search
- Content Service: Educational content processing and personalization with vector database integration
- Progress Service: Comprehensive progress tracking with gamification and analytics
- Interview Service: Voice interview processing with speech-to-text and AI-driven conversation flow
- API Gateway: Authentication, load balancing, and service orchestration
Database Architecture
- PostgreSQL: Primary database for transactional data with AWS RDS
- Neo4j: Graph database for educational relationships and knowledge mapping
- Pinecone: Vector database for semantic search and context-aware content generation
- Redis: Caching layer with ElastiCache for session storage and performance optimization
AI & Machine Learning Integration
- OpenAI GPT-4: Enhanced with chain-of-thought prompting for improved reasoning
- LangChain: Framework for AI application development and tool integration
- Teaching Personalities: 11 distinct AI teaching styles with dynamic loading
- Vector Search: Context-aware exercise generation using educational knowledge base
- Enterprise Security: Multi-layer validation, process isolation, and resource limits
Cloud Infrastructure (AWS)
- Container Orchestration: Amazon ECS with Fargate for scalable microservices
- Serverless Computing: AWS Lambda for exercise service with Mangum ASGI adapter
- Load Balancing: Application Load Balancer with health checks and auto-scaling
- Monitoring: CloudWatch, AWS X-Ray for distributed tracing, and comprehensive alerting
Results & Impact
- Production-Ready Architecture: Complete microservices deployment with 99.9% uptime target
- Enterprise-Grade Security: Comprehensive security implementation with vulnerability fixes
- Advanced AI Integration: Chain-of-thought prompting and educational tools ecosystem
- Performance Optimization: <3 second response times with intelligent caching strategies
- Code Quality Excellence: 100% CI/CD success rate with comprehensive quality gates
This project demonstrates expertise in AI-first engineering, microservices architecture, educational technology, and building intelligent systems that create truly personalized learning experiences. The implementation showcases advanced AI capabilities, production-ready infrastructure, and comprehensive security measures suitable for educational environments.