Skip to content

langfuse/langfuse-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

langfuse-examples

Examples on how to deploy and use Langfuse. Here, we try to highlight amazing work by our contributors and partners.

Usage Examples

Example Description Contributor
Spring AI Demo A simple Spring Boot application that uses Langfuse to trace a chat endpoint. @jakehilborn
Quarkus Langchain4j Demo A Quarkus Langchain4J application that uses Langfuse for tracing. @geoand
Go Langchain Demo A Go application using langchaingo with OpenTelemetry tracing to Langfuse.
DSPy.rb Langfuse Integration A Ruby framework for LLM programming with built-in Langfuse tracing via OpenTelemetry. @vicentereig
Tracing Pipecat Applications A Pipecat application sending traces to Langfuse. @aabedraba
Tracing MCP Servers An example on using the OpenAI agents SDK together with an MCP server. @aabedraba
RAG Observability and Evals A RAG application that uses Langfuse for tracing and evals. @aabedraba
User Feedback An example on collecting user feedback using Langfuse Web SDK. @aabedraba
Custom Annotation UI An example on building a custom annotation UI using Langfuse APIs. @aabedraba

Deployment Examples

Here, we highlight community maintained deployment examples for various cloud providers. For the Langfuse-maintained modules checkout langfuse-terraform-aws and langfuse-terraform-gcp.

Example Description Contributor
AWS Terraform This Terraform module provides infrastructure components for deploying Langfuse v3 self-hosted on Amazon Web Service (AWS). @tubone24
AWS CDK This repository contains the AWS CDK Python code for deploying the Langfuse application using Amazon Elastic Container Registry (ECR) and Amazon Elastic Container Service (ECS). @ksmin23
GCP Terraform Terraform configuration for self-hosting Langfuse on Google Cloud. @sotazum

Community-maintained SDKs

Below is a list of SDKs maintained by the community. Please note that for tracing (other than Python or JS/TS), you can also use the OpenTelemetry SDK of your choice and send traces to the Langfuse OTel Endpoint.

Language Description Contributor
Rust Unofficial Rust client for Langfuse: adolfousier/langfuse-rust @adolfousier
Ruby Unofficial Ruby SDK for Langfuse: ai-firstly/langfuse-ruby @ai-firstly
Ruby Unofficial Ruby SDK for Langfuse: simplepractice/langfuse-ruby @NoahFisher
Elixir Unofficial Elixir SDK for Langfuse: workera-ai/langfuse_sdk @workera-ai
PHP PHP library for integrating Langfuse: janzaba/langfuse-php @janzaba
.NET .NET client library for Langfuse: lukaszzborek/Langfuse-dotnet @lukaszzborek
JVM Java/JVM SDK for Langfuse: kpavlov/langfuse-jvm @kpavlov
Go Go SDK for Langfuse: henomis/langfuse-go @henomis
Go Go SDK for Langfuse: wepala/langfuse-go @wepala

Disclaimer

All examples are provided as-is and are meant to illustrate how to deploy and use Langfuse. Langfuse does not assume any responsibility or liability for the examples given, especially references to external repositories or web-sites.

Additional Resources

About

Examples on how to deploy and use Langfuse

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7