This is an early release preview. You may encounter bugs.
Langfuse logo
Unclaimed

Tool monitoring qa

Langfuse

Open-source platform for tracing, evaluating, and debugging LLM applications, self-hosted or cloud

A+ 93/100 GitHub score ? This grade is derived from GitHub signals, not user votes. Open for the full breakdown.
Discussion

01 / Summary

About Langfuse.

Langfuse is an LLM engineering platform for teams that develop, monitor, evaluate, and debug AI applications. An application instruments its code with the SDKs or an automated integration and sends traces to Langfuse, which records LLM calls together with related logic such as retrieval, embedding, and agent actions, so a team can inspect and debug logs and user sessions. It runs as a managed cloud service or self-hosted on your own infrastructure (a single machine with Docker Compose, a VM, or Kubernetes with Helm, with Terraform templates for AWS, Azure, and GCP). Storage uses the ClickHouse database.

Beyond tracing, it manages prompts centrally with version control and server- and client-side caching, so prompt iteration adds no latency to the application. Evaluation covers LLM-as-a-judge, code evaluators, user feedback collection, manual labeling, and custom evaluation workflows through the API and SDKs. Datasets hold test sets and benchmarks for pre-deployment testing and structured experiments, and a playground lets you jump from a bad trace to iterating on the prompt and model configuration.

Instrumentation comes in several forms: Python and JS/TS SDKs for manual tracing, a drop-in replacement for the OpenAI SDK, callback handlers for LangChain, LlamaIndex, and Haystack, the LiteLLM proxy, the Vercel AI SDK, and Mastra. Further integrations cover Instructor, DSPy, Mirascope, Ollama, Amazon Bedrock, AutoGen, Flowise, Langflow, Dify, Open WebUI, Promptfoo, LobeChat, Vapi, Inferable, Gradio, Goose, smolagents, and CrewAI. A public API with an OpenAPI spec, a Postman collection, and typed SDKs lets teams build their own LLMOps workflows on the same building blocks.

Self-hosted instances report basic usage statistics to a central server by default. The telemetry excludes raw traces, prompts, observations, scores, and dataset contents, and the open-source edition can opt out.

  • Tracing: ingests traces of LLM calls, retrieval, embedding, and agent actions, with inspection of nested logs and user sessions
  • Prompt management: central versioning and collaborative iteration on prompts, cached on server and client so changes add no latency
  • Evaluations: LLM-as-a-judge, code evaluators, user feedback, manual labeling, and custom evaluation workflows via the API and SDKs
  • Datasets: test sets and benchmarks for pre-deployment testing and structured experiments, usable from LangChain and LlamaIndex
  • Playground: test and iterate on prompts and model configurations, reachable directly from a trace with a bad result
  • API and SDKs: public API with an OpenAPI spec and Postman collection, plus typed Python and JS/TS SDKs for custom LLMOps workflows
  • Automated instrumentation: a drop-in OpenAI SDK replacement, callback handlers for LangChain, LlamaIndex, and Haystack, the LiteLLM proxy, the Vercel AI SDK, and Mastra
  • Further integrations: Instructor, DSPy, Mirascope, Ollama, Amazon Bedrock, AutoGen, Flowise, Langflow, Dify, Open WebUI, Promptfoo, LobeChat, Vapi, Gradio, Goose, smolagents, and CrewAI
  • Deployment: Langfuse Cloud, or self-hosted with Docker Compose, a VM, Kubernetes with Helm, or Terraform templates for AWS, Azure, and GCP
  • Telemetry: self-hosted instances send basic usage statistics by default, never raw traces, prompts, scores, or dataset contents, and the open-source edition can opt out

02 / Discussion CREDIBILITY-GATED

Discussion

Reading is open to everyone. Posting and voting need a verified identity or a GitHub grade of B or higher.

  • No discussions yet.

04 / Build

Build with Langfuse.

Browse the catalog for frameworks, tools, and harnesses, each scored on real GitHub credibility.

Get Langfuse →

Browse the catalog