Build AI-powered apps with ease

A powerful TypeScript library for integrating AI capabilities into your applications. Streaming, sockets, HTTP endpoints, React hooks, and more.

ConversationPage.tsx
route.ts

Everything you need to build AI-powered apps

build-ai provides all the tools and utilities needed to create powerful AI experiences.

TypeScript-First

Built from the ground up for TypeScript developers. Enjoy full type safety and IntelliSense support.

Streaming Support

First-class support for streaming responses from AI models, with built-in error handling.

React Hooks

Drop-in React hooks for easy integration in your React applications. Works with Next.js and React Native.

Multi-Provider

Support for OpenAI, Anthropic, Google, and other AI providers with a consistent API.

Advanced UI Components

Beautiful, customizable UI components for chat interfaces, completion inputs, and more.

Serverless Ready

Designed to work in serverless environments like Vercel Edge Functions and Cloudflare Workers.

Ready to get started?