镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[bot] Instrument CopilotKit (383,168 weekly downloads) #2347

Description

@braintrust-bot

Summary

CopilotKit publishes an official TypeScript agent runtime, @copilotkit/runtime on npm (with @copilotkit/react-core providing the client-side execution hooks), for building in-app AI copilots and agents. CopilotRuntime owns an agent registry, wires an AgentRunner, and executes agents (including LangGraph, CrewAI, and Mastra-backed agents) in response to runAgent() calls. This repository has zero instrumentation for any CopilotKit surface — no wrapper, no diagnostics channel, no plugin, no auto-instrumentation config, no e2e scenario.

What instrumentation is missing

Execution surfaces exposed by CopilotKit that are not instrumented:

SDK Surface Description
CopilotRuntime + InMemoryAgentRunner (@copilotkit/runtime) Server-side agent lifecycle management, request routing, and execution against registered agents
copilotkit.runAgent({ agent }) (@copilotkit/react-core, via useCopilotKit) Triggers agent execution programmatically
agent.runAgent() (on an AbstractAgent obtained via useAgent) Direct agent-run execution with message/state management
LLM adapter execution inside CopilotRuntime (e.g. BasicAgent({ model, prompt })) Model-call execution path for the default in-runtime agent

CopilotKit's runtime is a standalone orchestrator (AG-UI protocol bridge) and does not depend on openai or any already-instrumented package directly — it can back onto LangGraph/CrewAI/Mastra agents or raw model calls, but the agent-run span itself (lifecycle, state sync, streaming events) has no equivalent in existing instrumentation.

No coverage in any instrumentation layer:

  • No wrapper function (e.g. wrapCopilotKit()) in js/src/wrappers/
  • No channel definitions or plugin in js/src/instrumentation/plugins/
  • No auto-instrumentation config in js/src/auto-instrumentations/configs/
  • No e2e test scenario under e2e/scenarios/
  • Repo-wide grep for copilotkit (case-insensitive) returns zero matches anywhere in the repo

Weekly downloads

Weekly downloads: 383,168 (as of 2026-10-14; window 2026-10-06 to 2026-10-12; source https://api.npmjs.org/downloads/point/last-week/@copilotkit/runtime)

Braintrust docs status

not_found. CopilotKit does not appear anywhere on the Braintrust integrations index — https://www.braintrust.dev/docs/integrations — which lists agent frameworks (Mastra, LangGraph, Google ADK, Strands, etc.) with no entry for CopilotKit.

Upstream references

Braintrust docs sources checked

Local files inspected

  • js/src/wrappers/*.ts — full directory listing — no copilotkit.ts wrapper
  • js/src/instrumentation/plugins/*.ts — full directory listing — no CopilotKit channels or plugin file
  • js/src/auto-instrumentations/configs/*.ts — full directory listing (33 files) — no CopilotKit config entry
  • e2e/scenarios/*copilot* — no matching scenario directories
  • Repo-wide grep for fal-ai|copilotkit|semantic-kernel — no real matches for copilotkit

Activity

  1. changed the title [-][bot] Instrument CopilotKit (322,738 weekly downloads)[/-] [+][bot] Instrument CopilotKit (314,078 weekly downloads)[/+] on Sep 7, 2026
  2. github-actions commented on Oct 14, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had recent activity. If this issue is still relevant, please leave a comment or remove the stale label. Thank you for your contributions!

  3. changed the title [-][bot] Instrument CopilotKit (314,078 weekly downloads)[/-] [+][bot] Instrument CopilotKit (383,168 weekly downloads)[/+] on Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions