New advertisers: 50% off your first month with code FIRSTMONTHSee slots
copilotkit avatar

Copilotkit Setup

copilotkit-setup walks through adding CopilotKit to existing projects or bootstrapping new ones, from framework detection onward.

skills.sh installs
621
GitHub stars
40
last updated
Jun 3, 2026
View on GitHub

What it does

  • Covers framework detection, package installation, runtime wiring, provider setup, and a first working chat integration
  • Includes Next.js App Router, Next.js Pages Router, Vite, and Angular signal files, plus Express and Hono server examples
  • Requires Node.js 18 or later and an AI provider key (OpenAI, Anthropic, or Google) before setup begins
  • Designed for developers adding an agent chat UI to a React frontend with a Next.js, Express, or Hono backend

Install

$ npx -y skills add copilotkit/skills --skill copilotkit-setup -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

CopilotKit Setup

Prerequisites

Live Documentation (MCP)

This plugin includes an MCP server (copilotkit-docs) that provides search-docs and search-code tools for querying live CopilotKit documentation and source code.

  • Claude Code: Auto-configured by the plugin's .mcp.json -- no setup needed.
  • Codex: Requires manual configuration. See the copilotkit-debug skill for setup instructions.

Environment

Before starting setup, verify:

  1. Node.js >= 18 (required for fetch globals used by the runtime)
  2. An AI provider API key (one of: OPENAI_API_KEY, ANTHROPIC_API_KEY, GOOGLE_API_KEY)
  3. A React-based frontend (Next.js App Router, Next.js Pages Router, Vite + React, or Angular)
  4. A backend capable of running the runtime (same Next.js app via API routes, or a standalone Express/Hono server)

Framework Detection

Before generating any code, detect the project's framework by checking files in the project root. See references/framework-detection.md for the full decision tree.

Quick summary:

Details

Repository
github.com/copilotkit/skills
Categories
AI Agents & LLM Apps, Frontend & UI Code
First seen
Jun 3, 2026

More from copilotkit/skills

All 9

Similar to Copilotkit Setup

More AI Agents & LLM Apps