LogoLogo

On-device LLMs in React Native

react-native-ai brings on-device LLMs capabilities to mobile React Native apps.

On-device LLM execution

Run large language models directly on mobile devices without requiring cloud infrastructure or internet connectivity.

Vercel AI SDK compatibility

Seamless integration with Vercel AI SDK, allowing you to use familiar functions like streamText and generateText with local models.

Apple Foundation Models

Native support for Apple's Foundation Models on iOS 26+ devices with Apple Intelligence, providing seamless integration with Apple's on-device AI capabilities.

MLC LLM Engine powered

Built on top of MLC LLM Engine, providing optimized performance and efficient model execution on mobile devices.

Cross-platform support

Full support for both iOS and Android platforms with platform-specific optimizations and configurations.

Privacy-first approach

All AI processing happens locally on the device, ensuring user data privacy and eliminating the need for cloud-based AI services.

Need React or React Native expertise you can count on?

We've spent years building full-stack, cross-platform apps and solving tough technical challenges.