Use when wiring an external agent framework (LangGraph, CrewAI, PydanticAI, Mastra, ADK, LlamaIndex, Agno, Strands, Microsoft Agent Framework, or others) into…
CopilotKit Integrations 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. Useful for looking up framework-specific integration details. 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. Overview CopilotKit connects to external agent frameworks through the AG-UI (Agent-UI) protocol -- a streaming protocol that enables bidirectional communication between a frontend CopilotKit application and a backend agent. Every integration follows the same architectural pattern: Agent server -- your agent framework runs as an HTTP server (usually FastAPI/uvicorn for Python, or an Express/Next.js route for JS/TS) AG-UI adapter -- a framework-specific adapter translates between the agent's native interface and the AG-UI wire protocol CopilotKit runtime -- the Next.js API route creates a CopilotRuntime that connects to the agent via an AG-UI client class Frontend -- React components use useAgent, useFrontendTool, useRenderToolCall, and useHumanInTheLoop to interact with the agent Supported Integrations
don't have the plugin yet? install it then click "run inline in claude" again.