Skip to main content
Back to registry

langsmith-trace

langchain-ai/langsmith-skills

IMPORTANT: Always check the environment variables or .env file for LANGSMITH_PROJECT before querying or interacting with LangSmith. This tells you which project contains the relevant traces and data. If the LangSmith project is not available, use your best judgement to identify the right one.

Installs395
Install command
npx skills add https://github.com/langchain-ai/langsmith-skills --skill langsmith-trace
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykPASS
About this skill
IMPORTANT: Always check the environment variables or .env file for LANGSMITH_PROJECT before querying or interacting with LangSmith. This tells you which project contains the relevant traces and data. If the LangSmith project is not available, use your best judgement to identify the right one. CLI Tool For LangChain/LangGraph apps, tracing is automatic. Just set environment variables: Optional variables: For non-LangChain apps, if the framework has native OpenTelemetry support, use LangSmith's OpenTelemetry integration. If the app is NOT using a framework, or using one without automatic OTel support, use the traceable decorator/wrapper and wrap your LLM client. client = wrap_openai(OpenAI()) @traceable def my_llm_pipeline(question: str) -> str: resp = client.chat.completions.create( model="gpt-4o-mini", messages=[{"role": "user", "content": question}], ) return resp.choices[0].message.content @traceable def rag_pipeline(question: str) -> str: docs = retrieve_docs(question) return generate_answer(question, docs) @traceable(name="retrieve_docs") def retrieve_docs(query: str) -> list[str]: return docs @traceable(name="generate_answer") def generate_answer(question: str, docs: list[str]) -> str: return client.chat.completions.create(...) Best Practices: Use the langsmith CLI to query trace data. Understanding the difference is critical: Generally, query traces first — they provide...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does langsmith-trace do?

IMPORTANT: Always check the environment variables or .env file for LANGSMITH_PROJECT before querying or interacting with LangSmith. This tells you which project contains the relevant traces and data. If the LangSmith project is not available, use your best judgement to identify the right one.

Is langsmith-trace good?

langsmith-trace does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does langsmith-trace work with?

langsmith-trace currently lists compatibility with codex, gemini-cli, cursor, kimi-cli, amp, cline, github-copilot, claude-code.

What are alternatives to langsmith-trace?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install langsmith-trace?

npx skills add https://github.com/langchain-ai/langsmith-skills --skill langsmith-trace

Related skills

More from langchain-ai/langsmith-skills

Related skills

Alternatives in Software Engineering