Inspiration

Every person alive is being controlled by beliefs they never chose. A harsh manager in 2015 who fired someone for asking questions. A parent who said showing emotion is weakness. A school that taught moving fast means being sloppy. These moments become invisible rules — and nobody has ever built a tool to find them.

That is what inspired MindRoots.

What it does

MindRoots is an AI belief archaeologist. It conducts a live voice interview using the Gemini Live API, asks layered Socratic questions until it hits the bedrock of your belief system, and then maps every belief back to its exact origin.

The output is a personal Belief Origin Document containing:

  • A written analysis of each belief and where it came from
  • AI-generated illustrations of the specific memories uncovered
  • A synthesized voice narration summarizing the entire journey

All delivered in one seamless multimodal flow: voice → reasoning → image → audio.

How we built it

MindRoots uses a three-agent ADK pipeline hosted on Google Cloud:

  1. Agent 1 — The Socratic Interviewer: Powered by Gemini Live API, this agent conducts a real-time voice conversation. It asks layered "why" questions, digging deeper with each answer until it reaches the original moment or person that planted each belief.

  2. Agent 2 — The Data Structurer: Takes the raw conversation transcript and converts it into a structured JSON belief graph stored in Cloud SQL. Each node captures the belief, its origin, who planted it, its age, and whether it still serves the user.

  3. Agent 3 — The Storyteller: Reads the belief graph and generates the Belief Origin Document — combining written analysis, Imagen-generated illustrations of specific memories, and an ElevenLabs voice narration of the full journey.

The backend is deployed on Google Cloud Run. Sensitive session data is encrypted and stored in Cloud SQL. The frontend is built in React.

Challenges we ran into

  • Designing the Socratic questioning logic so the agent knows when it has reached the true "bedrock" belief and stops drilling
  • Maintaining context across the three-agent handoff without losing emotional nuance from the original conversation
  • Generating AI illustrations that accurately reflect the specific memory described, not generic imagery
  • Keeping the Gemini Live API voice conversation feeling natural and human despite the deep psychological subject matter

Accomplishments that we're proud of

  • The first AI tool in the world designed specifically to excavate limiting beliefs
  • A fully seamless voice → map → document → audio pipeline with zero text-in/text-out
  • Demo reactions — people who tested it were genuinely moved seeing their own mental history mapped on screen

What we learned

  • Gemini Live API handles interruptions and natural speech far better than we expected
  • The ADK pipeline architecture made multi-agent coordination clean and reliable
  • Multimodal output (voice + image + text together) creates emotional impact that text alone cannot achieve

What's next for MindRoots

  • Therapist and coach dashboard to track client belief maps over time
  • Team version for organizations to identify shared limiting beliefs across departments
  • Longitudinal tracking — resurface old beliefs after 30/60/90 days to measure change
  • Integration with calendar and journaling tools to spot belief patterns in daily decisions

This project was built for the Gemini Live Agent Challenge. #GeminiLiveAgentChallenge

Built With

  • elevenlabs-tts
  • fastapi
  • gemini-live-api
  • google-adk-(agent-development-kit)
  • google-cloud-run
  • google-cloud-sql
  • imagen-(ai-image-generation)
  • python
  • react
  • vertex
Share this project:

Updates

posted an update

MindRoots — Full App Walkthrough + New Features

Watch the video

I’ve released a complete walkthrough video of MindRoots, showcasing the full experience along with the latest feature updates.


What’s New

Immersive Interface Audio

MindRoots now includes subtle, responsive audio to enhance the session experience.

  • Session Start Tone — Soft sound when a session begins
  • Microphone Feedback — Clear chimes when toggling mic on/off
  • Insight Discovery Cue — Gentle sound when new insights are uncovered
  • Processing Complete Sound — A satisfying cue when results are ready
  • Master Toggle — Easily enable or disable all interface sounds from Settings

App Branding & Icons

A complete visual identity upgrade across all platforms.

  • Full favicon suite for all browsers and devices
  • Add-to-home support for iOS and Android with proper icons
  • Configured PWA manifest for seamless mobile installation

Enhanced Belief Discovery

The AI now goes beyond core beliefs to map a richer psychological landscape.

  • Coping Strategies (green) — How you adapted to emotional challenges
  • Relational Patterns (pink) — Recurring dynamics in relationships
  • Internal Blockers (orange/red) — Thoughts and fears holding you back
  • Protective Mechanisms (teal) — Mental defenses built for safety

Each insight type includes a unique color and icon, making patterns instantly understandable.


Why This Matters

This update moves MindRoots toward a more immersive and human experience — combining voice, insight, visuals, and storytelling into one seamless journey.

Log in or sign up for Devpost to join the conversation.

posted an update

What's New in MindRoots

Immersive Interface Audio

MindRoots now plays subtle, atmospheric sounds during your sessions to make the experience feel alive and responsive.

  • Session Start Tone — A soft introductory sound plays the moment your AI session begins.
  • Microphone Feedback — Distinct chimes play when you switch your mic on or off, so you always know your recording state.
  • Insight Discovery Cue — Every time the AI uncovers a core belief, coping strategy, or relational pattern in your narrative, a gentle notification sound is played.
  • Processing Complete Sound — A satisfying cue plays when the backend finishes building your Belief Origin Tree.
  • Master Toggle — A new Interface Audio toggle is available in Settings, so you can disable these sounds at any time without affecting the AI therapist's voice.

App Branding & Icons

MindRoots now has a complete brand identity across all devices and platforms.

  • Full favicon suite installed — crisp icons appear correctly on every browser tab, bookmark bar, and device home screen.
  • iOS and Android home-screen add-to-home support with a proper Apple Touch icon.
  • PWA (Progressive Web App) manifest configured so the app installs correctly on mobile devices.

Belief Discovery Improvements

The AI interviewing engine can now detect and surface a richer variety of psychological insights, not just core beliefs.

  • Coping Strategies — Behaviours you adopted to manage inner pain (shown in green).
  • Relational Patterns — Recurring dynamics in your relationships (shown in pink).
  • Internal Blockers — Thoughts or fears that hold you back (shown in orange/red).
  • Protective Mechanisms — Defence strategies your psyche built for safety (shown in teal).
  • Each insight type has its own unique icon and colour so you can see the full landscape of your inner world at a glance.

Log in or sign up for Devpost to join the conversation.

posted an update

1. Cinematic Documentary Experience

Transforming the user journey into a structured, narrative-driven exploration of their own belief systems and roots.

1.1 The Narrative Three-Tier System

A specialized UI/UX workflow to guide the user through their history:

  • Header Navigation: A dynamic, timeline-driven header that allows users to jump between different "Chapters" of their life story.
  • The Sage Mode: A dedicated feature where the AI adopts a wise, mentorship-driven persona (Sage), providing deep insights and reflective feedback on the user's narrative.
  • Voice Narrative: An immersive audio experience that tells the user's story back to them using AI-generated speech.

2. Emotional Audio & Voice Synthesis

Enhancing Gemini TTS with emotional intelligence to create a truly empathetic connection.

2.1 Emotion-Based Static & Dynamic Audio

  • Sentiment Modulation: The AI narrator’s voice will automatically adjust its tone (pitch, speed, and inflection) based on the emotional weight of the content.
  • Dynamic Backgrounds: Subtle ambient soundscapes that shift according to the narrative's emotional tone (e.g., contemplative for deep reflection, uplifting for belief breakthroughs).
  • Gemini Audio Integration: Utilizing advanced Gemini audio capabilities to ensure high-fidelity, human-like narration.

3. Deep Belief Interviewing System

A proactive way to extract and visualize the "roots" of the user's personality and worldview.

3.1 Pattern Grabbing Interviews

  • Structured Elicitation: An interactive chat interface that uses psychological framework-based questioning to uncover deep-seated beliefs.
  • Pattern Recognition: Backend analysis that identifies recurring "Belief Patterns" across multiple interviews.

4. Enhanced User Insights

Expanding beyond simple journaling to provide a multidimensional view of the user.

  • Root Pattern Mapping: Connecting diverse interview responses to a core set of belief "roots."
  • Interactive Timeline: A visual history of how beliefs have evolved or been recognized over time.
  • Export to PDF: Advanced "Documentary Report" generation integrating all extracted insights.

Log in or sign up for Devpost to join the conversation.