跳到正文
DEV Community· Span Observer·· 1 小時前AI 評分53

LangWatch LLM 智能體評估:部署前重播測試、上線後追蹤

LangWatch LLM agent evaluation: test before you ship

AI 導讀

LangWatch 提供一套面向生產環境的 LLM 智能體評估與追蹤平台,可重播情境測試,並監察上線後的呼叫和智能體活動。README 將功能分為 LLM Ops、Coding Agents、AI Gateway 和 AI Governance;核心採 Apache 2.0,SDK 採 MIT,enterprise/ 目錄中的模組在生產環境使用須商業授權。

正文

On Friday you change your agent’s prompt. On Monday a customer complains, and you cannot tell whether the agent got worse or you were unlucky. The answer is to replay tests before release, which is where LangWatch LLM agent evaluation fits. Its repository, langwatch/langwatch, showed about 5,000 stars on 13 November 2026.

This article starts from an operations decision: what must you check before shipping an agent, and what must you watch afterwards? The facts come from the repository page and its README, read on 13 November 2026. For the tracing side, compare with Langfuse and OpenLLMetry and OpenLIT, which are separate projects.

A note on honesty: span.observer has not installed LangWatch. The snippets quote the README, and the images come from the project’s repository or quote its text.

LangWatch LLM agent evaluation: what the repository holds

The README describes an open-source platform for AI in production: trace, test, route and govern model calls, including those made by engineers’ coding assistants. It splits the product into four areas.

The four LangWatch areas according to the repository README: LLM Ops, Coding Agents, AI Gateway and AI Governance

Source : github.com

Image source: langwatch/langwatch repository.

  • LLM Ops: observability, agent testing, evaluations and prompt management.
  • Coding Agents: sessions and cost per pull request and per team, with privacy controls.
  • AI Gateway: one endpoint compatible with OpenAI and Anthropic, with virtual keys, budgets and routing.
  • AI Governance: an inventory of the company’s AI tools and who uses them, with anomaly rules.

For an SRE shipping agents, the first block matters most. The other three answer cost and compliance questions.

Licence: what is free and what is not

The project is open-core. The README states Apache 2.0 for the core, MIT for the SDKs, and a commercial licence in production for the modules in the enterprise/ folder.

Excerpt from the LangWatch README, License section: Apache 2.0, enterprise modules under a commercial licence in production, SDKs under MIT

Source : github.com

The practical consequence is simple. Before deploying, list the features you need and check that none lives under enterprise/. The « Editions and licensing » documentation page is the authority, not this summary. We have not done that inventory.

From test to trace: three questions to decide

Does this agent behave on a given scenario?

The README’s « simulation tests » evaluate or benchmark agents, voice agents included. The idea is to replay scenarios and score the result instead of rereading conversations. It is the same spirit as LLM-as-judge in production, with the same caveat: an automatic judge still needs calibrating.

Did the prompt change degrade quality?

Evaluations measure outputs, and prompt management keeps version history. The README says no more than that, so read the documentation for details, which we have not read line by line.

What happened in production?

This is where monitoring comes in. LangWatch traces calls and agent activity. The README lists OpenTelemetry among its integrations, next to LangChain, LangGraph, CrewAI and the Vercel AI SDK. To relate these traces to your other signals, see also the token cost of an AI agent.

Getting started: the README commands

Three routes are offered: the hosted service (LangWatch Cloud), tracking coding assistants with one command, and self-hosting.

Excerpt from the LangWatch README: npx langwatch claude to track a coding assistant, npx @langwatch/server to self-host, Node.js 24 or newer required

Source : github.com

  1. Check Node.js: the README asks for version 24 or newer, on macOS or glibc Linux.
  2. To try it without hosting anything, npx @langwatch/server starts the server locally.
  3. To track a coding assistant, npx langwatch claude also accepts codex, copilot or opencode.
  4. For production, follow the « Self-hosting LangWatch » page that the README links to.

To check that it works, send a test call from your agent, then look for the trace in the interface. We have not observed that result ourselves.

Limits and open points

  • Mixed licence: the core is free, not the whole repository.
  • Broad scope: gateway, governance and testing in one product. Assess each piece separately.
  • Sensitive data: agent traces contain prompts. The README mentions privacy controls for coding assistants; for the rest, read the documentation.
  • Maturity: the page showed neither a release nor a main language on the day we read it, so we quote no version.
  • Claims: the README cites GDPR and ISO 27001; we have not verified these certifications.

Best practices

  • Write five scenarios drawn from real incidents first, before choosing any tool.
  • Replay them on every prompt or model change, like a regression test.
  • Version your prompts and keep the link to production traces.
  • Turn off sensitive content capture before connecting an agent that handles customer data.
  • Self-host on a closed network and protect access to the interface.

Frequently asked questions

Is LangWatch fully open source?

No. The core is Apache 2.0 and the SDKs are MIT, but the modules under enterprise/ need a commercial licence in production, according to the README.

Must I choose between LangWatch and a tracing tool?

Not necessarily. LangWatch lists OpenTelemetry as an integration. A tracing tool alone does not cover scenario tests, which LangWatch puts at the centre.

Can I use it with Dynatrace?

The README does not mention Dynatrace and we have not tested that link. For Dynatrace, rely on docs.dynatrace.com, distinguishing SaaS from Managed.

Conclusion

LangWatch is worth a trial if you ship agents and want tests replayed before production, with traces afterwards. Read the licence first, then start with a single scenario. Repository: langwatch/langwatch; documentation: langwatch.ai/docs.

span.observer is an independent community blog, not affiliated with Dynatrace LLC or LangWatch. Trademarks belong to their owners. Tools change quickly: check commands and options in the official documentation.


Originally published on span.observer. French version: https://span.observer/fr/langwatch-evaluation-agents-llm/.

來源:DEV Community · dev.to