feat(sdk): Add LangSmith integration metadata to deepagents#1837
Merged
Conversation
Adds ls_integration and ls_integration_version metadata to every agent created via create_deep_agent(), enabling identification of deepagent traces in LangSmith. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Member
|
Related: #1379 and langchain-ai/langchain#35295 |
ccurme (ccurme)
approved these changes
Mar 12, 2026
james8814
pushed a commit
to james8814/deepagents
that referenced
this pull request
Mar 13, 2026
Sydney Runkle (sydney-runkle)
pushed a commit
to langchain-ai/langgraph
that referenced
this pull request
Mar 30, 2026
Adds ls_integration metadata to agents created via langgraph: `ls_integration:langgraph` Only sets the value if the key doesn't already exist so that we don't override the `ls_integration` field set in [deepagents](langchain-ai/deepagents#1837), [langchain](langchain-ai/langchain#35810). LangGraph trace <img width="1321" height="1017" alt="image" src="https://github.com/user-attachments/assets/134fad3a-034d-4d90-8fba-318dd7658e3c" /> Deepagents trace (value is correctly not set to langgraph in this case) <img width="1317" height="882" alt="image" src="https://github.com/user-attachments/assets/d9b09346-5827-4267-95c1-f3f77d0c76f3" />
xingshuozhu1998
pushed a commit
to xingshuozhu1998/langgraph
that referenced
this pull request
May 1, 2026
) Adds ls_integration metadata to agents created via langgraph: `ls_integration:langgraph` Only sets the value if the key doesn't already exist so that we don't override the `ls_integration` field set in [deepagents](langchain-ai/deepagents#1837), [langchain](langchain-ai/langchain#35810). LangGraph trace <img width="1321" height="1017" alt="image" src="https://github.com/user-attachments/assets/134fad3a-034d-4d90-8fba-318dd7658e3c" /> Deepagents trace (value is correctly not set to langgraph in this case) <img width="1317" height="882" alt="image" src="https://github.com/user-attachments/assets/d9b09346-5827-4267-95c1-f3f77d0c76f3" />
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
ls_integrationmetadata to every agent created via create_deep_agent(), enabling identification of deepagent traces in LangSmith.Before

After