Install the framework
- Deno
- Node.js
Add the framework to your project:Then add it to your
deno.json import map along with your provider:How it fits together
Vibes is a thin orchestration layer over the Vercel AI SDK. You install Vibes once and choose any supported AI provider separately.Choose a provider
Install the provider package that matches your preferred AI service:| Provider | Package | Install (Deno) | Env Variable |
|---|---|---|---|
| Anthropic (Claude) | @ai-sdk/anthropic | deno add npm:@ai-sdk/anthropic | ANTHROPIC_API_KEY |
| OpenAI (GPT) | @ai-sdk/openai | deno add npm:@ai-sdk/openai | OPENAI_API_KEY |
| Google (Gemini) | @ai-sdk/google | deno add npm:@ai-sdk/google | GOOGLE_GENERATIVE_AI_API_KEY |
| Groq | @ai-sdk/groq | deno add npm:@ai-sdk/groq | GROQ_API_KEY |
| Mistral | @ai-sdk/mistral | deno add npm:@ai-sdk/mistral | MISTRAL_API_KEY |
| Ollama (local) | ollama-ai-provider | deno add npm:ollama-ai-provider | (none) |
| OpenAI-compatible | @ai-sdk/openai | deno add npm:@ai-sdk/openai | varies |
Set your API key
Export your provider’s API key as an environment variable before running your agent:Never commit API keys to source control. Use a
.env file locally and your deployment platform’s secret management in production.Verify the install
Createhello.ts and run it to confirm everything is working:
- Deno
- Node.js
Agent skill (Claude Code)
If you use Claude Code, install the@vibesjs/sdk agent skill so your coding assistant can write idiomatic framework code without looking up docs: