Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计提醒

copilotkit-integrationscopilotkit integrations 搜索

Agent Skill

copilotkit-integrations 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,525

周安装

144

GitHub Stars

22

下载量

1,129
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:copilotkit-integrations(copilotkit integrations 搜索)
来源仓库:https://github.com/copilotkit/skills
仓库路径:skills/copilotkit-integrations
安装命令:
npx skills add https://github.com/copilotkit/skills --skill copilotkit-integrations
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/copilotkit/skills --skill copilotkit-integrations

简介

用于查找 CopilotKit 与外部框架集成的详细指南,适合在 Codex、Claude、Cursor、Gemini CLI 中查询特定技术栈的对接方案。

  • 基于 AG-UI 协议提供双向通信支持,覆盖主流前端与后端集成场景。
  • 调用时输入目标框架名称或功能需求,返回配置示例与最佳实践;建议结合官方文档二次验证。
  • 安装前确认环境变量与 API 密钥已配置;部分工具需手动添加 .mcp.json 配置项。
  • copilotkit-integrations 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

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:

  1. Agent server -- your agent framework runs as an HTTP server (usually FastAPI/uvicorn for Python, or an Express/Next.js route for JS/TS)
  2. AG-UI adapter -- a framework-specific adapter translates between the agent's native interface and the AG-UI wire protocol
  3. CopilotKit runtime -- the Next.js API route creates a CopilotRuntime that connects to the agent via an AG-UI client class
  4. Frontend -- React components use useAgent, useFrontendTool, useRenderToolCall, and useHumanInTheLoop to interact with the agent

Supported Integrations

FrameworkLanguageAG-UI Client (route.ts)AG-UI Server AdapterAgent Port
LangGraph (Python, self-hosted)PythonLangGraphHttpAgent from @copilotkit/runtime/langgraphag-ui-langgraph (add_langgraph_fastapi_endpoint)8123
LangGraph (Python, LangGraph Platform)PythonLangGraphAgent from @copilotkit/runtime/langgraphLangGraph Platform (managed)varies
LangGraph (JS)TypeScriptLangGraphAgent from @copilotkit/runtime/langgraphBuilt into @copilotkit/sdk-js/langgraph8123
CrewAI FlowsPythonHttpAgent from @ag-ui/clientag-ui-crewai (add_crewai_flow_fastapi_endpoint)8000
CrewAI CrewsPythonCrewAIAgent from @ag-ui/crewaiag-ui-crewai (add_crewai_crew_fastapi_endpoint)8000
PydanticAIPythonHttpAgent from @ag-ui/clientpydantic-ai-slim[ag-ui] (agent.to_ag_ui())8000
MastraTypeScriptMastraAgent from @ag-ui/mastraBuilt into @ag-ui/mastraNext.js dev server
Google ADKPythonHttpAgent from @ag-ui/clientag-ui-adk (add_adk_fastapi_endpoint)8000
LlamaIndexPythonLlamaIndexAgent from @ag-ui/llamaindexllama-index-protocols-ag-ui (get_ag_ui_workflow_router)9000
AgnoPythonHttpAgent from @ag-ui/clientagno (built-in AgentOS with AGUI interface)8000
StrandsPythonHttpAgent from @ag-ui/clientag_ui_strands (create_strands_app)8000
Microsoft Agent Framework (Python)PythonHttpAgent from @ag-ui/clientagent-framework-ag-ui (add_agent_framework_fastapi_endpoint)8000
Microsoft Agent Framework (.NET)C#HttpAgent from @ag-ui/clientMicrosoft.Agents.AI.Hosting.AGUI.AspNetCore (MapAGUI)8000
A2A MiddlewarePython + TSA2AMiddlewareAgent from @ag-ui/a2a-middlewarePer-agent (mixed frameworks)9000-9002
MCP AppsTypeScriptBuiltInAgent with MCPAppsMiddlewareN/A (middleware on BuiltInAgent)3108

Decision Tree

Use this to pick the right integration:

