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.
npx skills add https://github.com/copilotkit/skills --skill copilotkit-develop