1. Register a backend, then initialize
initialize is async here, unlike the native SDKs, and takes one options object.
2. Generate text
options.model names one
that is not on disk.
3. Stream it instead
4. Hold a conversation
generate takes either a string or a message array.
5. Add speech
A complete page
Next
Managing models
Download, load, and storage
Tool calling
Let the model call your functions
Voice agent
A full spoken conversation
Error handling
What throws and when