Skip to content

Releases: YourGPT/copilot-sdk

Copilot SDK

03 Feb 14:03

Choose a tag to compare

Copilot SDK v2.0.0 🎊

We're excited to announce the first public release of the Copilot SDK. While internally we've iterated through many versions, this marks our official debut to the developer community.

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

Packages

Package Version npm
@yourgpt/copilot-sdk 2.0.0 npm
@yourgpt/llm-sdk 2.0.0 npm

Installation

npm install @yourgpt/copilot-sdk @yourgpt/llm-sdk

Key Features

Tools

  • Define custom frontend & backend tools with Zod validation
  • Build Generative UIs - render React components from AI responses
  • Built-in tools for screenshot capture, console logs & network inspection

Multi-Provider LLM Support

OpenAI, Anthropic, Google Gemini, xAI Grok, OpenRouter, and more.

Prebuilt UI

  • Production-ready chat components with streaming
  • Markdown rendering with syntax highlighting
  • Thread/conversation management
  • File attachments & multimodal support
  • Prebuilt themes: Claude, Vercel, Supabase, Linear, Twitter, PostHog, Catppuccin, Modern Minimal

Context Awareness

  • useAIContext / useAIContexts hooks
  • Agentic loop (multi-step reasoning)

What's New

  • Enhanced Smart AI Context Tools with improved intent detection
  • Multi-provider LLM SDK with unified streaming API
  • Zod-based parameter validation
  • React 18 & 19 support
  • Shadcn & Tailwind v4 compatibility

Resources

Examples