Skip to content

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.

Terminal window
bun add @hellohelen-ai/goliath ai zod
bun add @react-native-ai/apple # on device
Package Range
ai ^7.0.0
zod ^4.0.0
Node >=20

@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.

Every release is published from CI over OIDC and carries a provenance attestation. Verify it:

Terminal window
npm audit signatures