This hands-on workshop teaches developers how to build privacy-first, on-device AI applications using React Native and Apple’s Foundation Models. Participants will implement real-world LLM features like text generation, streaming responses, and structured outputs with type-safe schemas.
Goals:
- Understand on-device LLM fundamentals and trade-offs
- Set up React Native with Apple’s new Foundation Models
- Build a sample app using text generation and streaming responses
- Integrate structured outputs and experiment with schema validation (Zod)
- Explore advanced topics like adapters, privacy, and Vercel AI integration
This workshop has been presented at React Advanced 2025, check out the latest edition of this React Conference.