langsmith-trace

Trace and query LangSmith application data for debugging and optimization.

1|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/wpsadi/stock-agent --skill langsmith-trace-wpsadi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: langsmith-trace
Source: https://github.com/wpsadi/stock-agent/tree/main/.agents/skills/langsmith-trace
Command: npx skills add https://github.com/wpsadi/stock-agent --skill langsmith-trace-wpsadi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires langsmith-cli, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables tracing and querying of LangSmith tracing or data, essential for debugging and optimizing LangSmith applications.

Core Features & Use Cases

  • Application Tracing: Add tracing to your applications for comprehensive execution tracking.
  • Querying Traces: Retrieve and analyze trace data for debugging and performance tuning.
  • Use Case: With this Skill, you can ensure that your application is using LangSmith correctly and efficiently, by analyzing trace data for bottlenecks or errors.

Quick Start

Run 'langsmith trace list --project my-project --api-key $LANGSMITH_API_KEY' to list traces from your LangSmith project.

Frequently Asked Questions about langsmith-trace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trace and query data within LangSmith applications for debugging?

To trace LangSmith applications, you need to add tracing functionality to track execution and query trace data to identify bottlenecks or errors. This requires a LangSmith API key and a configured project setup.

What is the best way to retrieve LangSmith trace data for performance tuning?

The best way to retrieve trace data for performance tuning is to query your LangSmith project traces. You can list traces by running the command 'langsmith trace list --project my-project --api-key $LANGSMITH_API_KEY' to analyze execution paths.

Do I need a specific API key to query LangSmith application traces?

Yes, you need a LangSmith API key to query application traces. You must also set up a project within LangSmith to properly store, retrieve, and analyze the execution tracking data for your applications.

Why does my LangSmith application need execution tracing?

Your LangSmith application needs execution tracing to ensure correct and efficient operation. By analyzing trace data, you can pinpoint performance bottlenecks and debug errors that occur during application execution.

Can I use langsmith-cli to list traces from my project?

Yes, you can use the langsmith-cli dependency to list traces from your project. Execute the trace list command with your specific project name and API key to retrieve and analyze the data for optimization purposes.