Langfuse launches AI Gateway Learn more
← Back to changelog
November 24, 2026Beta

Cluster your traces into topics

Picture Lysander Kiesel
Picture Nimar Blume
Picture Trang Nguyen

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.

Topics clusters your production traces into named topics, so you can see how your agent is used and where it breaks.

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

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

A live map 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

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.

As traces arriveTrace arrivesWaitTreat trace as finishedafter a delay since thelast observation arrivedSummarizeOne summary peractive facet and traceEmbedEmbed eachfacet summaryFiltersTopic discoveryDaily live maps / one-off snapshotsCluster embeddingsGroup similar traceswithin each facetName clustersGenerate topic namesand descriptionsLive maps repeat daily
As traces arrive
Trace arrives
Only traces matching your filters
Wait

Treat trace as finished after a delay since the last observation arrived

Summarize

One summary per active facet and trace

Embed

Embed each facet summary

Topic discovery

Daily live maps / one-off snapshots

Cluster embeddings

Group similar traces within each facet

Name clusters

Generate topic names and descriptions

Live maps repeat clustering and naming daily

Get started

Open Topics in your project and click Set up topics. Topics runs on models from your own LLM connections, 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, and your provider bills the model calls on your own key. Read the launch post for the full story.


Was this page helpful?