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

Copilotkit Develop

Frontend-focused guide for building AI chat features and agent integrations with CopilotKit v2 runtime and React hooks.

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

What it does

  • Covers runtime setup, provider wiring, chat UI components, and frontend tool registration for CopilotKit v2 applications
  • Includes 7 workflow steps and quick-reference tables for 14 React hooks, 8 components, and 6 runtime exports
  • Explains the three-layer architecture: @copilotkit/runtime on the server, @copilotkit/core for shared state, and @copilotkit/react for the client
  • Designed for developers adding agent chat, human-in-the-loop interrupts, and app context sharing to React and server apps

Install

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

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

Files

CopilotKit v2 Development Skill

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.

Architecture Overview

CopilotKit v2 is built on the AG-UI protocol (@ag-ui/client / @ag-ui/core). The stack has three layers:

  1. Runtime (@copilotkit/runtime) -- Server-side. Hosts agents, handles SSE/Intelligence transport, middleware, transcription.
  2. Core (@copilotkit/core) -- Shared state management, tool registry, suggestion engine. Not imported directly by apps.
  3. React (@copilotkit/react) -- Provider, chat components, hooks. Re-exports everything from @ag-ui/client so apps need only one import.

Workflow

1. Set Up the Runtime (Server)

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 Develop

More AI Agents & LLM Apps