Installation
Goliath has two peer dependencies: ai (the AI SDK) and zod. It adds no other runtime
dependency. On a phone, you also need a provider for the on-device model.
bun add @hellohelen-ai/goliath ai zodbun add @react-native-ai/apple # on devicenpm i @hellohelen-ai/goliath ai zodnpm i @react-native-ai/apple # on devicepnpm add @hellohelen-ai/goliath ai zodpnpm add @react-native-ai/apple # on deviceVersions
Section titled “Versions”| Package | Range |
|---|---|
ai |
^7.0.0 |
zod |
^4.0.0 |
| Node | >=20 |
On the device
Section titled “On the device”@react-native-ai/apple is a native module, so Expo Go cannot load it. You need a development
build and Apple Intelligence on iOS 26 or later. A compatible iOS simulator can also use its
Apple silicon Mac’s model when macOS 26 or later and Apple Intelligence are ready.
See the example app for a working Expo setup.
Provenance
Section titled “Provenance”Every release is published from CI over OIDC and carries a provenance attestation. Verify it:
npm audit signatures