Langfuse

Active
GitHub TypeScript NOASSERTION

Description

Open-source LLM engineering platform providing tracing, evaluations, prompt management, and dataset management with integrations for LangChain, OpenAI, Anthropic, and more.

Key Features

  • LLM application observability — trace LLM calls, retrieval, embeddings, agent actions with user session debugging
  • Prompt management — centrally manage, version control, and iterate on prompts with server/client-side caching
  • Evaluation pipelines — supports LLM-as-a-Judge, code evaluators, user feedback collection, and custom pipelines
  • Datasets & benchmarks — create test sets and benchmark runs for continuous improvement and pre-deployment testing
  • LLM Playground — jump directly from trace view to playground for prompt iteration and model config tuning
  • ClickHouse-powered — built on ClickHouse for high-performance large-scale trace storage and querying

Use Cases

💡 Production LLM monitoring — real-time tracing of AI app call chains, latency, costs, and error rates
💡 Prompt A/B testing — manage multiple prompt versions, compare effectiveness through evaluation pipelines
💡 Model quality evaluation — automated scoring of model outputs using LLM-as-a-Judge
💡 Compliance audit & replay — full recording of all LLM interactions for post-hoc audit and issue debugging
💡 Cost optimization analysis — analyze token consumption and cost distribution across model calls

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (34.1k stars)
  • Established track record (3 years in production)

⚠️ Limitations

  • No clear open-source license

Quick Start

# Docker Compose local setup
git clone --depth=1 https://github.com/langfuse/langfuse.git
cd langfuse
docker compose up

# Python SDK integration
pip install langfuse

from langfuse import Langfuse
langfuse = Langfuse()

# Start tracing
trace = langfuse.trace(name='my-app')
span = trace.span(name='llm-call')
# ... execute LLM call ...
span.end()
langfuse.flush()

Related Projects

Braintrust

3.7k · TypeScript
Normal B

Braintrust is an evaluation and observability platform for AI applications, providing experiment tracking, scoring, prompt management, and production monitoring for LLM-powered systems.

observabilityevalprompt-management +1
  • · Experiment tracking and comparison — record LLM inputs, outputs, params, and results for version comparison
  • · Auto and human scoring — supports LLM-as-judge, manual labeling, and custom evaluators
  • · Dataset management with versioning and reusability

Opik

21.8k · Python
Active A+

Opik is an open-source LLM observability platform providing agent tracing, evaluation testing, and prompt experiment management to help developers monitor and optimize AI agent systems.

observabilityllm-evaluationtracing +2
  • · Comprehensive LLM observability with deep tracing of calls, conversations, and agent activity
  • · LLM-as-a-judge metrics for hallucination detection, moderation, and RAG assessment
  • · Production-ready monitoring dashboards handling 40M+ traces per day at scale

Agenta

4.7k · TypeScript
Active B

Agenta is an open-source LLMOps platform providing prompt playground, prompt management, LLM evaluation, and LLM observability all in one place.

observabilityllmopsprompt-management +2
  • · Interactive LLM Playground for side-by-side prompt comparison with 50+ model support
  • · Integrated prompt management with version control, branching, and environment management
  • · Systematic LLM evaluation with 20+ pre-built evaluators, LLM-as-judge, and human feedback

Helicone

6.1k · TypeScript
Active A

Open-source LLM observability platform with one-line integration, providing request logging, caching, rate limiting, cost tracking, and experimentation.

observabilityllm-monitoringcost-tracking +2
  • · AI Gateway — access 100+ AI models with one API key, intelligent routing and automatic fallbacks
  • · One-line integration — supports OpenAI, Anthropic, LangChain, Gemini, Vercel AI SDK and more
  • · Observability platform — inspect and debug traces and sessions for agents, chatbots, pipelines

Related Articles