Langfuse
ActiveDescription
Langfuse is an open-source observability platform for LLM applications, supporting tracing, evaluation, prompt versioning, and cost analytics.
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
Tags
Categories
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()