langwatch  by langwatch

LLM ops platform for traces, analytics, evaluations, datasets, and prompt optimization

Created 2 years ago
2,719 stars

Top 17.3% on SourcePulse

GitHubView on GitHub
Project Summary

LangWatch is an open-source platform designed for observing, evaluating, and optimizing Large Language Model (LLM) and agentic applications. It targets developers and teams building with LLMs, offering real-time tracing, performance analytics, and prompt management to enhance application quality and efficiency.

How It Works

LangWatch leverages OpenTelemetry for tracing, enabling real-time monitoring of LLM interactions. It supports both real-time and offline evaluations against datasets, allowing for performance comparisons across various components. The platform includes a "Datasets" feature for managing traced data and an "Optimization Studio" with a no-code interface and a DSL for prompt engineering and optimization, including auto-optimization via DSPy's MIPROv2. Human-in-the-loop annotations are integrated for data quality improvement.

Quick Start & Requirements

  • Install: pip install langwatch
  • Prerequisites: Docker for local setup. Environment variables LANGWATCH_API_KEY and LANGWATCH_ENDPOINT may be required for self-hosted instances.
  • Setup: Local setup via Docker is described as under 30 seconds.
  • Docs: https://docs.langwatch.ai/

Highlighted Details

  • Framework and LLM agnostic, supporting integrations with LangGraph, DSPy, Langflow, Flowise, and numerous LLM providers (OpenAI, Azure, Bedrock, Gemini, etc.) via OpenTelemetry.
  • Offers multiple deployment options: Cloud, self-hosted (OnPrem) with Azure AD support, and hybrid setups.
  • Includes a JavaScript SDK and supports community standards like OpenInference and OpenLLMetry.
  • Features an annotation interface for human-in-the-loop data labeling and model fine-tuning.

Maintenance & Community

  • Active community with Discord and Twitter presence.
  • Contributions are welcomed via GitHub.
  • Enterprise support is available.

Licensing & Compatibility

  • License: Not explicitly stated in the README, but a LICENSE.md file is referenced. Users should verify compatibility for commercial use.

Limitations & Caveats

  • The specific license type and its implications for commercial use or closed-source linking are not detailed in the README. Users should consult the LICENSE.md file.
Health Check
Last Commit

17 hours ago

Responsiveness

1 day

Pull Requests (30d)
51
Issues (30d)
38
Star History
41 stars in the last 30 days

Explore Similar Projects

Starred by Han Wang Han Wang(Cofounder of Mintlify), John Resig John Resig(Author of jQuery; Chief Software Architect at Khan Academy), and
6 more.

evidently by evidentlyai

0.3%
7k
Open-source framework for ML/LLM observability
Created 5 years ago
Updated 2 days ago
Starred by Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), Gregor Zunic Gregor Zunic(Cofounder of Browser Use), and
15 more.

openllmetry by traceloop

0.4%
7k
Open-source observability SDK for LLM applications
Created 2 years ago
Updated 3 days ago
Feedback? Help us improve.