Integration Overview

Integrate your application with Langfuse to explore production traces and metrics.


  1. Capture traces of your application
  2. Add scores to these traces to measure/evaluate quality of outputs

There are currently four main ways to integrate with Langfuse:

SDKPython, JS/TSManual instrumentation using the SDKs for full flexibility.
OpenAIPythonAutomated instrumentation using drop-in replacement of OpenAI SDK.
LangchainPython, JS/TSAutomated instrumentation by passing callback handler to Langchain application.
APIDirectly call the public API. OpenAPI spec available.

In addition, Langfuse is natively integrated with the following projects/packages:

FlowiseJS/TS no-code builder for customized LLM flows.
LangflowPython-based UI for LangChain, designed with react-flow to provide an effortless way to experiment and prototype flows.
LiteLLMUse any LLM as a drop in replacement for GPT. Use Azure, OpenAI, Cohere, Anthropic, Ollama, VLLM, Sagemaker, HuggingFace, Replicate (100+ LLMs).
SuperagentOpen Source AI Assistant Framework & API for prototyping and deployment of agents.

Unsure which integration to choose? Ask us on Discord or in the chat.

Was this page useful?

Questions? We're here to help

Subscribe to updates