You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[bot] LangGraph Platform API client (@langchain/langgraph-sdk) not instrumented — no tracing for cloud agent execution (4,139,284 weekly downloads) #2199
@langchain/langgraph-sdk is a dedicated HTTP client SDK for the LangGraph Platform (LangGraph Cloud / hosted agent service). It is a completely separate npm package from the @langchain/langgraph local framework and from @langchain/core. As of v1.9.25 it is actively maintained with its own release cadence.
This package is not instrumented today. The existing langchain.ts config only hooks into @langchain/core's CallbackManager (the local framework callback system). Calls made through @langchain/langgraph-sdk bypass that system entirely.
@langchain/langgraph-sdk makes direct HTTP requests (via its own BaseClient) to the LangGraph Platform REST API. It does not instantiate @langchain/core models or invoke CallbackManager. The two packages share only a namespace prefix, not a runtime dependency path.
Braintrust Docs Status
The Braintrust LangGraph integration page covers only the local framework (@langchain/langgraph + @langchain/core callbacks). There is no mention of @langchain/langgraph-sdk or LangGraph Platform/Cloud. Users running agents on LangGraph Platform through the SDK will see no spans in Braintrust today.
Suggested Approach
Instrument BaseClient or the specific streaming/run methods in @langchain/langgraph-sdk:
Entry file to target:dist/root.cjs or dist/index.cjs (CommonJS) / dist/root.js (ESM) — the file where Client, RunsClient, and ThreadsClient are defined
changed the title [-][bot] LangGraph Platform API client (@langchain/langgraph-sdk) not instrumented — no tracing for cloud agent execution[/-][+][bot] LangGraph Platform API client (@langchain/langgraph-sdk) not instrumented — no tracing for cloud agent execution (3,372,359 weekly downloads)[/+]on Jul 30, 2026
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!
changed the title [-][bot] LangGraph Platform API client (@langchain/langgraph-sdk) not instrumented — no tracing for cloud agent execution (3,372,359 weekly downloads)[/-][+][bot] LangGraph Platform API client (@langchain/langgraph-sdk) not instrumented — no tracing for cloud agent execution (3,279,492 weekly downloads)[/+]on Sep 7, 2026
changed the title [-][bot] LangGraph Platform API client (@langchain/langgraph-sdk) not instrumented — no tracing for cloud agent execution (3,279,492 weekly downloads)[/-][+][bot] LangGraph Platform API client (@langchain/langgraph-sdk) not instrumented — no tracing for cloud agent execution (4,139,284 weekly downloads)[/+]on Oct 14, 2026
Activity
[-][bot] LangGraph Platform API client (@langchain/langgraph-sdk) not instrumented — no tracing for cloud agent execution[/-][+][bot] LangGraph Platform API client (@langchain/langgraph-sdk) not instrumented — no tracing for cloud agent execution (3,372,359 weekly downloads)[/+]github-actions commentedon Aug 30, 2026
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!
[-][bot] LangGraph Platform API client (@langchain/langgraph-sdk) not instrumented — no tracing for cloud agent execution (3,372,359 weekly downloads)[/-][+][bot] LangGraph Platform API client (@langchain/langgraph-sdk) not instrumented — no tracing for cloud agent execution (3,279,492 weekly downloads)[/+]github-actions commentedon Sep 15, 2026
A release containing the fix/implementation for this issue has been published:
Included via #2441.
[-][bot] LangGraph Platform API client (@langchain/langgraph-sdk) not instrumented — no tracing for cloud agent execution (3,279,492 weekly downloads)[/-][+][bot] LangGraph Platform API client (@langchain/langgraph-sdk) not instrumented — no tracing for cloud agent execution (4,139,284 weekly downloads)[/+]