Skip to main content
Loop lets you ask questions about your app’s behavior in production and helps you improve it. It works with your traces, experiments, datasets, and connected code to diagnose problems, build evaluations, and suggest or implement fixes. Explore the capabilities below, or get started with Loop.
Loop starts consuming Braintrust credits on December 7, 2026.

Investigate

Ask questions about your data, from a single trace up to every project in your organization.

Explore your data

Loop queries logs, experiments, and datasets with SQL to uncover trends, costs, and recurring problems.
Run in Loop
Run in Loop
Run in Loop
Run in LoopThe query stays on the Query page for you to edit. Ask Loop to refine or fix it as needed.
Run in LoopLoop resolves span_attributes.created_by_user_id to organization member names and emails, and span_attributes.created_by_api_key_id to API key and service token names. You can ask about people and keys by name.
Fields you define in metadata, including ones named like metadata.user_id, describe your own application’s users. Loop doesn’t read them as Braintrust members.
From the logs table, Loop can turn a question into a SQL filter or find traces similar to your selection.

Analyze traces

Loop diagnoses trace failures and summarizes work across LLM and tool calls. Paste a trace permalink or ID into the thread to give Loop the context.
Run in Loop
Loop can also help troubleshoot online scoring failures.

Find patterns

Loop searches logs and raw traces for recurring problems and trends, even without a scorer measuring them, and records them as patterns.
Run in Loop
Run in Loop
Run in Loop
Each pattern includes supporting evidence. Loop updates an existing pattern when it finds related evidence, rather than creating a duplicate.
Loop can also find patterns on a schedule, without being asked. See Enable Patterns.

Use external tools and context

Connect external MCP servers so Loop can combine trace evidence with known issues, internal documentation, and other business context. Depending on the server’s tools, Loop can also create follow-up tasks from its findings.
Run in Loop
Run in Loop

Investigate failures in source code

The GitHub integration lets Loop investigate failures using your code, pull request reviews, and CI logs and artifacts. With write access, it can write a fix and regression test, push a branch, and open a pull request.
Run in Loop
Run in Loop
Run in Loop

Analyze projects

Loop can investigate a whole project or compare projects across your organization. For a single project, enter a prompt in Search or ask Loop anything on its Home page.
Run in Loop
Run in Loop
Run in Loop
Run in Loop
To compare projects, select Loop agent from the organization-level projects list. Ask about project metrics, usage, or performance trends.
Run in Loop
Run in Loop
Run in Loop

Build

Turn findings into saved Braintrust objects. Loop asks for approval before creating or changing them.

Author prompts and evaluators

Loop creates and tests prompts, scorers, and classifiers based on your application’s behavior. Scorers return numbers, and classifiers return labels.
Run in Loop
Run in Loop
Run in Loop
Run in Loop
Run in LoopLoop tests unsaved copies of your judges and compares their scores with the recorded ones. To check per-token rates and other ways to lower scorer costs, see Optimize scorer calls.
Loop can also create human review scores, including categorical choices, sliders, and free-form inputs. It can revise playground prompts from your annotations on individual outputs.

Curate datasets

Loop creates datasets from your logs, edits rows, and manages dataset versions and environments.
Run in Loop
Run in Loop
Run in LoopLoop copies log rows into a dataset in the same project. Each row links to its source. This copies individual rows, not full-trace references. See Copy behavior and limits.
Run in Loop
Restoring a dataset to a snapshot replaces its current rows. Review the proposed snapshot before approving the restore. The confirmation flow lets you save the current state first.
Run in Loop
Retagging an environment changes which dataset state your applications resolve. Review the proposed mapping before approving it.
Run in Loop
Loop can list snapshots, their environment tags, and the current head version. It can also list or create environments and clear their dataset mappings.

Build views and dashboards

Loop creates and edits custom views for traces and dataset rows, and builds dashboard charts.
Run in Loop
Run in Loop
Run in Loop
Run in Loop
Run in Loop

Configure Topics

Loop configures Topics for your project, from extracting conversation text to testing facets and enabling automatic analysis.
Run in Loop
Changing the project default preprocessor affects every function that uses it, including built-in Topics facets. Loop asks for approval before changing it.
Run in Loop
Run in Loop
Loop tests the project’s default preprocessor and can write a custom one if it returns no conversation text. It recommends span, trace, or group scope based on your data and available grouping keys. Loop tests facets on up to ten representative traces, showing results for your feedback. It can reuse that set as you refine the prompt, run evals for larger sets, and compare candidate prompts before saving them. After enabling Topics, Loop can process a historical window. This consumes Braintrust credits. Loop estimates the volume and asks for approval before processing historical traces.

Run and automate

Test changes with evaluations, then schedule recurring checks or alerts.

Run evaluations

Loop creates experiments and reruns evaluations in playgrounds or experiments. It can edit the task prompt or code, add or modify scorers, and rerun the evaluation to compare results.
Run in Loop
Run in Loop
Run in Loop
New experiments can use a dataset, inline rows, or a prior experiment, with a saved or inline task and your chosen scorers. When a prior experiment supplies the data, its outputs become the expected values.
Loop runs evaluations in Braintrust rather than by writing an Eval() script. To keep evaluations in your own repository and run them in CI, see Run evaluations in code.

Manage automations and alerts

Loop turns investigations into alerts and scheduled checks, and helps you inspect existing automations.
Run in Loop
Run in Loop
Run in Loop
Run in LoopLoop can list online scoring rules, alerts, exports, retention policies, and Topics automations with their full configurations.
Run in Loop
Loop can create scheduled jobs with their own instructions and schedules, pause or resume automations, and rewrite alerts or Loop automations. Scheduled exports and retention policies are inspect-only.
Rewriting an automation replaces its entire configuration. Ask Loop to read the current configuration first, then review the proposed replacement before approving it.
To configure these directly, see Alerts and Loop automations.

Get help

Find documentation, locate Braintrust objects, and get help.

Search docs and find objects

Loop finds documentation and Braintrust objects, compares experiment results, and provides shareable links.
Run in Loop
Run in Loop

Request support

Loop can’t file support tickets. For help, email support@braintrust.dev.

Next steps