What problem does it solve? CopilotKit v2 is a ground-up rewrite built on the AG-UI protocol, so upgrading from v1 involves renamed hooks, consolidated packages, removed service adapters, and a new runtime architecture. This Skill guides that migration systematically so no deprecated API is missed. ## Core Features & Use Cases - API Deprecation Mapping: Maps every v1 hook, component, runtime class, and type to its v2 replacement, including renames like useCopilotAction to useFrontendTool and CopilotKit to CopilotKitProvider. - Runtime Migration Guidance: Converts v1 service-adapter-based CopilotRuntime setups to v2 agent-based configurations using BuiltInAgent, AbstractAgent, and createCopilotEndpoint. - Live Documentation Lookup: Includes an MCP server with search-docs and search-code tools for querying current CopilotKit v2 API signatures during migration. - Use Case: A team with a Next.js app using useCopilotAction, useCoAgent, and OpenAIAdapter can follow the step-by-step workflow to audit imports, replace deprecated hooks with Zod-based v2 equivalents, and reconfigure the runtime for the AG-UI protocol. ## Quick Start Migrate my CopilotKit v1 codebase to v2 by auditing all @copilotkit imports and replacing deprecated hooks and runtime configuration.