What do you want to do?
3 use cases
-
Self-host LLM tracing in five minutes
Run Langfuse locally with Docker Compose and start sending traces from your app.
View prompt
Self-host langfuse/langfuse locally with Docker Compose, then add tracing to my <app> using the <OpenAI or Langchain> integration. Send a few test requests and show me the trace for the slowest one.
-
Version and test prompts outside your code
Move prompts into Langfuse Prompt Management and iterate on them in the LLM Playground.
View prompt
Using langfuse/langfuse, move the prompts in <file> into Prompt Management, update my code to fetch them through the SDK, and set up the playground so I can test a new version against <example trace>.
-
Score your app's answers with evals and datasets
Build a dataset of test cases and score outputs with LLM-as-a-judge, code evaluators and user feedback.
View prompt
Using langfuse/langfuse, create a dataset from <examples>, run it against <current model> and <new model>, and score both with an LLM-as-a-judge evaluator for <criteria>. Summarise which version wins and on which cases.
Quick start with Langfuse
- Check you have what it needs: Docker and Docker Compose for local self-hosting, or a Langfuse Cloud account; The Python or JS/TS SDK, or a supported framework integration; For production: a VM, Kubernetes with Helm, or Terraform on AWS, Azure or GCP.
- Open langfuse/langfuse on GitHub and read the README and license.
- Clone the repo with
git clone --depth=1 https://github.com/langfuse/langfuse.gitandcd langfuse - Start it with
docker compose up - Instrument your app with the Python or JS/TS SDK, or a drop-in integration such as OpenAI, Langchain or LlamaIndex
- Open the Langfuse UI and inspect the traces for a request that went wrong
These steps come from our top use case, Self-host LLM tracing in five minutes, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for langfuse/langfuse
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeAbout this repo
- Who it is forTeams shipping LLM apps or agents who need to see what each call did, manage prompts and measure quality over time.
- Why it is hot+509 stars this week, 37k total, talked about in 2 AI sources we track
- LanguageTypeScript
- Sourcegithub.com/langfuse/langfuse ยท Back to Hot repos
Requirements
- Docker and Docker Compose for local self-hosting, or a Langfuse Cloud account
- The Python or JS/TS SDK, or a supported framework integration
- For production: a VM, Kubernetes with Helm, or Terraform on AWS, Azure or GCP
Add this badge to your README
Maintain Langfuse? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/langfuse-langfuse/?utm_source=github&utm_medium=badge&utm_campaign=langfuse-langfuse)
HTML
<a href="https://dedupedai.com/use-cases/langfuse-langfuse/?utm_source=github&utm_medium=badge&utm_campaign=langfuse-langfuse"><img src="https://dedupedai.com/badge/langfuse/langfuse.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Langfuse
What is Langfuse?
Langfuse is an open source LLM engineering platform for developing, monitoring, evaluating and debugging AI applications. It traces LLM calls, retrieval and agent steps, manages and versions prompts, runs evaluations with LLM-as-a-judge, code evaluators and user feedback, keeps datasets for testing, and offers a playground and a full API. It can be self-hosted with Docker Compose in minutes or used as a managed cloud. It is an open-source project on GitHub: https://github.com/langfuse/langfuse.
How do I use Langfuse?
Clone the repo with git clone --depth=1 https://github.com/langfuse/langfuse.git and cd langfuse; then start it with docker compose up; Instrument your app with the Python or JS/TS SDK, or a drop-in integration such as OpenAI, Langchain or LlamaIndex. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Langfuse for?
Teams shipping LLM apps or agents who need to see what each call did, manage prompts and measure quality over time.
What can I do with Langfuse?
3 use cases so far, for example: Self-host LLM tracing in five minutes; Version and test prompts outside your code; Score your app's answers with evals and datasets. Each has steps and a copy-paste agent prompt.
What do I need to run Langfuse?
Docker and Docker Compose for local self-hosting, or a Langfuse Cloud account; The Python or JS/TS SDK, or a supported framework integration; For production: a VM, Kubernetes with Helm, or Terraform on AWS, Azure or GCP.
What are alternatives to Langfuse?
Other hot AI repos in Software and DevOps: ECC, Thinkrail, Superpowers, Deep Infer, Instructor.
Is Langfuse safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.