Skip to main content
Vibes accepts any Vercel AI SDK LanguageModel instance as its model option. This means every provider that ships a Vercel AI SDK adapter - Anthropic, OpenAI, Google, Groq, Mistral, Ollama, and custom OpenAI-compatible endpoints - works with Vibes out of the box. The model is passed at agent construction and can be overridden per run. For installation and initial setup, see Getting Started.

Architecture

Provider quickstarts

Install the provider package for your chosen model, set the API key environment variable, and pass the model instance to Agent.
All provider packages follow the Vercel AI SDK spec. Install the provider package for your chosen model, set the API key env var, and pass the model instance to Agent.

Anthropic

OpenAI

Google Gemini

Groq

Mistral

Ollama (local)

OpenAI-compatible (custom endpoint)

Any service that exposes an OpenAI-compatible REST API can be used via createOpenAI with a custom baseURL:

ModelSettings

ModelSettings lets you tune the model’s sampling behavior. Pass it at agent construction to apply to every run, or override it per run via RunOptions.

Overriding the model per run

Use agent.override({ model }) to swap the model for a single run without modifying the agent. This is useful for routing different prompts to different models - for example, a cheaper model for classification and an expensive model for generation:

Install

Set up providers and environment variables

Agents

Full Agent constructor options reference