Docs
Integrations overview

Integrations

To explore production traces and metrics in Langfuse, you need to integrate your application with Langfuse.

Objective:

  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:

IntegrationSupportsDescription
LangchainJS/TS, PythonAutomated instrumentation by passing callback handler to Langchain application.
SDKJS/TS, PythonManual instrumentation using the SDKs for full flexibility.
OpenAIPythonAutomated instrumentation using drop-in replacement of OpenAI SDK.
APIDirectly call the public API. OpenAPI spec available.

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

NameDescription
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).

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

Was this page useful?

Questions? We're here to help