Inspiration Education today is stuck in a one-size-fits-all model. We noticed that students easily lose focus when reading massive, dense textbooks. As we looked to the future of education, we realized that the best way to learn is by staying engaged, and the most engaging medium is gaming. We asked ourselves: What if a student could study while playing? This inspired us to build Optimous AI—a futuristic, cyberpunk-themed learning platform that doesn't just read information to you, but adapts to your brain. If you start struggling with a concept, it instantly shifts gears and drops you into a custom mini-game so you can learn through action and reflexes. What it does Optimous AI is a next-generation adaptive learning application compiled as an Android APK. Users can upload massive textbooks (up to 100MB PDFs) or drop in a YouTube link, and tell the AI exactly what they want to learn (e.g., "Teach me from Lesson 2, Unit 5"). The system reads the exact page, generates a custom curriculum, and actively tests the user. It evaluates their pacing and learning style dynamically. If a user fails to grasp a concept—for example, if they are struggling with complex algebraic equations —the AI detects this gap. Instead of just repeating the text, it triggers a payload that seamlessly transitions the user into a custom mini-game (like Neon Trivia Defender), allowing them to shoot the correct mathematical answers as falling asteroids. You literally study while playing! How we built it We architected a robust full-stack application using modern frameworks: Frontend (Mobile App): Built using Flutter and Dart to compile into a highly responsive Android APK. We designed a futuristic, glassmorphism UI with neon accents, glowing drop zones, and dynamic hero animations. For rendering complex mathematics beautifully inside our games and UI, we utilized flutter_math_fork to parse LaTeX equations dynamically Backend (API & Logic): Powered by Python and FastAPI. AI & Data Pipeline: We used the ultra-fast Groq API to power our LLM responses. To handle the 100MB PDFs, we utilized LangChain and a Vector Database (FAISS/ChromaDB). When a user uploads a PDF, the backend chunks the text, creates vector embeddings, and uses Retrieval-Augmented Generation (RAG) to find the exact pages the user asked for. Challenges we ran into API Rate Limits: One of our biggest hurdles was hitting rate limits on the Groq API due to the sheer volume of educational data we were processing. We solved this by engineering a custom "Key Manager" on the Python backend that holds 5 separate API keys. It uses a Round-Robin fallback strategy—if Key 1 hits a 429 Rate Limit error, the backend catches the exception and instantly switches to Key 2 without crashing the app. Heavy Data Processing: Uploading and extracting text from 100MB PDFs on a mobile device is notoriously slow. We had to offload the heavy PDF parsing metadata to our backend and implement strict chunking algorithms so the AI wouldn't lose the context of the pages. Game-State Synchronization: Dynamically generating a 2D game in Flutter based on AI-generated JSON payloads required exact state management to ensure the game didn't stutter during rendering. Accomplishments that we're proud of We are incredibly proud of the seamless transition between standard studying and interactive gaming. Successfully building Neon Trivia Defender directly inside Flutter and having the AI feed it dynamically generated questions in real-time feels like a massive leap forward for EdTech. We're also very proud of the cyberpunk UI/UX—the glowing boot-up sequences, neon styling, and split-screen PDF viewer make it look exactly like a tool from the future. What we learned Building Optimous AI was a masterclass in full-stack integration. We learned: How to build and query Vector Databases for large-scale document retrieval (RAG). How to handle graceful fallbacks for LLM APIs so the user never experiences downtime. How to use LaTeX to render complex math expressions natively in Dart using flutter_math_fork. Advanced state management in Flutter to handle transitions between chatbots and active mini-games. What's next for Optimous Ai We want to take hyper-personalized education to an entirely new level by breaking down the barrier of text completely. Next, we are adding a voice call option to directly call and speak with the AI. This will function like a real phone call—you can have a natural, real-time voice conversation with Optimous AI to debate a historical event, practice a foreign language, ask for help studying a complex topic, or even just talk about your day to decompress after a long study session!

Built With

Share this project:

Updates

Submission history