langfuse  by langfuse

Open source LLM engineering platform for observability and evals

Created 2 years ago
16,229 stars

Top 2.9% on SourcePulse

GitHubView on GitHub
Project Summary

Langfuse is an open-source LLM engineering platform designed for teams to collaboratively develop, monitor, evaluate, and debug AI applications. It provides observability, prompt management, evaluation tools, and a playground, catering to developers and ML engineers working with LLMs.

How It Works

Langfuse instruments applications via SDKs or integrations to capture traces of LLM calls and related logic. It offers automated instrumentation for popular frameworks like Langchain and OpenAI, and manual instrumentation for flexibility. The platform centralizes prompt management with versioning and caching, supports diverse evaluation methods (LLM-as-a-judge, user feedback, custom pipelines), and includes datasets for benchmarking.

Quick Start & Requirements

Highlighted Details

  • Comprehensive LLM observability for debugging and session inspection.
  • Integrated prompt management with versioning and caching.
  • Flexible evaluation framework supporting LLM-as-a-judge, user feedback, and custom pipelines.
  • Extensive integrations with LLM frameworks (Langchain, LlamaIndex), SDKs (OpenAI, LiteLLM), and UI tools (Flowise, Langflow).
  • Offers both a managed cloud deployment with a free tier and self-hosting options (Docker Compose, Kubernetes Helm).

Maintenance & Community

  • Active development, YC W23 backed.
  • Support and feature requests via GitHub Discussions.
  • Contributing guidelines available in CONTRIBUTING.md.

Licensing & Compatibility

  • MIT licensed, with exceptions for ee folders.
  • Compatible with commercial use and closed-source linking, subject to MIT license terms.

Limitations & Caveats

  • Telemetry is enabled by default for self-hosted instances, reporting basic usage statistics, but can be opted out.
  • Specific cloud deployment guides for AWS, Google Cloud, and Azure are planned and subject to community upvotes.
Health Check
Last Commit

12 hours ago

Responsiveness

1 day

Pull Requests (30d)
300
Issues (30d)
175
Star History
1,149 stars in the last 30 days

Explore Similar Projects

Starred by Gregor Zunic Gregor Zunic(Cofounder of Browser Use), Eric Zhu Eric Zhu(Coauthor of AutoGen; Research Scientist at Microsoft Research), and
14 more.

openllmetry by traceloop

0.4%
6k
Open-source observability SDK for LLM applications
Created 2 years ago
Updated 13 hours ago
Starred by Luis Capelo Luis Capelo(Cofounder of Lightning AI), Chip Huyen Chip Huyen(Author of "AI Engineering", "Designing Machine Learning Systems"), and
6 more.

opik by comet-ml

1.7%
14k
Open-source LLM evaluation framework for RAG, agents, and more
Created 2 years ago
Updated 12 hours ago
Feedback? Help us improve.