Langfuse
Use case: Evals
Open-source LLM observability: traces, evals and prompt management for agents.
Langfuse is an open-source AI engineering platform for debugging, analysing and improving LLM applications and agents. Its documentation describes three products that share one data model: observability (tracing), prompt management and evaluation, with an API and data-export layer around them. A trace can include LLM calls and non-LLM steps such as retrieval, embedding and API calls, multi-turn conversations can be grouped as sessions, and agent runs can be viewed as graphs.
It is written for teams that already have an LLM feature or agent running and need to see what it is actually doing: what each step cost, where the latency came from, and which prompt version produced a bad answer. Instrumentation goes through native Python and JavaScript SDKs, more than 100 library and framework integrations, OpenTelemetry, or an LLM gateway such as LiteLLM, so it can usually be added without changing the agent framework underneath. In this directory it is the observability layer of the evals use case: tracing and prompt versioning for live traffic, with datasets, experiments and LLM-as-judge scoring when you want to measure quality.
The repository is MIT-licensed apart from directories named ee/, which fall under a separate licence, and the self-hosting docs note that some add-on features need a licence key. Self-hosting runs the same infrastructure as Langfuse Cloud: a web container and a worker container, backed by Postgres, ClickHouse, Redis or Valkey, and S3-compatible storage. Docker Compose is meant for local testing on a single VM, and Kubernetes with Helm or the cloud templates are the route for production. Langfuse Cloud has a free Hobby plan that needs no credit card, plus paid plans; see the official pricing page for current limits and prices.
Like Langfuse? Find tools like it on X.
Follow @AgentstackDaily, plus the free Top 25 Agent Tools checklist.
At a glance
- Category
- Evals
- Best for
- Best memory and evaluation tools for AI agents · Evals use cases
- Official site
- github.com
- Link checked
- November 4, 2026
- Data
- JSON
How Langfuse fits an agent workflow
In an agent stack, Langfuse belongs to the Evals category, which covers the measurement layer, where agent runs are benchmarked, traced and scored. You will also find it in our curated list: Best memory and evaluation tools for AI agents. Other Evals entries worth a look alongside it include promptfoo, DeepEval and Arize Phoenix.
Langfuse alternatives
- SWE-bench — Benchmark of real GitHub issues for evaluating coding agents.
- Inspect AI — UK AISI framework for LLM and agent evaluations with sandboxed tools.
- OpenAI Evals — Framework and registry for evaluating LLMs and LLM systems.
- promptfoo — CLI for testing prompts, agents and RAG with assertions and red-teaming.
- DeepEval — Pytest-like LLM evaluation framework with agentic metrics like task completion.
- Arize Phoenix — Open-source tracing and evaluation for LLM apps built on OpenTelemetry.
All Evals tools → · Best memory and evaluation tools for AI agents
Related tools
- tau-bench
Sierra benchmark for tool-agent-user interaction in realistic domains.
- Terminal-Bench
Benchmark for agents completing tasks in real terminal environments.
- Braintrust
Eval and observability platform for iterating on AI products.
- Ragas
Evaluation toolkit for RAG and agent pipelines.
- Anthropic: Demystifying evals for AI agents
Practical guidance on designing graders and tasks for agent evaluation.
FAQ
Is Langfuse open source?
The code is open source under the MIT licence, except for directories named ee/, which carry a separate enterprise licence. You can self-host it with Docker or Kubernetes, though some add-on features require a licence key.
How do I get started with Langfuse?
Either sign up for Langfuse Cloud or self-host it, then start tracing with one of the Python or JavaScript SDKs, a framework integration, OpenTelemetry or an LLM gateway such as LiteLLM. The "Start Tracing" guide in the Langfuse docs walks through a first trace, and the self-hosting overview covers Docker Compose for local testing and Kubernetes for production.
What is the difference between Langfuse and promptfoo?
Langfuse is a platform that records traces from running applications, versions prompts and runs evaluations on stored data, and it needs a database behind it. promptfoo is a command-line tool and library that runs declarative test cases against prompts and models and can red-team an app, and its evals run locally. Teams often care about both: tests before release and traces after it.
What are alternatives to Langfuse in this directory?
For tracing and evaluation, compare Arize Phoenix, LangSmith, Helicone, Braintrust and W&B Weave. For test-style evaluation, see promptfoo and DeepEval. Each page lists what the project is and where its official site is.
Get new agent tools and tips as they're added
Follow @AgentstackDaily on X for new tools and copy-paste tips. Free.