copilotkit avatar

Copilotkit Develop

If you're building AI chat features into a React app, this gets you up and running with CopilotKit v2's full stack. You'll wire up a runtime on the server (Hono or Express), drop the provider and a chat component into your frontend, then register tools the agent can call in the browser with useFrontendTool. The hook library covers the practical stuff: sharing app state with useAgentContext, handling agent interrupts when they need human input, and rendering custom UI for tool calls as they execute. It includes an MCP server for live docs, which is helpful since you're juggling three layers (runtime, core, React) built on the AG-UI protocol. Solid for copilot-style interfaces where the agent needs to read and act on frontend state.

skills.sh installs
615
GitHub stars
39
last updated
Jun 3, 2026

Install

$ npx -y skills add copilotkit/skills --skill copilotkit-develop --agent claude-code

Installs into .claude/skills of the current project.

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)

Sponsors

Details

Repository
github.com/copilotkit/skills
First seen
Jun 3, 2026

More from copilotkit/skills

All 9

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs