Introduction

Production-ready AI Copilots for any product. Connect any LLM, deploy on your infrastructure, own your data. Built for speed and control.

3 lines of code

Build AI Copilots for Your Product

Production-ready AI Copilots for any product. Connect any LLM, deploy on your infrastructure, own your data. Built for speed and control.

View examples

What Makes This Different?

Prebuilt Copilot UI

Production-ready chat components. Streaming, markdown, code highlighting, and file attachments included.

Tool Execution

Define tools with Zod schemas. AI calls them, you handle the result. Full agentic loop support.

Plug & Play

Works out of the box. No configuration headaches. Just React hooks.

Multi-LLM

OpenAI, Anthropic, Google, xAI, and more. Swap providers without changing your code.


Packages

PackageWhat it does
@yourgpt/copilot-sdkReact hooks, provider, UI components, and core utilities
@yourgpt/llm-sdkMulti-provider LLM integration + streaming

Quick Install

pnpm add @yourgpt/copilot-sdk @yourgpt/llm-sdk @anthropic-ai/sdk
npm install @yourgpt/copilot-sdk @yourgpt/llm-sdk @anthropic-ai/sdk
bun add @yourgpt/copilot-sdk @yourgpt/llm-sdk @anthropic-ai/sdk

For OpenAI, Google, or xAI, use openai package instead of @anthropic-ai/sdk. See all providers →


How It Works

User sends message → Your API route → LLM Provider

              UI ← Stream response ← AI responds or calls tools

                         Tool executes → Result sent back → AI continues

You define tools, we handle the rest.



Explore

On this page