Skip to main content
Vibes runs on Deno and Node.js. Install the framework, pick a provider, set your API key, and you’re ready to build agents.

Install the framework

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:
These 7 are the most popular choices. Vibes supports 50+ providers via the Vercel AI SDK - see the full provider list.

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

Create hello.ts and run it to confirm everything is working:

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:
See the Agent Skill page for global install, manual setup, and details on how it works.

Troubleshooting

Wrong registry: npm:@vibesjs/sdk does nothing

If you import from npm:@vibesjs/sdk instead of jsr:@vibesjs/sdk, the import will resolve silently but produce no useful exports — the npm name is a placeholder stub. Fix: Always use the JSR registry:

Zod version mismatch (Zod v3 vs v4)

Vibes requires Zod v4. If you install zod without a version constraint you may get Zod v3, which uses a different API. Symptoms include TypeScript errors on z.object, z.string, etc. Fix:

Deno cache corruption

If Deno reports an empty module or missing export for a package that exists, its local cache entry may be corrupted. This can happen after a failed download. Detect: The import resolves but the module exports nothing (e.g. import { z } from "zod" gives z is undefined). Fix: Clear the corrupted cache entry and re-run:
Replace <package> and <version> with the affected package (e.g. zod/4.0.0).

Next steps

Hello World Tutorial

Build a complete weather agent with tools, structured output, and tests in one progressive tutorial.

Introduction

Learn the design philosophy and why Vibes was built.