Ainstein

apparently we lost because we didn't know the judges would score based on the feature preview on the image gallery, and we didn't upload any:D

Inspiration

In Indonesia, the quality of education is still dictated by geography.
Children in Papua receive only about 6 years of schooling on average, while children in Jakarta receive over 11.
Students in Kalimantan struggle to reach 60% on national exams, while students in Bali average nearly 80%.

This imbalance stems largely from one core issue:
the unequal distribution of qualified teachers.

Skilled educators tend to stay in urban areas, leaving rural and remote schools understaffed or even abandoned.
This leads to a long-term impact on Indonesia’s Human Capital Index, productivity, and economic growth.

We asked ourselves:
What if every student — no matter where they live — could have access to a great teacher?
That question became Ainstein.


What it does

Ainstein is a mobile AI-powered teacher that gives every student access to personalized, interactive learning.

Core Features:

  • Learning Timeline
    A TikTok-style scrollable feed of learning prompts and AI-generated content. Students can explore topics, view what others are learning, and discover new ideas organically.

  • Ask Ainstein Chatbot
    A conversational assistant where students can ask any academic question. Ainstein responds with:

    • Video explanations
    • Interactive flashcards
    • Personalized quizzes
  • Study Kit
    All responses and learning sessions are saved automatically. Students can review and organize their learning journey in one place.


How we built it

Frontend

Built with Expo for cross-platform mobile development, styled using NativeWind and Gluestack, with session management powered by BetterAuth.

Backend

We used a lightweight and high-performance stack:

  • Hono as our backend framework
  • Bun for fast server-side execution
  • TypeScript across the stack for type safety
  • Drizzle ORM for schema-safe DB interaction
  • PostgreSQL as the primary database
  • Supabase for authentication and real-time features
  • Google SSO for seamless login

AI & Retrieval-Augmented Generation (RAG)

  • LlamaIndex and ChromaDB for retrieval-augmented generation
  • FastAPI to serve the RAG pipeline over REST APIs

Video Generation

  • Manim for generating math and concept animations
  • OpenAI API to power content understanding and generation
  • AWS Lambda to execute video tasks on demand
  • Cloudflare R2 for video storage
  • AWS ECR to manage containerized video render workers

Design

We use Figma for our application design See Our Design


Challenges we ran into

  • Designing an engaging AI chatbot experience that feels like a real teacher, not just a Q&A bot
  • Balancing visual richness (e.g., animations, flashcards) with speed and file size for rural network conditions
  • Ensuring generated videos are accurate, personalized, and safe for students
  • Managing multiple asynchronous services (RAG, video rendering, quiz generation) under one API umbrella

Accomplishments that we're proud of

  • Delivered a full, working prototype during the hackathon timeline
  • Seamlessly integrated AI with interactive video and quiz generation
  • Created an intuitive and accessible UX for underserved students
  • Positive feedback from trial runs in both rural and urban test groups

What we learned

  • Building AI products for education requires more than accuracy — it demands empathy, clarity, and adaptability
  • Retrieval-augmented generation significantly improves the quality and relevance of answers for localized curricula
  • Offline-first thinking, even for AI tools, is essential when building for underconnected regions

What's next for Ainstein

  • Implementing offline packs for students with limited internet access
  • Expanding to voice-based interaction in Bahasa Indonesia
  • Partnering with local schools to pilot Ainstein in rural classrooms
  • Adding social learning features (comment, remix prompts, share)
  • Developing a dashboard for teachers and parents to monitor learning progress

Ainstein is our vision for a future where quality education is no longer a privilege —
but a right that reaches every corner of Indonesia, one student at a time.

Built With

  • aws-ecr
  • aws-lambda
  • betterauth
  • bun
  • chromadb
  • cloudflare-r2
  • drizzle
  • fast-api
  • fastapi
  • gluestack
  • google-sso
  • hono
  • hono-js
  • llama-index
  • manim
  • open-ai
  • postgresql
  • react-native
  • supabase
  • typescript
Share this project:

Updates