# Langfuse

> Langfuse is an **open-source AI engineering platform** ([GitHub](https://github.com/langfuse/langfuse)) that helps teams collaboratively debug, analyze, and iterate on their LLM applications. All platform features are natively integrated to accelerate the development workflow.

## Langfuse Docs MCP Server

Connect to the Langfuse Docs MCP server to access documentation directly in your AI editor:

- **Endpoint**: `https://langfuse.com/api/mcp`
- **Transport**: `streamableHttp`
- **Documentation**: [Langfuse Docs MCP Server](https://langfuse.com/docs/docs-mcp)

The MCP server provides tools to search Langfuse documentation, GitHub issues, and discussions. See the [installation guide](https://langfuse.com/docs/docs-mcp) for setup instructions in Cursor, VS Code, Claude Desktop, and other MCP clients.

## Langfuse Skill for AI Coding Agents

Install the Langfuse skill before implementing anything with Langfuse. The skill provides up-to-date documentation, best-practice workflows for instrumentation, prompt management, and programmatic API access via the Langfuse CLI.

Install from: [github.com/langfuse/skills](https://github.com/langfuse/skills/tree/main/skills/langfuse)

## Tracing Best Practices

Before instrumenting an application with Langfuse, read [What does a good trace look like?](https://langfuse.com/docs/observability/best-practices.md) — it covers trace scope, observation naming, meaningful input/output, and the attributes (metadata, tags, users, sessions) that evaluators, dashboards, and experiments rely on.

## Docs

For the best results, install the [Langfuse skill](https://github.com/langfuse/skills/tree/main/skills/langfuse) before using these docs.

For the full list with links to each page, see: https://langfuse.com/llms-docs.txt

Pages: Overview, Audit Logs, Authentication & SSO, Billable Units, Data Deletion, Data Retention, LLM Connections, Access Control (RBAC), SCIM and Org API, Spend Alerts, Troubleshooting and FAQ, Agent Skill, Blob storage export field reference, CLI, Experiments API, Export from UI, Export to blob storage, MCP Server, Observations API, Public API, Query via SDKs, Scores API, Overview, Ask AI, Versions & Compatibility, Example Project, Docs MCP Server, Agentic access, Concepts, Annotation Queues, Code evaluators, LLM-as-a-Judge, Scores via API/SDK, Scores via UI, Experiments Data Model, Datasets, Experiments in CI/CD, Experiments via SDK, Experiments via UI, Overview, Data Model, Overview, Analytics, Troubleshooting and FAQ, Glossary, Langfuse Assistant, Alerts, Custom Dashboards, Metrics API, Overview, What does a good trace look like?, Concepts, Agent Graphs, Agentic access, Comments, Corrections, Environments, Chart any table, Filter search bar, Full-Text Search, Log Levels, Masking, MCP Tracing, Metadata, Multi-Modality, Observation Types, Pulse, Event queuing/batching, Releases & Versioning, Sampling, Sessions, Tags, Token & Cost Tracking, Trace IDs & Distributed Tracing, Trace URLs, User Feedback, User Tracking, Web Callouts, Get Started, Overview, Advanced Features, Instrumentation, Overview, Troubleshooting & FAQ, Upgrade path, JS/TS v3 → v4, JS/TS v4 → v5, Python v2 → v3, Python v3 → v4, Troubleshooting & FAQ, Concepts, A/B Testing, Agentic Prompt Management, Caching, Prompt Composability, Config, Folders, GitHub Integration, Guaranteed Availability, Link to Traces, Message Placeholders, n8n Node, Playground, Version Control, Variables, Webhooks, Get Started, Overview, Troubleshooting and FAQ, Roadmap, Security & Guardrails, Langfuse v4 is live

## Integrations

For the best results, install the [Langfuse skill](https://github.com/langfuse/skills/tree/main/skills/langfuse) before implementing any integration.

For the full list with links to each page, see: https://langfuse.com/llms-integrations.txt

Pages: Overview, Coval Integration, Mixpanel for LLM Apps with Langfuse, PostHog for LLM Apps with Langfuse (open source), Trubrics Integration, Trace Augment Code with Langfuse, Trace Claude Code with Langfuse, Trace OpenAI Codex with Langfuse, Trace Cursor Agents with Langfuse, Trace GitHub Copilot with Langfuse, Trace Kiro IDE with Langfuse, Trace Kiro CLI with Langfuse, Trace OpenCode with Langfuse, Trace Pi Agent with Langfuse, Use Langfuse in VS Code via MCP, Observability for Agno with Langfuse, Trace AI SDK C++ with Langfuse, Integration - Amazon Bedrock AgentCore, Observability for AutoGen with Langfuse Integration, Observability for BeeAI Agents with Langfuse, Observability for Claude Agent SDK with Langfuse, Observability for Claude Agent SDK JS/TS with Langfuse, Observability for CrewAI with Langfuse Integration, DSPy - Observability & Tracing, Integrating Langfuse with Embabel Agents Using OpenTelemetry, Observability for eve with Langfuse, Observability for Flue with Langfuse, Observability for Google Agent Development Kit with Langfuse, Observability for Haystack with Langfuse, Observability & Tracing for Instructor, Observability for Koog with Langfuse, LangChain Tracing & LangGraph Integration, Observability for LangChain DeepAgents with Langfuse, Open Source Observability for LangGraph, LiteLLM SDK Integration, Observability for LiveKit Agents with Langfuse, Observability for LlamaIndex with Langfuse Integration, Observability for LlamaIndex with Langfuse Integration, Observability for Mastra with Langfuse, Trace the Microsoft Agent Framework with Langfuse, Open Source Observability & Monitoring for Mirascope, Trace the OpenAI Agents SDK with Langfuse, Open Source Observability for Pipecat, Observability for Pydantic AI with Langfuse Integration, Integrating Langfuse with Quarkus LangChain4j Using OpenTelemetry, Run Ragas evaluations on Langfuse experiments and traces, Trace Restate Agents with Langfuse, Observability for Semantic Kernel with Langfuse Integration, Observability for smolagents with Langfuse, Integrating Langfuse with Spring AI Using OpenTelemetry, Observability for Strands Agents with Langfuse, Trace Swiftide with Langfuse, Observability for TanStack AI with Langfuse, Trace Temporal Workflows with Langfuse, Observability and Tracing for the Vercel AI SDK, Observability for VoltAgent with Langfuse, Observability for IBM watsonx Orchestrate ADK with Langfuse, Anannas AI Integration, Route OpenTelemetry to Langfuse through Azure API Management, Helicone Integration, Kong API Gateway Integration, LiteLLM Proxy Integration, Trace OpenRouter with Langfuse, Integrate Portkey LLM Gateway with Langfuse, TrueFoundry AI Gateway Integration, Vercel AI Gateway Integration, Amazon Bedrock Integration, Integration - Amazon Bedrock Agents, Observability for Anthropic with Langfuse Integration, Observability for Anthropic JS/TS with Langfuse, Monitor Baseten with Langfuse, Monitor BytePlus model inference with Langfuse, Monitor Cerebras with Langfuse, Langfuse Integration with Cleanlab, Integrate Cohere with Langfuse, Monitor CometAPI with Langfuse, Databricks and Langfuse Overview, Example cookbook on how to monitor DeepSeek models with Langfuse using the OpenAI SDK, Integrate Fireworks AI with Langfuse, Observability for Google Gemini Models with Langfuse Integration, Observability for Google Vertex AI with Langfuse, Observability for Groq models with Langfuse Integration, Observability for Hugging Face Models with Langfuse Integration, Trace Mistral models with Langfuse, Realtime Classification with Morph Reflex Evaluators, Monitor Novita AI with Langfuse, Ollama Observability and Tracing for local LLMs using Langfuse, OSS Observability for OpenAI Assistants API, OpenAI (JS/TS), OpenAI (Python), Observability for Qwen with Langfuse, Monitor Together AI with Langfuse, Tracing vLLM with Langfuse via OpenTelemetry, Integrate X.ai (Grok) with Langfuse, Observability for Z.ai with Langfuse, OpenTelemetry (OTEL) for LLM Observability, Ingest experiment spans with OpenTelemetry, Migrate custom ingestion to Langfuse v4, Observability and tracing for Dify, Observability and Tracing for Flowise, Integrating Goose with Langfuse, Observability and Tracing for Langdock Agents, Observability and Tracing for Langflow, Observability and Tracing for LobeChat, n8n Integration, Langfuse Integration with OpenWebUI, Observability and Tracing for Ragflow, Open Source Observability for Vapi (Voice AI), Agentic Data Stack: LibreChat + ClickHouse + Langfuse, Langfuse Integration with Cognee, Langfuse Integration with EverOS, Monitor Exa AI Search with Langfuse, Monitor Firecrawl Scraper with Langfuse, Open Source LLM Observability for Gradio, Hermes Agent tracing with Langfuse, Observability & Tracing for Inferable (open source), LibreChat Observability with Langfuse Tracing, Observability for mcp-use with Langfuse, Langfuse Integration with Milvus, MLflow Integration via OpenTelemetry, Trace OpenClaw with Langfuse, Tracing using the OpenInference SDK, OpenLIT Integration via OpenTelemetry, OpenLLMetry Integration via OpenTelemetry, Monitor Parallel Tasks with Langfuse, Promptfoo Integration with Langfuse Prompt Management, Slack Integration with Langfuse, Human Evaluation for LLM Apps with Testable Minds, Automate Code Optimization with Weco and Langfuse, Zapier Integration with Langfuse

## Optional: Self-Hosting

For the full list with links to each page, see: https://langfuse.com/llms-self-hosting.txt

Pages: Self-host Langfuse (Open Source LLM Observability), Administration Overview (self-hosted), Automated Access Provisioning (self-hosted), Headless Initialization (self-hosted), Manage Organizations via API, Allowlist of organization creators (self-hosted), UI Customization (self-hosted), Configuration via Environment Variables (self-hosted), Backup Strategies for Langfuse, Caching (self-hosted), Code evaluators (self-hosted), Custom Base Path (self-hosted), Encryption (self-hosted), Hardening self-hosted Langfuse, Health and Readiness Check Endpoints, Observability via OpenTelemetry, Scaling Langfuse Deployments, Transactional Emails (self-hosted), Deploy Langfuse on AWS with Terraform, Deploy Langfuse on Azure with Terraform, Docker Compose Deployment (Self-Hosted), Deploy Langfuse on GCP with Terraform, S3 / Blob Storage Configuration (Self-Hosted), Cache (Redis/Valkey) Configuration (Self-Hosted), ClickHouse (self-hosted), Application Containers (self-hosted), LLM API / Gateway (self-hosted), Postgres Database (self-hosted), Kubernetes (Helm) (self-hosted), Deploy Langfuse v3 on Railway, Enterprise License Key (self-hosted), Langfuse OSS newsletter (self-hosting updates), Authentication and SSO (self-hosted), Data Masking (self-hosted), Deployment Strategies (self-hosted), Networking (self-hosted), Telemetry (self-hosted), Troubleshooting & FAQ for a self-hosted Langfuse deployment, How to upgrade a self-hosted Langfuse deployment, Background Migrations (self-hosted), Migrate Langfuse v1 to v2 (self-hosted), Migrate Langfuse v2 to v3 (self-hosted), Migrate Langfuse v3 to v4 (self-hosted), Versions & Compatibility, Self-host Langfuse v2, Self-hosting Langfuse v2, Local Deployment (v2, docker compose)