STEM Detective: Multiverse of Mysteries

Inspiration

Traditional STEM education often struggles to keep students engaged. While students love solving mysteries, playing games, and exploring interactive worlds, many STEM learning platforms still rely on static lessons, quizzes, and memorization.

We asked ourselves a simple question:

What if every STEM lesson was a mystery waiting to be solved?

That question led to STEM Detective.

Instead of reading about scientific concepts, students become investigators. They collect clues, analyze evidence, run experiments, interview witnesses, and uncover the truth using science, technology, engineering, and mathematics.

Our goal was to transform STEM education from passive learning into active discovery.


What it does

STEM Detective is an AI-powered educational platform that generates interactive STEM mystery investigations tailored to each student.

Students become detectives and solve real-world inspired cases such as:

  • Why are fish suddenly dying in a river?
  • What caused a satellite to fall from orbit?
  • Why are crops failing in a farming community?
  • What triggered a mysterious disease outbreak?

To solve each case, students must:

  • Investigate evidence
  • Interview AI-generated witnesses
  • Explore interactive environments
  • Run virtual experiments
  • Analyze scientific data
  • Apply STEM concepts
  • Build and test hypotheses

The platform features:

AI Mystery Generator

Creates unique STEM mysteries based on a selected topic, grade level, and difficulty.

AI Dungeon Master

Acts as a dynamic narrator that adapts the story, generates clues, and responds to student actions in real time.

STEM Crime Lab

Allows students to perform virtual chemistry, biology, physics, and environmental science experiments.

Evidence Board

Students organize clues, connect relationships, and develop theories using a detective-style investigation board.

Knowledge Graph

Visualizes mastered concepts, learning gaps, and personalized learning pathways.

Adaptive Learning Engine

Tracks student progress and adjusts future mysteries based on strengths and weaknesses.

Gamification System

Includes XP, achievements, detective ranks, badges, and progression systems to encourage long-term engagement.


How we built it

Frontend

  • Next.js
  • React
  • TypeScript
  • Tailwind CSS
  • Framer Motion
  • Shadcn UI

These technologies allowed us to create an immersive detective-themed experience with smooth interactions and responsive design.

Backend

  • FastAPI
  • Python

FastAPI powers the investigation engine, learning system, and AI orchestration layer.

Database

  • Supabase
  • PostgreSQL
  • Vector Search

Used for user profiles, case history, evidence tracking, and long-term learning progress.

Artificial Intelligence

  • Gemini 2.5
  • OpenAI GPT-4o
  • LangGraph

AI generates mysteries, controls story progression, analyzes student decisions, and personalizes learning experiences.

Visualization

  • Three.js
  • React Flow
  • D3.js

Used to build interactive knowledge graphs, evidence boards, and investigation systems.


Challenges we ran into

One of the biggest challenges was balancing educational value with entertainment.

We didn't want students to simply play a game.

We wanted them to genuinely learn STEM concepts while having fun.

Another challenge was designing an AI system that generates engaging mysteries while remaining scientifically accurate and curriculum-aligned.

We also had to ensure that:

  • Clues remain logically connected
  • Stories stay coherent
  • Difficulty adapts appropriately
  • Learning outcomes remain measurable

Building a system that feels like a detective game while functioning as a personalized learning platform required significant iteration.


Accomplishments that we're proud of

We are particularly proud of:

Turning STEM into a narrative experience

Instead of presenting lessons, STEM Detective creates meaningful investigations that naturally encourage curiosity and critical thinking.

Dynamic AI-generated mysteries

Each investigation is unique and adapts to the student's actions and learning needs.

STEM Crime Lab

Students don't simply read about science—they actively experiment, test theories, and analyze evidence.

Personalized learning pathways

The platform continuously identifies learning gaps and generates new experiences to strengthen weak concepts.

Immersive detective-themed interface

We created a visually engaging experience that feels more like a modern game than a traditional educational tool.


What we learned

This project taught us that engagement and learning are not opposing goals.

When students are emotionally invested in solving a problem, they naturally become more motivated to learn the concepts required to solve it.

We also learned the importance of:

  • Adaptive learning systems
  • Human-centered AI design
  • Educational psychology principles
  • Narrative-driven experiences
  • Gamification that reinforces learning outcomes

Most importantly, we learned that AI can be used not only to provide answers but also to create meaningful learning journeys.


What's next for STEM Detective

Our vision is to evolve STEM Detective into a complete AI-powered educational ecosystem.

Future plans include:

Multiplayer Investigations

Students collaborate to solve large-scale STEM mysteries together.

Teacher Dashboard

Allow educators to assign investigations, monitor progress, and identify learning gaps.

AI-Generated World Simulator

Student decisions dynamically impact ecosystems, cities, and environments, creating deeper cause-and-effect learning experiences.

Accessibility Features

Support for visually impaired learners through AI narration, voice interaction, and adaptive interfaces.

Mystery Creation Studio

Teachers will be able to generate custom investigations for any STEM topic in seconds.

Global STEM Detective Network

Students worldwide can participate in collaborative investigations, competitions, and community-created challenges.

Our long-term mission is simple:

Transform STEM education from memorizing facts into discovering answers.

Because every great scientist starts as a curious detective.

Built With

Share this project:

Updates