← 返回列表

LangWatch:LLM 可观测性、评估与 Agent 测试平台

api-evangelist/langwatch · LangWatch — independent third-party profile of a public API surface, by API Evangelist. LangWatch is an open-source LLM observability, evaluation, and AI agent testing platform. Built around OpenTelemetry-native tracing, LangWatch lets teams instrument LLM applications (LangChain, LangGraph, DSPy, OpenAI Agents, LiteLLM, Pydantic AI, CrewAI, AWS Be

GitHub原文发布 未知首次收录 2026-09-24上架 2026-09-24 07:02

☆ 收藏查看项目 ↗

ELI5:它是什么,解决什么问题

LangWatch 是一个开源的 LLM 可观测性、评估与 AI Agent 测试平台,以 OpenTelemetry 原生 tracing 为核心,可对 LangChain、LangGraph、DSPy、OpenAI Agents、LiteLLM、Pydantic AI、CrewAI、AWS Bedrock 等 LLM 应用进行埋点观测。平台支持实时与批量的评估运行、prompt 版本管理与部署、基于剧本场景与 Judge Agent 的多轮 Agent 对话模拟、带标注的数据集管理,以及通过带预算和语义缓存的虚拟密钥 AI Gateway 治理模型流量。它提供 app.langwatch.ai 的 REST API、Python 与 TypeScript SDK 和 MCP server,发布配套的 scenario Agent 测试框架与 better-agents 标准,核心以 Apache-2.0 授权(ee/ 企业模块为商业许可),可部署为 LangWatch Cloud 或通过 Docker Compose、Helm、Kind 或完整 Kubernetes 自托管。

核心能力与快速开始

★ 1

能做什么
提供 OpenTelemetry 原生 tracing,接收 LLM 应用通过 OTLP 上报的 traces,支持搜索、获取、分享与取消分享。支持配置和管理评估器(RAGAS 等 RAG 质量、Azure Content Safety、OpenAI Moderation、PII 等安全评估、格式校验、语义相似度、语言检测、LLM-as-Judge 等),并通过在线监控器对生产 traces 实时运行评估。支持多轮 Agent 测试场景定义与模拟运行,搭配 Agent Under Test、User Simulator Agent 与 Judge Agent,并可通过 pytest 兼容的 runner 在本地或 CI 中运行。提供数据集管理(CSV 上传、记录 CRUD、生产 trace 转为测试用例)、prompt 版本管理与部署、批量测试套件与实验运行(含 DSPy 驱动的优化)、协作标注、时序分析以及可嵌入的仪表盘。此外通过带预算与语义缓存的虚拟密钥 AI Gateway 治理模型流量,并提供 REST API、Python/TypeScript SDK 与 MCP server。
适用场景
用于对基于 LangChain、LangGraph、DSPy、OpenAI Agents、LiteLLM、Pydantic AI、CrewAI、AWS Bedrock 等框架构建的 LLM 应用进行 tracing 与可观测性分析;在生产环境中对实时 traces 自动运行评估并监控质量与安全指标;对 Agent 进行多轮对话模拟测试与回归测试,可在本地或 CI 中通过 pytest 兼容 runner 执行;管理评估、回归与微调数据集并将生产 trace 转化为测试用例;对 prompt 进行版本化、标记与灰度部署;运行批量实验与 DSPy 优化;通过 AI Gateway 控制模型流量与成本并利用语义缓存。
项目形态
可直接使用的工具
部署方式
可部署为 LangWatch Cloud,或通过 Docker Compose、Helm、Kind 或完整 Kubernetes 自托管。
主要依赖
未说明
使用限制
仓库为 API Evangelist 维护的第三方公开 API 资料档案,本身不包含软件;核心以 Apache-2.0 授权,ee/ 企业模块为商业许可。定价、API 成本与硬件要求未说明。
许可证
未说明
最近推送
2026-09-23 08:47

资料检查:2026-09-24 07:00 · 卡片整理:2026-09-24 07:00
卡片由 AI 根据仓库资料整理,未进行安装或运行验证 · 本次更新未完成,保留上次成功内容

职业应用

程序员

对 LLM 应用进行埋点观测与调试:通过 OpenTelemetry 原生 tracing 采集 LangChain、LangGraph、DSPy、OpenAI Agents、LiteLLM、Pydantic AI、CrewAI、AWS Bedrock 等应用的 trace,并使用 Traces API 搜索、检索、分享 trace;同时可运行实时与批量评估、管理带标注数据集、对 Agent 进行多轮对话模拟测试。

查看内容依据
LangWatch is an open-source LLM observability, evaluation, and AI agent testing platform. Built around OpenTelemetry-native tracing, LangWatch lets teams instrument LLM applications (LangChain, LangGraph, DSPy, OpenAI Agents, LiteLLM, Pydantic AI, CrewAI, AWS Bedrock, and more), run real-time and batch evaluations, version and deploy prompts, simulate multi-turn agent conversations against scripted scenarios and Judge Agents, manage labeled datasets, and govern model traffic through a virtual-key AI Gateway with budgets and semantic caching.

官方使用入口 ↗

由 AI 根据来源材料整理,未进行安装或运行验证

产品经理

借助协作标注与标注工作流对 trace 进行人工标注和分级,产出用于评估与微调数据集的示例;并通过 Analytics API 查看 traces、tokens、成本、延迟与评估分数的时序分析,用于产品数据分析。

查看内容依据
Collaborative annotation and labeling workflows over traces — used by domain experts and PMs to produce graded examples for evaluations and fine-tuning datasets.

官方使用入口 ↗

由 AI 根据来源材料整理,未进行安装或运行验证

这是基于来源内容整理的摘要。原文链接失效后,本页摘要和讨论仍会保留。

讨论 0

登录后参与讨论,阅读资讯无需注册。

还没有评论,来分享第一个看法。