Framework Integrations
Native integrations for your favorite frameworks. Use Gerbil anywhere JavaScript runs.
Vercel AI SDK
Drop-in provider for generateText, streamText, and structured output. The recommended way to use Gerbil in production apps.
Next.js
API route handlers, React Server Components, and client hooks for Next.js 13+ App Router.
React
Client-side hooks for generation, streaming, and chat interfaces. Works with any React framework.
Express
Middleware and route handlers for Express.js applications. Mount all AI routes with a single line.
Hono
Edge-ready middleware for Hono. Works with Cloudflare Workers, Deno, Bun, and Node.js.
LangChain
LLM and embeddings for LangChain. Build chains, agents, and RAG pipelines with local models.
LlamaIndex
LLM and embedding integration for LlamaIndex. Build RAG applications with local models.
Don't see your framework?
Gerbil works with any JavaScript framework. Check out the Getting Started guide to use the core API directly.
Want to contribute an integration? Open a PR on GitHub →