Documentation Index
Fetch the complete documentation index at: https://docs.observ.dev/llms.txt
Use this file to discover all available pages before exploring further.
Step 1: Get Your API Key
Create an account and get your API key from Settings → API Keys.
Step 2: Install Packages
Install the Observ SDK, Vercel AI SDK, and your chosen provider SDKs:
npm install observ-sdk ai
Then install one or more provider SDKs:
OpenAI
Anthropic
Google
Mistral
Cohere
npm install @ai-sdk/openai
Also works for xAI and OpenRouter (they use OpenAI-compatible APIs).npm install @ai-sdk/anthropic
For Claude models including Sonnet 4.5 and Opus 4.npm install @ai-sdk/google
For Gemini models including Gemini 1.5 Pro.npm install @ai-sdk/mistral
For Mistral models including Mistral Large.npm install @ai-sdk/cohere
For Cohere models including Command R+.
Complete Installation
Here’s the complete installation for all providers:
npm install observ-sdk ai
# Install providers (pick one or more)
npm install @ai-sdk/openai # OpenAI, xAI, OpenRouter
npm install @ai-sdk/anthropic # Anthropic (Claude)
npm install @ai-sdk/google # Google (Gemini)
npm install @ai-sdk/mistral # Mistral
npm install @ai-sdk/cohere # Cohere
Yarn / pnpm / Bun
yarn add observ-sdk ai @ai-sdk/openai
bash pnpm add observ-sdk ai @ai-sdk/openai
bun add observ-sdk ai @ai-sdk/openai
Next Steps
Usage Guide
Learn how to use the Vercel AI SDK with Observ
Overview
Back to Vercel AI SDK overview