Langfuse is a platform for developing, monitoring, evaluating, and debugging LLM applications. You instrument an application to send traces of LLM calls, retrieval steps, embeddings, and agent actions, then inspect those traces and user sessions in the web interface. It is built on the ClickHouse database and can be run as a managed cloud service or self-hosted.
Beyond tracing, the platform covers prompt management (central versioning with server- and client-side caching), evaluations (LLM-as-a-judge, code evaluators, user feedback, manual labelling, and custom pipelines through the API), datasets for test sets and benchmarks, and a playground for iterating on prompts and model settings. An OpenAPI spec, a Postman collection, and typed Python and JS/TS SDKs expose every building block for custom LLMOps workflows.
Self-hosting paths include Docker Compose on a local machine or a single VM, a Helm chart for Kubernetes, and Terraform templates for AWS, Azure, and GCP.
| Integration | Languages | Method |
|---|---|---|
| SDK | Python, JS/TS | Manual instrumentation |
| OpenAI | Python, JS/TS | Drop-in replacement of the OpenAI SDK |
| LangChain | Python, JS/TS | Callback handler |
| LlamaIndex | Python | Callback system |
| Haystack | Python | Content tracing system |
| LiteLLM | Python, JS/TS (proxy) | Proxy for 100+ LLMs |
| Vercel AI SDK | JS/TS | Toolkit integration |
| Mastra | JS/TS | Framework integration |
Features
- Tracing: captures LLM calls, retrieval, embedding, and agent steps as nested traces with session views
- Prompt management: versions prompts centrally and caches them so prompt iteration adds no request latency
- Evaluations: LLM-as-a-judge, code evaluators, user feedback collection, manual labelling, and custom evaluation pipelines
- Datasets: test sets and benchmarks for pre-deployment testing and structured experiments
- Playground: tests prompts and model configurations, reachable directly from a trace
- API and SDKs: OpenAPI spec, Postman collection, and typed Python and JS/TS SDKs
- Deployment options: managed cloud, Docker Compose, Kubernetes with Helm, and Terraform templates for AWS, Azure, and GCP
- Further integrations: Instructor, DSPy, Mirascope, Ollama, Amazon Bedrock, AutoGen, Flowise, Langflow, Dify, OpenWebUI, and Promptfoo
Integrates with
AutoGen
Microsoft multi-agent framework now in maintenance mode, succeeded by Microsoft Agent Framework
CrewAI
Python multi-agent framework pairing autonomous role-based Crews with event-driven Flows for precise orchestration
DSPy
Compose LM pipelines as declarative Python modules, then optimize their prompts and weights algorithmically
Haystack
Open-source Python framework for building production LLM pipelines for RAG, search, and agents
Integrated by
DeerFlow
DeerFlow 2.0 is ByteDance's open-source super-agent harness.
Kitaru
Durable execution runtime for Python agents: checkpointed flows, replay and overrides - 'agent traces you can run, not just read'.
Nanobot
nanobot: The Ultra-Lightweight Personal AI Agent
NeMo Agent Toolkit
Library for connecting, profiling and optimizing teams of agents across frameworks.
Alternatives
Future AGI
OpenTelemetry-based tracing and evaluation instrumentation for voice-AI applications.
Opik
Open-source platform for tracing, evaluating, and monitoring LLM and agentic applications
TokenTelemetry
Token telemetry dashboard for AI autonomous and coding agents — tracks tokens, sessions, tool calls & reasoning across Hermes agent, Claude
Tracely
You fix the agent bug and write the regression test. Then you try to reproduce the run: t...