Is your agent written in TypeScript/JavaScript?
  YES --> Is it a Mastra agent?
    YES --> Use Mastra integration (references/integrations/mastra.md)
    NO  --> Is it a LangGraph JS agent?
      YES --> Use LangGraph JS integration (references/integrations/langgraph.md, JS section)
      NO  --> Use BuiltInAgent with MCP Apps middleware or HttpAgent
  NO (Python or .NET) -->
    Which framework?
      LangGraph     --> references/integrations/langgraph.md
      CrewAI        --> references/integrations/crewai.md
      PydanticAI    --> references/integrations/pydantic-ai.md
      Google ADK    --> references/integrations/adk.md
      LlamaIndex    --> references/integrations/llamaindex.md
      Agno          --> references/integrations/agno.md
      Strands       --> references/integrations/strands.md
      MS Agent Fw   --> references/integrations/ms-agent-framework.md
      Multiple agents (A2A) --> references/integrations/a2a.md

Common AG-UI Protocol Patterns

Every integration shares these patterns on the frontend side.

CopilotKit Provider (layout.tsx)

import { CopilotKitProvider } from "@copilotkit/react";
import "@copilotkit/react/styles.css";

export default function RootLayout({ children }) {
  return (
    <CopilotKitProvider runtimeUrl="/api/copilotkit" agent="my_agent_name">
      {children}
    </CopilotKitProvider>
  );
}

The agent prop must match the key used in CopilotRuntime({agents: {my_agent_name:...}}).

API Route Pattern (route.ts)

All integrations create a Next.js API route at src/app/api/copilotkit/route.ts:

import {
  CopilotRuntime,
  ExperimentalEmptyAdapter,
  copilotRuntimeNextJSAppRouterEndpoint,
} from "@copilotkit/runtime";
import { NextRequest } from "next/server";
// Import the appropriate agent class for your framework

const runtime = new CopilotRuntime({
  agents: {
    my_agent: new SomeAgentClass({ url: "http://localhost:8000/" }),
  },
});

export const POST = async (req: NextRequest) => {
  const { handleRequest } = copilotRuntimeNextJSAppRouterEndpoint({
    runtime,
    serviceAdapter: new ExperimentalEmptyAdapter(),
    endpoint: "/api/copilotkit",
  });
  return handleRequest(req);
};

Shared State (useAgent)

const { state, setState } = useAgent<{ proverbs: string[] }>({
  name: "my_agent",
  initialState: { proverbs: [] },
});

Frontend Tools (useFrontendTool)

useFrontendTool({
  name: "setThemeColor",
  parameters: [
    { name: "themeColor", description: "Hex color value", required: true },
  ],
  handler({ themeColor }) {
    setThemeColor(themeColor);
  },
});

Generative UI (useRenderToolCall)

useRenderToolCall({
  name: "get_weather",
  description: "Get weather for a location.",
  parameters: [{ name: "location", type: "string", required: true }],
  render: ({ args }) => <WeatherCard location={args.location} />,
}, []);

Human in the Loop (useHumanInTheLoop)

useHumanInTheLoop({
  name: "go_to_moon",
  description: "Go to the moon on request.",
  render: ({ respond, status }) => (
    <MoonCard status={status} respond={respond} />
  ),
}, []);

Agent-Side State Management

On the agent side, shared state is managed differently per framework, but the protocol is the same -- agents emit STATE_SNAPSHOT events to update the frontend. See each integration guide for framework-specific patterns.

Key Packages

Frontend (all integrations):

  • @copilotkit/react -- hooks (useAgent, useFrontendTool, useRenderToolCall, useHumanInTheLoop) and UI components (CopilotSidebar, CopilotPopup)
  • @copilotkit/runtime -- server runtime (CopilotRuntime, ExperimentalEmptyAdapter)

AG-UI client classes (choose one per integration):

  • @copilotkit/runtime/langgraph -- LangGraphAgent, LangGraphHttpAgent
  • @ag-ui/client -- HttpAgent (generic, works with any AG-UI server)
  • @ag-ui/crewai -- CrewAIAgent
  • @ag-ui/mastra -- MastraAgent
  • @ag-ui/llamaindex -- LlamaIndexAgent
  • @ag-ui/a2a-middleware -- A2AMiddlewareAgent
  • @ag-ui/mcp-apps-middleware -- MCPAppsMiddleware

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.92%
按下载量换算417

Claude

28.63%
按下载量换算323

Cursor

18.92%
按下载量换算214

Gemini CLI

7.94%
按下载量换算90

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills