Inspiration
We believe education should become more affordable. A child’s curiosity should be easy to follow, even when internet access is limited or English is still unfamiliar.
Wonder App helps children explore English with support from the language they know at home. Local AI makes everyday lessons possible without per-request cloud inference charges, while cloud intelligence helps when a question needs more capability.
What it does
Wonder App is a native iOS vocabulary tutor designed for children ages 4–9. Children explore 10,000 word entries across 100 categories, see pictures, hear pronunciation, and ask questions through speech or typing.
English remains central, with optional Spanish, Simplified Chinese, or Traditional Chinese support. Children can request explanations, example sentences, tiny stories, and deeper connections. Favorites, progress tracking, and a bilingual word game encourage continued practice.
Smart hybrid chooses between Apple’s on-device Foundation Models and Gemini through Firebase AI Logic. Short lessons stay local when the model is available. More complex questions, longer context, or an unavailable local model can use the cloud. Each response shows where it ran and why.
Families can also choose On-device only. If local AI cannot answer, clearly labeled saved word activities keep practice available.
How we built it
We built the iOS experience with Swift and SwiftUI. Local generation uses Apple Foundation Models. Cloud generation uses Firebase AI Logic’s Gemini adapter through the same LanguageModelSession interface, with Firebase App Check protecting requests.
The app combines on-device English speech recognition, Apple Translation, and selectable System, Pocket, or Kokoro speech synthesis. Word pictures load from Curilo’s HTTPS image service and are cached for faster reuse and offline viewing.
Favorites, progress, preferences, and translations persist locally. Conversation history stays in memory, and cloud requests include only a bounded recent conversation. Cancellation and navigation cleanup prevent late responses or audio from restarting after a child leaves a lesson.
Challenges we ran into
Hybrid teaching needs clear boundaries. We implemented fallback for ordinary model failures while ensuring that On-device only never uploads tutor questions. Content refusals redirect to a word activity rather than retrying through another model.
Multilingual speech also required careful handling of model downloads, memory, cancellation, and language support. Pocket’s Chinese path remains experimental.
Google Search grounding is implemented, but live validation returned quota errors. We therefore do not claim successful live discovery; unavailable requests show an honest recovery path.
Accomplishments that we’re proud of
We turned an engineering prototype into a complete learning experience, with bilingual lessons, pronunciation, conversations, saved words, progress, and play.
Recorded validation includes real on-device generation on an iPhone 15 Pro Max, live bilingual Firebase responses, automated routing and persistence checks, UI tests, and real local speech generation.
What we learned
Hybrid AI works best when model choice follows the learning task. A short word explanation often fits local inference well, while deeper questions can benefit from cloud help.
The surrounding experience matters just as much: clear routing, useful offline activities, responsive audio controls, and reliable cancellation help make AI understandable and usable.
What’s next
We plan to evaluate lessons with families and educators, improve multilingual pronunciation, expand reviewed starter content, and validate grounded discovery once quota is available.
Existing work / what was built during the hackathon
This project builds on Curilo’s existing Android vocabulary-learning concept, its 10,000-word dictionary, and existing word artwork infrastructure. During the hackathon, we built the native iOS learning experience, bilingual teaching, Firebase AI Logic and Apple Foundation Models routing, visible routing explanations, model fallback and refusal handling, speech interaction, favorites and progress, a bilingual word game, persistent image caching, and automated and live-device validation.