What problem does it solve? CopilotKit integrations fail in many opaque ways: the runtime is unreachable, agents never respond, SSE streams stall, frontend tools never execute, or transcription errors appear without context. This Skill provides a structured diagnostic workflow that maps symptoms to root causes using CopilotKit's error code systems and AG-UI event tracing. ## Core Features & Use Cases - Structured Diagnostic Workflow: A five-step process covering information gathering, error code lookup, AG-UI event tracing, root cause identification, and fix verification. - Complete Error Code Catalog: Reference documentation for V1 CopilotKitErrorCode, V2 CopilotKitCoreErrorCode, TranscriptionErrorCode, and Intelligence platform HTTP errors, each with causes and resolutions. - AG-UI Event Tracing: Documented event flow patterns for successful runs, tool calls, state sync, reasoning tokens, and error scenarios to compare against live SSE streams. - Use Case: Your CopilotChat connects but the agent never responds. Follow the "Agent Not Responding" workflow: verify the agent via the /info endpoint, inspect the SSE stream for RunErrorEvent, check the LLM API key, and match the error code against the catalog. ## Quick Start Ask the assistant to diagnose why your CopilotKit agent is not responding or why the runtime connection is failing, providing any error messages from the browser console or server logs.