@built-in-ai/core
Overview
Browser Built-in AI model provider for Vercel AI SDK v6 (Chrome & Edge)
The @built-in-ai/core package enables you to leverage Chrome and Edge's native AI models directly in the browser with seamless integration with the Vercel AI SDK v6.
Key Features
- Zero-latency inference: Models run locally in the browser
- Privacy-first: Data never leaves the user's device
- Offline capable: Works without internet after initial model download
- Seamless fallback: Easy integration with server-side models
- Agent support: Build AI agents with tool calling support
What's Included
- Language Models: Text generation with Gemini Nano (Chrome) or Phi Mini (Edge)
- Text Embeddings: Generate embeddings using browser-native models
- Multimodal Support: Image and audio input (Chrome only)
- Tool Calling: Function calling with JSON format support
- Structured Output: Generate validated JSON objects
- Agents: Multi-step autonomous workflows