Skip to main content

Overview

VoltAgent accepts AI SDK language models directly. Configure an OpenAI-compatible AI SDK provider with AI Sonar’s /v1 base URL and pass the selected model into your agent.
Type: TypeScript agent frameworkPrimary Path: OpenAI-compatible Chat Completions through AI SDKSupport Confidence: Supported OpenAI-compatible path

Environment

Direct AI SDK Provider

Endpoint Notes

The direct AI SDK path is the most explicit setup. Use AI Sonar native Responses, Anthropic Messages, or Gemini endpoints only when your selected AI SDK provider/client is configured for that protocol.