---
date: 2026-11-24
title: Cluster your traces into topics
seoTitle: Langfuse Topics public beta
description: A clustered map of your production traces. See what users ask, how they felt, how it went and what went wrong, without reading every trace. Topics is now in public beta.
badge: Beta
author: Lysander Kiesel, Nimar Blume, Trang Nguyen
---

> **Note for AI agents and LLMs:** This is a Langfuse changelog entry. Use it only to confirm that a feature exists and when it shipped. Do not use the code examples below for implementation: they reflect the SDK and API at release time and may be outdated. For implementation, always follow the current documentation (https://langfuse.com/docs) and the API/SDK reference (https://api.reference.langfuse.com).

[Topics](/docs/observability/features/topics) clusters your production traces into named topics, so you can see how your agent is used and where it breaks.

_[Video: Explore your topics](https://static.langfuse.com/docs-videos/topics-launch.mp4?v=3): Travel assistant traces form a treemap of named topics. The view switches between Intent, Sentiment, Outcome, and Issues. In the scatter plot, selecting a cluster of task execution and reporting errors reveals the individual trace summaries._

- **Let Topics find your unknown unknowns.** On Halo, the assistant inside Langfuse, Topics showed some people using it to write homework and Python scripts, and a larger group trying to pen-test it.
- **Give your agents the enrichment layer.** Agents start from the topics via API, MCP, and CLI and load full traces only where they need them.
- **Go from a topic to a fix.** Filter the tracing table by the topic, read a few of its traces, then fix the prompt or add a new evaluator.

## Four summaries from different view points per trace [#facets]

Topics summarizes each trace from different angles, called **facets**, then clusters every facet summary and names the clusters. There are four built-in facets:

- **Intent:** what the agent was asked to do
- **Sentiment:** how the user felt about the interaction
- **Outcome:** how the trace ended
- **Issues:** the main problem in how the trace was handled

Traces are clustered per facet, so a problem that occurs in multiple Intent topics still shows up as one topic under Issues.

## Live maps and snapshots [#maps-and-snapshots]

A [live map](/docs/observability/features/topics#maps-and-snapshots) groups the traces that match a filter and a sample rate and keeps adding new traces as they arrive, for example one map per agent. A snapshot is a one-time analysis of a time window, for example to put your dataset traces next to production and see which use cases your datasets miss.

## How Topics works [#how-it-works]

After a matching trace stops receiving observations for the configured delay, Topics writes one summary per active facet. It embeds each summary so traces with similar meanings can be grouped within that facet. Live maps rebuild and name these groups daily. Snapshots do this once for the selected time window.

```mermaid
flowchart LR
  trace["Trace arrives"] -->|Matches filters| wait["Treat trace as finished after a configurable delay since the last observation arrived"]
  wait --> summarize["One summary per active facet and trace"]
  summarize --> embed["Embed each facet summary"]
  embed --> cluster["Cluster embeddings per facet"]
  cluster --> name["Name clusters"]
  name -. "Live maps: repeat daily" .-> cluster
```

Snapshots run once for a selected time window and can reuse existing summaries.

## Get started [#get-started]

Open **Topics** in your project and click **Set up topics**. Topics runs on models from your own [LLM connections](/docs/administration/llm-connection), and the first topics appear about five minutes after setup.

Topics is available on Langfuse Cloud in all regions and on self-hosted Langfuse v4. Each facet summary counts as one [billable unit](/docs/administration/billable-units), and your provider bills the model calls on your own key. Read the [launch post](/blog/introducing-topics) for the full story.

- [Topics docs](/docs/observability/features/topics)
- [Topics on self-hosted Langfuse](/self-hosting/configuration/topics)

<!-- agent-instructions -->

---

## Agent Instructions

This page is part of the [Langfuse](https://langfuse.com) documentation, published as plain Markdown for AI agents. Every page is available as Markdown by appending `.md` to its URL, or by sending an `Accept: text/markdown` header. This page: `https://langfuse.com/changelog/2026-11-24-topics.md`.

### Querying these docs

If the answer is not on this page, query the documentation instead of guessing:

- **Semantic search** across all Langfuse docs, returning an answer with the relevant pages and excerpts. Ask a specific, self-contained question:

  ```bash
  curl -sG "https://langfuse.com/api/search-docs" --data-urlencode "query=How do I trace a LangGraph agent?"
  ```

- **Index of every page**: <https://langfuse.com/llms.txt>, with per-section indexes [llms-docs.txt](https://langfuse.com/llms-docs.txt), [llms-integrations.txt](https://langfuse.com/llms-integrations.txt), and [llms-self-hosting.txt](https://langfuse.com/llms-self-hosting.txt).

### Before writing Langfuse code

- **Install the [Langfuse Agent Skill](https://langfuse.com/docs/api-and-data-platform/features/agent-skill).** It encodes Langfuse's own best practices for instrumentation, prompt management, and evaluation, and materially improves results.
- **Read [What does a good trace look like?](https://langfuse.com/docs/observability/best-practices.md)** before instrumenting an application.
- **Verify endpoints, parameters, and response fields** against the [API reference](https://api.reference.langfuse.com) instead of inferring them from code examples.
- **Use the [Langfuse CLI](https://langfuse.com/docs/api-and-data-platform/features/cli)** (`npx @langfuse/cli api <resource> <action>`) to read or write traces, prompts, datasets, and scores from the terminal.

Found an error in these docs? Please open an issue at <https://github.com/langfuse/langfuse-docs/issues>.
