About Enhanced Learning with AI

Inspiration

The inspiration for Enhanced Learning with AI came from recognizing the growing need for personalized, high-quality educational content that adapts to individual learning preferences and schedules. Traditional online courses often follow a one-size-fits-all approach, leaving learners frustrated with content that's either too basic or too advanced for their current level.

I was inspired by the potential of AI agents to revolutionize education by creating truly personalized learning experiences. The idea of having AI agents that could research topics, understand user requirements, and generate comprehensive course content in real-time seemed like the perfect solution to bridge the gap between generic educational content and personalized learning.

The Google Cloud Agent Development Kit Hackathon provided the perfect opportunity to explore this vision, allowing us to leverage cutting-edge AI technology to build something that could genuinely transform how people learn.

What it does

Enhanced Learning with AI is an intelligent course generation platform that automatically creates comprehensive, personalized educational courses based on user-provided topics and study criteria. The system works through a sophisticated multi-agent architecture that handles everything from initial research to final content delivery.

Key Features:

  • Personalized Course Creation: Users simply describe what they want to learn, their experience level, desired outcome, and time commitment
  • AI-Powered Research: Web search agents automatically research topics to ensure content is current and comprehensive
  • Intelligent Content Generation: Multiple AI agents work in parallel to create detailed, well-structured course content
  • Real-time Progress Tracking: Users can see their courses being built in real-time as content is generated
  • Adaptive Learning Paths: Content is tailored to user experience levels (beginner, intermediate, advanced) and learning goals (conversational, practitioner, expert)

User Experience:

  1. Users provide a course topic and learning preferences through an intuitive web interface
  2. The system generates a comprehensive course overview with detailed week-by-week structure
  3. Multiple AI agents work in parallel to create content for each section
  4. Users can access their courses immediately as content is generated
  5. All content includes proper citations and references to source materials

How we built it

We built Enhanced Learning with AI using a modern, scalable architecture that leverages the latest AI and cloud technologies:

Frontend (Next.js + TypeScript):

  • Modern React-based web application with responsive design
  • Real-time course status updates and progress tracking
  • Intuitive course creation wizard with smart form validation
  • CSS Modules for component-scoped styling

Backend (FastAPI + Celery + Redis):

  • Python-based API server handling course creation requests
  • Distributed task queue system for managing long-running AI operations using Celery and Redis

AI & Agents (Google Cloud Agent Development Kit):

  • Course Overview Agent: Researches topics and creates comprehensive course structures
  • Parallel Section Agents: Multiple agents work simultaneously to generate section content
  • Web Search Integration: Agents use Google Search to gather current, relevant information
  • Intelligent Content Structuring: Agents create well-organized content with proper citations

Database (Supabase + PostgreSQL):

  • PostgreSQL database with Row Level Security for data protection
  • Comprehensive course, week, and section management
  • User authentication and session management

Deployment (Google Cloud Run):

  • Containerized deployment for scalability and reliability
  • Separate containers for frontend and backend services
  • Environment-based configuration management

Challenges we ran into

Technical Challenges:

  • Agent Coordination: Managing multiple AI agents working in parallel while maintaining data consistency was complex
  • Real-time Updates: Implementing seamless updates between the AI generation process and the frontend was difficult since the built-in Google Search tool did not provide details of its progress
  • Content Quality: Ensuring AI-generated content was both comprehensive and accurate is not easy
  • Performance Optimization: Balancing the computational demands of multiple AI agents with responsive user experience

Architecture Challenges:

  • 48-Hour Time Constraint: The hackathon's time limit forced me to make strategic decisions about feature scope and implementation complexity
  • Scalability Planning: Designing for future growth while working within current resource constraints
  • Error Handling: Implementing robust error handling for AI agent failures and network issues

Integration Challenges:

  • Google Cloud Agent Development Kit: Learning and implementing the new ADK framework within the time constraints
  • Database Schema Design: Creating a flexible schema that could handle dynamic course structures
  • API Design: Balancing simplicity with the complexity of multi-agent operations

Accomplishments that we're proud of

Technical Achievements:

  • Successfully implemented a working multi-agent AI system that can generate complete educational courses
  • Built a real-time, responsive web application that provides immediate feedback to users
  • Created a scalable architecture that can handle multiple concurrent course generations
  • Implemented comprehensive security measures including Row Level Security and proper authentication

User Experience Achievements:

  • Designed an intuitive course creation process that requires minimal user input
  • Created a seamless real-time experience where users can watch their courses being built
  • Implemented smart form validation and user guidance throughout the process
  • Built a responsive design that works across different devices and screen sizes

AI/ML Achievements:

  • Successfully integrated Google Cloud Agent Development Kit for intelligent course generation
  • Implemented parallel processing of AI agents for efficient content creation
  • Created sophisticated prompt engineering that produces high-quality, structured content
  • Built a system that can adapt content based on user experience levels and learning goals

Project Management Achievements:

  • Completed a complex, multi-component system within the 48-hour hackathon timeframe
  • Successfully coordinated frontend, backend, AI, and database development
  • Created comprehensive documentation and deployment procedures
  • Built a system that's ready for production deployment and scaling

What we learned

Technical Learnings:

  • Google Cloud Agent Development Kit: Gained deep understanding of the ADK framework and its capabilities for building intelligent agent systems
  • Multi-Agent Architecture: Learned how to design and implement systems where multiple AI agents work together
  • Real-time Systems: Developed expertise in building responsive applications that update in real-time
  • Container Orchestration: Gained experience with modern deployment practices using Google Cloud Run

AI/ML Learnings:

  • Prompt Engineering: Discovered the importance of carefully crafted prompts for consistent AI output
  • Agent Coordination: Learned how to manage state and communication between multiple AI agents
  • Content Generation: Developed techniques for ensuring AI-generated content is both comprehensive and accurate
  • Web Search Integration: Gained experience in combining AI with real-time web search for current information

Product Development Learnings:

  • User-Centric Design: Learned the importance of designing for user experience, especially in AI-powered applications
  • Iterative Development: Discovered the value of rapid prototyping and testing in AI applications
  • Error Handling: Developed strategies for gracefully handling AI agent failures and edge cases
  • Performance Optimization: Learned techniques for optimizing AI-heavy applications for responsiveness

Team Collaboration Learnings:

  • Time Management: Developed skills in prioritizing features and making strategic decisions under time pressure
  • Documentation: Learned the importance of comprehensive documentation for AI systems

What's next for Enhanced Learning with AI

Immediate Enhancements:

  • Content Quality Improvements: Implement more sophisticated content validation and quality assurance processes
  • Progress Tracking: Implement detailed learning progress tracking and analytics

Scalability Improvements:

  • Microservices Architecture: Refactor to separate containers for API server, Redis, and Celery workers
  • Load Balancing: Implement distributed traffic across multiple service instances
  • Database Optimization: Add caching layers and optimize database queries
  • Global Deployment: Deploy to multiple regions for better global performance

The future of Enhanced Learning with AI is focused on creating an even more intelligent, personalized, and comprehensive learning platform that can adapt to the unique needs of every learner while maintaining the highest standards of educational quality.

Built With

Share this project:

Updates

Submission history