Inspiration

I studied Polymer Science and Technology, and I wanted to build something useful for materials science students, researchers, and engineers.

Finding relevant scientific papers and understanding the research across multiple studies can take time. I wanted to make that process simpler.

That's how Matéria started.

What it does

Matéria is a native iOS research app focused on polymer science and materials engineering.

Users can enter a research question, discover relevant scientific papers, and generate a research summary based on the retrieved literature.

The app uses OpenAlex to find real scientific publications and provides an overview, key findings, research gaps, and links to the original papers.

It also uses on-device AI to suggest more specific research queries as users type, with an optional cloud fallback when local AI isn't available.

How we built it

I built Matéria using SwiftUI and Google Antigravity.

The main technologies are:

Firebase AI Logic: Hybrid inference using Apple Foundation Models for on-device search suggestions and Gemini for cloud fallback.

Gemini 3.5 Flash-Lite: Analyzes retrieved scientific abstracts and generates structured research summaries.

OpenAlex API: Retrieves real scientific publications, authors, citation counts, and DOI links.

Swift 6: Handles asynchronous requests, caching, and concurrency.

The app uses Firebase App Check to protect cloud AI requests.

Challenges we ran into

One challenge was getting Firebase AI Logic working reliably. I initially encountered HTTP 503 timeouts with Gemini 3.8 Flash. After testing different models, I switched to Gemini 3.5 Flash-Lite, which worked reliably.

I also encountered OpenAlex rate limiting. The app initially treated every HTTP 429 response as daily quota exhaustion. I fixed this by distinguishing temporary throttling from daily limits and adding caching and retries.

Another challenge was keeping the research summaries concise, accurate, and grounded in the retrieved abstracts.

Accomplishments that we're proud of

Built a working native iOS research app.

Integrated Firebase AI Logic hybrid inference.

Connected real scientific literature through OpenAlex.

Created evidence-based summaries with source references.

Built a simple, consistent design for Matéria.

Added caching, rate-limit handling, and automated tests.

What we learned

This project helped me understand how on-device and cloud AI can work together in one application.

I also learned more about Firebase AI Logic, Apple Foundation Models, scientific research APIs, and building reliable AI features.

One important lesson was that AI-generated research needs verifiable sources and clear limitations, especially when dealing with scientific information.

What's next for Matéria

I want to improve scientific research accuracy, explore material property comparisons, and make it easier to navigate research findings.

I'd also like to get feedback from materials science students and researchers to understand which features would genuinely help their work.

Built With

Share this project:

Updates

Submission history