Skip to content

The Generative UI SDK for React Native

Stop piping LLM text into static views. Give your agents the power to render native mobile components with type-safe props and no prompt engineering.

Beyond Text

Users don't want to read paragraphs from an AI. They want interactive UI that helps them take action. WireAI bridges the gap between LLM reasoning and native mobile experience.

Developer First

Integration takes under 3 minutes. Register a component, wrap your app in a provider, and use the hook. No custom parsers or complex prompt engineering required.

SDK Features

Component Registry: register any native component with Zod
LLM Agnostic: works with Ollama, OpenAI, Anthropic, Gemini
Zod Validation: strict prop validation for AI outputs
11 Built-in Components: ActionCard, ChipSelect, StatusCard, and more
useWireAIThread: managed conversation state and thread history
Hermes Optimized: tuned for the React Native runtime
Expo Go Support: start building without custom builds
Auto-Prompting: system prompt generated from your registry
Context Budgeting: efficient token management for local LLMs

Open Source Today

WireAI is MIT licensed and ready to use in your next React Native or Expo project.

View on GitHub

SDK FAQ

How does WireAI differ from a React Native boilerplate?

WireAI is an SDK, not a boilerplate. While a boilerplate provides a starting file structure, WireAI provides a runtime for generative UI. You can add WireAI to any existing React Native or Expo project to enable AI agent interactions within minutes.

Can I use WireAI with my own custom components?

Yes. That is the core feature. You register your existing React Native components with a name, description, and Zod schema. WireAI then gives your AI agent the ability to 'wire' those components into the conversation with validated props.

Does it support local LLMs like Ollama?

Absolutely. WireAI is built to work offline and locally. You can point it at an Ollama or LM Studio endpoint and run generative UI entirely on your local machine or device without an API key.