Langfuse
LLM engineering platform for model tracing, prompt management, and application evaluation. Langfuse helps teams collaboratively debug, analyze, and iterate on their LLM applications such as chatbots or AI agents.
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Overview
Langfuse is an open-source (MIT license) AI engineering platform, which the company describes as an "open-source agent evaluation and observability" platform. It ties tracing, monitoring, datasets, experiments, and evaluation into one complete loop, so teams can use production data to understand how their LLM applications and AI agents actually perform, test improvements, and raise quality while reducing cost and latency. Langfuse has now joined ClickHouse.
According to official figures, more than 50,000 companies use Langfuse, including 21 Fortune 50 companies. It processes more than 90 billion observations per month, and its SDKs are installed more than 65 million times per month. Customers shown on the website include Canva, Khan Academy, Hugging Face, Expedia, Cisco, and others.
Key Features
- Observability (Tracing): Records every LLM call, tool call, and retrieval step as a hierarchical trace. You can filter by user, session, cost, latency, or custom metadata.
- Evaluation: Supports LLM-as-a-judge, heuristic functions, and human review. Evaluators can run on production data or within experiments.
- Prompt management: Manage prompts separately from code, deploy or roll back with one click, and help your team optimize production prompts together. Prompts are cached at the edge.
- Playground: Test prompts with real production inputs and compare different models side by side.
- Experiments and datasets: Define test cases, run experiments, and compare results to see which metrics changed and why.
- Human annotation: Review traces through a collaborative Human-in-the-Loop workflow and build golden datasets.
- Cost and latency monitoring: Monitor cost, latency, and quality with dashboards and automatic alerts.
- Halo assistant: A built-in AI assistant that can investigate production data, debug failed or high-latency traces, analyze token spend, and take actions once the user approves them.
For Developers and Coding Agents
- Agent Skill (SKILL.md): A ready-made skill package that lets coding agents such as Claude Code, Cursor, and Codex manage prompts, traces, and evaluations in natural language.
- Langfuse CLI: Full API access from the terminal, suited to scripts and CI/CD.
- MCP Server: Agents in your IDE can use it to manage prompts and query trace data.
- REST API, Query SDK, and S3 Blob storage export: Export your data freely, with no platform lock-in.
Integration Ecosystem
Langfuse natively supports OpenTelemetry. Native SDKs are available for Python and TypeScript, while Go, Java, .NET, Ruby, PHP, Swift, and other languages connect through OTel. There are also more than 100 integrations, including:
- Agent frameworks: LangChain, LlamaIndex, Vercel AI SDK, Pydantic AI, CrewAI, AutoGen, Google ADK, OpenAI Agents SDK, Claude Agent SDK, Mastra, DSPy, Spring AI, and more
- Model providers: OpenAI, Anthropic, Amazon Bedrock, Azure OpenAI, Google Gemini, Vertex AI, Mistral, xAI, Groq, vLLM, Ollama, and more
- Gateways and low-code tools: LiteLLM, OpenRouter, Dify, Langflow, n8n, OpenWebUI, RAGflow, and more
Deployment Options
- Langfuse Cloud: The official managed service, with EU and US data regions, plus a HIPAA-compliant region. The free tier includes 50k observations per month and requires no credit card.
- Self-hosting: All product features are under the MIT license and can be self-hosted for free. Supported methods:
- Docker Compose
- Kubernetes (Helm)
- Terraform (AWS, GCP, Azure)
Self-hosting also supports a FIPS 140-3 validated module mode.
Technical Architecture
- Uses the ClickHouse OLAP database for storage and queries, able to query millions of traces in milliseconds
- Ingests data asynchronously through a Redis queue
- Stores large payloads in S3/Blob storage
- SDKs are asynchronous by default and automatically send data in batches in the background, so tracing never blocks your application
Security and Compliance
SOC 2 Type II and ISO 27001 certified, GDPR compliant, with a HIPAA-ready region. The company says a hardened offering for government use cases is coming soon.
Target Users
Suited to AI engineering teams building LLM applications, RAG systems, chat agents, coding agents, and workflow automation, especially teams that value open source and want to control their own data. It is also a good fit for industries with strict compliance requirements, such as finance and healthcare.
Discover more
Atheos
Web-based IDE framework with a small footprint and minimal requirements, continued from Codiad.
Featbit
Enterprise-grade feature flag platform that you can self-host.
Forgejo
A lightweight software forge focused on scaling, federation, and privacy (fork of Gitea).
Hoppscotch Community Edition
Fast and beautiful API request builder.
Kaneo
🎯 All you need. Nothing you don't. Open source project management that works for you, not against you.
Mergeable
The missing inbox for GitHub pull requests