Insights is available for LangSmith Plus and Enterprise plans. On self-hosted LangSmith, continuous Insights requires v0.18 or later with SmithDB. Other self-hosted installations generate batch reports instead. To check which mode your installation uses, see Check whether Insights runs continuously.
How Insights works
Each insight works in two stages:- Build categories: Insights summarizes a sample of recent traces, by default up to 500 traces from the last 7 days, and groups the summaries into top-level categories and subcategories. The first build starts when you create the insight and can take up to 30 minutes.
- Categorize new conversations: Insights samples conversations as they arrive. For each sampled conversation, it writes a summary, extracts any attributes, and assigns the category and subcategory that fit best. A conversation is a thread, or a trace that does not belong to a thread. Insights analyzes a thread after it has been idle for the environment’s thread idle time, 10 minutes by default.
Prerequisites
- Model access for Insights: the API key for each model provider Insights uses, saved in your workspace. To check or add keys, click Configure when you create an insight, or Edit on an existing one, then click API keys in the Select models section. For workspace-wide model settings, see model configurations.
- Permissions to view the agent environment. If an access policy limits which traces you can see in an environment, Insights does not show that environment’s insights.
- The
rules:createpermission to create insights and refresh their categories,rules:updateto edit them, andrules:deleteto delete them.
Create an insight
- UI
- SDK
- CLI
To create an insight:
- Select your agent in the agent switcher and click Insights in the left-hand menu.
- If Insights already lists insights, click New insight.
- Under What do you want to know about your users?, enter a question, for example “What do users ask for most?”
- (Optional) Click Configure to change the settings before the first build. See Configure an insight.
- Click Run analysis.
Read an insight
Insights shows a card for each insight with its top categories over the last 14 days. Click a card to open the insight. An open insight shows its status, when it last categorized a trace, and these views of the selected time range:- Top categories: The number of categorized traces in each category. Click a category to focus the chart and the table on it.
- Categories over time: Daily counts for each category, in UTC. Trends draws a line for each category, and Volume stacks the categories into the categorized total. A Categories updated marker shows when the insight’s categories last changed.
- Breakdown table: Each category’s description, trace count, Number and Boolean attribute values, feedback scores, error rate, P50 and P99 latency, P50 tokens, and P50 cost. Boolean attributes show the percentage of traces where the attribute is true. String attributes do not appear in the table. Expand a category to see its subcategories. Click a subcategory, or a category without subcategories, to open its traces in a new tab.
Check the status of an insight
The status line under an insight’s name says whether it categorizes new conversations, and what to do if it does not:- Building categories: The first build is running. The status names its current step.
- Continuously analyzing: The insight is live. The status shows its sampling rate.
- Paused: Either the sampling rate is 0%, or some of the insight’s automation rules are missing. If the rate is 0%, set a higher rate. If rules are missing, the workspace reached its rule limit: turn off or delete unused rules, then click Refresh categories to recreate them.
- Off: The insight does not analyze new conversations, for example a saved configuration from a one-time batch report. Set a sampling rate to start.
- Not live: The insight needs a build before it can start. Click Build categories or Refresh categories. If the last build found no traces to categorize, check the insight’s filters.
Insights from earlier batch reports
Saved configurations from batch reports created before continuous analysis appear as insights. Those that ran on a schedule categorize new conversations. The others are Off until you set a sampling rate. Schedules no longer start reports. Past reports no longer open as report pages. The conversations each report categorized appear in the matching insight’s charts for the dates the report covered. To read a past report’s executive summary and category statistics, uselangsmith insights get.
Configure an insight
To change an existing insight, open it and click Edit. To set these options before the first build, click Configure when you create the insight. Edits apply to conversations analyzed after you save, and traces that already have a category keep it. Changing the insight’s categories saves the insight and starts a build, so the button reads Save and run.Choose runs
- Add filters (optional): Choose conditions to include only certain runs. Insights always analyzes root runs. Below the filters, Insights shows how many conversations matched them last week.
- Choose sampling rate: The percentage of incoming conversations that Insights analyzes. A higher rate gives more representative results and costs more. 0% pauses the insight.
Select models
Insights uses two models:- Summarization model: Summarizes each trace and extracts attributes. A fast model with a large context window works well.
- Categorization model: Groups traces into categories and assigns new traces to them. A model with strong reasoning works well.
Create categories
By default, AI Suggested has Insights find categories and subcategories on the first build. To set the top-level categories yourself, select Custom and add up to 10 categories, each with a name and a description. Insights still finds subcategories within them on each build. When you edit an insight, you can add, remove, or rename its categories. Saving starts a build with the new categories.Add attributes
Attributes capture properties of each trace, such as sentiment or user satisfaction, that the breakdown table reports for each category. To add an attribute, click Add Attribute and set:- Name: The attribute’s name. For Number and Boolean attributes, this is the column name in the breakdown table.
- Type: Boolean, Number, or String.
- What should Insights look for?: A description of the property, which the summarization model uses to extract it.
- Filter: For Boolean attributes only. When selected, Insights categorizes and counts only traces where the attribute is true, for example to focus an insight on conversations where the agent made a mistake.
Delete an insight
To delete an insight, open it, click Edit, and click Delete at the bottom of its settings. Deleting an insight stops it from categorizing new traces. Traces it already categorized keep their categories.Refresh categories
Categories do not refresh automatically. To rebuild an insight’s categories from a new sample of recent traces, open the insight and click Refresh categories. New conversations keep using the current categories until the build finishes. While it runs, the insight shows Refreshing categories. If the build fails, the insight shows Refresh failed and keeps its current categories. If the build finds no usable categories, it shows Categories not updated.Share an insight
To share an insight, open it and click Share:- Copy link: Copies a link to the insight as you see it, including the time range and any selected category.
- Download CSV: Downloads every category and subcategory with all of its statistics, whatever the table shows.
- Download PDF: Downloads the charts and the full breakdown. This option is available once the chart data finishes loading.
Send updates to Slack
Insights can post updates about an insight to a Slack channel. This requires a Slack workspace connected to your LangSmith organization. If none is connected, the Slack notifications section of the insight’s settings shows a Connect Slack button. On self-hosted LangSmith, an operator must first configure a Slack app. To send updates to Slack:- In the insight’s settings, go to Slack notifications and select a channel.
- Turn on the updates you want:
- Categories ready: Posts when the insight’s categories are first built and each time they are refreshed.
- Digest: Posts the top categories and how they changed, on a schedule. Choose Daily or Weekly, then the day and time. The schedule uses the time zone of the browser you first set it up from.
- Click Save.
Manage costs
Insights calls your models for each conversation it analyzes, so its cost depends on:- Sampling rate and traffic: Each sampled conversation takes one call to the summarization model and one to the categorization model. Because the sampling rate does not adjust to traffic, a traffic spike increases cost.
- Conversation size: Longer conversations send more tokens to the summarization model.
- Category builds: Each build summarizes up to 500 traces and groups them with the categorization model.
Limitations
- Insights assigns each trace one category, the best fit, even when no category matches it exactly.
- Insights reads a trace’s inputs, outputs, errors, feedback, and thread messages. It does not read trace metadata.
- An agent environment can hold up to 100 insights.
- A workspace can build categories for up to three insights at a time.
See also
- Generate batch Insights reports on self-hosted LangSmith
- Manage insights with the LangSmith CLI
- How Engine differs from Insights
- Configure model access
- Set up thread-level online evaluators
Connect these docs to your agent of choice via MCP for real-time answers.

