[bot] Instrument CopilotKit (383,168 weekly downloads)
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 45/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- Calme
- Stack technique
- typescript
- Domaine
- devtools
Piste de recherche
Commencez par examiner les modèles existants dans js/src/wrappers/.ts, js/src/instrumentation/plugins/.ts et js/src/auto-instrumentations/configs/*.ts, puis inspectez e2e/scenarios/ pour connaître les conventions de couverture de l'instrumentation. Le travail est terminé lorsque CopilotKit runtime et l'exécution des agents disposent chacun d'une couverture de l'instrumentation, d'une configuration et d'un scénario e2e correspondants.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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()) injs/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
- npm package: https://www.npmjs.com/package/@copilotkit/runtime
- Official docs: https://docs.copilotkit.ai
- CopilotRuntime reference: https://docs.showcase.copilotkit.ai/backend/copilot-runtime
- Official SDK GitHub: https://github.com/CopilotKit/CopilotKit
Braintrust docs sources checked
Local files inspected
js/src/wrappers/*.ts— full directory listing — nocopilotkit.tswrapperjs/src/instrumentation/plugins/*.ts— full directory listing — no CopilotKit channels or plugin filejs/src/auto-instrumentations/configs/*.ts— full directory listing (33 files) — no CopilotKit config entrye2e/scenarios/*copilot*— no matching scenario directories- Repo-wide grep for
fal-ai|copilotkit|semantic-kernel— no real matches forcopilotkit
- Langage dominant
- TypeScript
- Étoiles
- 29
- Forks
- 21
- Merge moyen
- 1 j 12 h
- PR mergées (30 j)
- 70
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de braintrustdata/braintrust-sdk-javascript
-
High TypeScript checking cost from generated Zod 3 schemasPeut-être pris @lforst l’a pris il y a 12 jours. Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 22/100
braintrustdata/braintrust-sdk-javascript#2624 · 1 commentaire · 1 personne assignée ·
Les mainteneurs répondent en général sous 1 jour
-
[bot] Instrument Luma AI (17,324 weekly downloads)Peut-être pris @karthiksenv l’a pris il y a 12 jours. Ouvertetypescript
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
braintrustdata/braintrust-sdk-javascript#2578 ·
Les mainteneurs répondent en général sous 1 jour
-
[bot] Instrument Letta Agent SDK (87,205 weekly downloads)Peut-être pris @karthiksenv l’a pris il y a 15 jours. Ouvertetypescript
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
braintrustdata/braintrust-sdk-javascript#2577 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
braintrustdata/braintrust-sdk-javascript#2527 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 65/100
braintrustdata/braintrust-sdk-javascript#2526 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de braintrustdata/braintrust-sdk-javascript
Issues similaires
-
New icon: `filter-clear`Ouvertecalcite-ui-icons enhancement impact - p3 - not time sensitive needs triage
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
Esri/calcite-design-system#15467 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
diegosouzapw/OmniRoute#18390 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
-
Difficulté 1/5 1-3 heures Accessibilité débutants 86/100
guilhermerodz/input-otp#157 · 1 commentaire ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
davidjerleke/embla-carousel#1414 ·
Les mainteneurs répondent en général sous 4 jours