
langsmith-trace
INVOKE THIS SKILL when working with LangSmith tracing OR querying traces
by langchain-aiFree
Description
langsmith-trace is an agent skill from the LangChain langsmith-skills collection, listed on skills.sh. It helps an AI agent add tracing to an application so its runs are recorded in LangSmith, and query or export the trace data afterward. Tracing records each step of an LLM application, such as model calls and tool use, so you can see what happened in a run and why. The skill sets the rules for authentication: a LangSmith API key is required, and the agent can pass it to CLI commands as a flag, which is the preferred approach. It also tells the agent to check the environment or a .env file for the project name before querying, so that trace queries go to the right project. The skill suits developers who run LLM applications in production or staging and want to debug failures, review runs or export data for analysis. The skill is free to add, and the source is public on GitHub.…
Highlights
- Adds tracing to LLM applications
- Queries and exports trace data
- Uses the LangSmith CLI with an API key
- Checks the project before querying
Ratings & Reviews
No ratings yet
Be the first to rate langsmith-trace.
People also visit
langsmith-trace FAQ
What does langsmith-trace do?
It helps an AI agent add LangSmith tracing to an app and query or export the trace data.
How do I install it?
Run: npx skills add https://github.com/langchain-ai/langsmith-skills --skill langsmith-trace.
Is it free?
The skill is free to add. LangSmith is a separate service.
Is an API key required?
Yes. Set LANGSMITH_API_KEY, or pass the --api-key flag to CLI commands, which the skill prefers.
Why check the project name?
The skill says to check the environment or .env file for LANGSMITH_PROJECT before querying, so queries target the right project.
What are the best langsmith-trace alternatives?
Popular alternatives to langsmith-trace include langsmith-fetch, avivsinai/langfuse-mcp and observability. See all langsmith-trace alternatives












