AgentPantheon
LangSmith logo

LangSmith观察性、评估和调试平台

4.8 (5)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年6月

概览

LangSmith 是由 LangChain 团队打造的开发者平台,帮助团队追踪、测试、评估和监控由大型语言模型驱动的应用。虽然它与 LangChain 和 LangGraph 框架紧密集成,但它是框架无关的,可通过 SDK 和 API 为任何 LLM 应用提供监控。其核心目标是解决 LLM 系统固有的不确定性,输出非确定性且故障细微,通过让开发者能在运行时可视化其链、代理和提示的实际行为。 该平台以追踪为核心:每次应用运行都会产生一份详细的嵌套追踪,展示每一步骤,包括发送的提示、模型响应、token 使用量、延迟、工具调用以及中间输出。这样更容易调试复杂的多步骤代理和检索增强生成管道,因为错误答案的根源可能被埋藏在多层深处。开发者可以检查单个追踪、过滤和搜索不同运行,并深入到每个节点的确切输入和输出。 LangSmith 还提供评估工具,用于衡量应用程序质量。团队可以从生产跟踪或精选示例中构建数据集,使用这些数据集运行他们的应用程序,并通过内置评估器、基于自定义代码的检查或 LLM-as-judge 方法对输出进行评分。这支持在提示或模型更改时进行回归测试,并帮助量化更改是否真正提升结果,而不只是依赖直觉。 在生产使用中,它提供监控仪表盘,跟踪诸如延迟、成本、错误率及随时间变化的反馈等指标,并具备收集人工反馈和用户注释的能力。提示管理和 Playground 组件让团队可以对提示进行迭代和版本化,并能并排比较模型输出。 LangSmith 主要面向正在开发和交付 LLM 功能的开发者和团队,他们需要从临时的打印语句调试转向系统化的可观测性和评估。其主要优势在于与 LangChain 生态系统的深度集成以及将追踪、数据集和评估统一在工作流中的能力。真实的权衡包括:最丰富的体验假设你熟悉 LangChain/LangGraph 世界;LLM 基础的评估本身并不完美,需要精心设计;以及它是一个托管的商业产品,按使用量计费,虽然部分方案也提供自托管选项。它与其他 LLM 可观测性工具竞争,如 Langfuse、Helicone、Arize Phoenix 和 Weights & Biases Weave。

主要功能

  • 逐步追踪输入、输出和 token 使用
  • 创建数据集和自动化评估
  • 内置、基于代码以及 LLM 作为评判者的评估
  • 生产监控仪表板
  • 人工反馈和注释收集
  • 提示管理、版本管理和 playground

价格

模型
Freemium
评分
4.8 / 5 (5)

使用场景

调试 LLM 应用链路追踪

检查详细的 LLM 链和代理的执行迹象 来识别故障、延迟瓶颈和意外输出

评估模型性能

在测试数据集上运行评估以测量质量、准确度和回归之前在生产发布更改

监控生产 LLM 应用

跟踪实时性能、使用和错误的部署的 LLM 应用以维护可靠性并快速诊断问题

优化提示工程

迭代提示并使用可观察性数据和评估指标比较版本来改进 LLM 应用结果

优点 & 缺点

优点

  • 详细的嵌套链、代理和工具调用的追踪
  • 集成的数据集和评估工作流来实现回归测试
  • 紧密集成到 LangChain 和 LangGraph 中
  • 生产监控成本、延迟以及反馈
  • 框架中立的 SDK 可以超越 LangChain

缺点

  • 最佳体验假设使用 LangChain 的生态系统
  • LLM 作为评判者评估需要小心的设置和验证
  • 商业用户量价格计划可以随之而生长

评测

4.8

5 个评分的平均值。

5
4
4
1
3
0
2
0
1
0

登录以留下评测。

H

Hannah Goldberg

Dec 27, 2025

Use it every day

Honestly didn't expect to like it this much. The automation is exactly what I needed, and the value for money is strong. I do wish the mobile experience lags, but I reach for it almost every day now and it just clicks.

J

Jamal Carter

Nov 2, 2025

Use it every day

Honestly didn't expect to like it this much. The dashboard is exactly what I needed, and support is responsive. I do wish the mobile experience lags, but I reach for it almost every day now and it just clicks.

S

Sanjay Gupta

Oct 24, 2025

Years in this space

I've evaluated a lot of these over the years. What stands out here is the integrations — handled better than most — and support is responsive. Worth the time if this is your use case.

B

Beatriz Costa

Sep 8, 2025

Years in this space

I've evaluated a lot of these over the years. What stands out here is the onboarding — handled better than most — and the value for money is strong. Pricing gets steep at scale is my one real gripe. Worth the time if this is your use case.

K

Kwame Mensah

Jul 5, 2025

Solid for our team

We rolled this out across the team last quarter and the value for money is strong. The onboarding fits neatly into how we already work, and the API removed a step we used to do by hand. The docs could be deeper, which is the main caveat, but it has held up under daily use.

问答

暂无问题 — 来当第一个提问的人吧。

提问

Agent Development 的替代品