GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Braintrust home page
  • Contact us
  • Dashboard
  • Integrations
  • SDKs
  • Reference
  • Cookbook
  • Troubleshooting
  • Changelog
  • Tutorial
  • Plans and limits
  • Overview
  • User feedback
  • Attachments

This view

  • Original page
  • New address

GeezerVison is showing docs.braintrust.dev — Enable Patterns - Braintrust

Patterns helps you discover recurring problems and opportunities to improve your AI application. It uses Loop to investigate your traces and surface findings with evidence and suggested next steps. Use these findings to prioritize fixes, uncover unmet user needs, or monitor recurring behavior.
Patterns starts consuming Braintrust credits on December 7, 2026.
Pattern report with properties, an impact chart, summary, suggested fix, and highlighted trace evidence

Before you start

To enable Patterns, you need:
  • Traces logged to your project
  • Access to models, either built-in or from a compatible AI provider configured for your organization or the project
  • Membership in the Owners or Engineers permission group, or another group that grants the project’s Update permission
  • For BYOC deployments, the Loop runtime in your data plane
To receive Slack notifications, you also need a connected Slack workspace.

Connect your code

Optionally, connect GitHub so Loop can investigate trace problems alongside the code that produced them and point suggested fixes to relevant files. The GitHub guide covers setup, required permissions, and shared access.

Enable pattern discovery

  1. Go to Patterns and click Continue.
  2. If prompted, choose a model provider.
  3. Optionally, select a Slack workspace and channel for pattern alerts.
  4. Click Enable Patterns.
Get started with Patterns panel with a Continue button
Patterns Slack alert setup with a channel selector and Enable Patterns button
Braintrust creates a Pattern discovery rule and queues its first run immediately. It then runs on a fixed schedule and checks for new traces between runs. New patterns appear as each run finishes. To focus on specific traces and problems, configure pattern discovery.

Configure pattern alerts

Braintrust sends an alert when a pattern is created or reopened, including patterns found in interactive Loop conversations, if its severity meets the project’s alert severity. By default, high, medium, and informational patterns send alerts. Low-severity patterns don’t, and neither do older patterns recorded without a severity. An active pattern sends another alert when Loop or an assistant raises its severity from below the alert severity to at or above it. Other updates to an active pattern don’t send alerts. All destinations receive individual pattern alerts, not a report from the discovery run. For recurring summaries, including when there are no significant changes, create a Digest.

Choose destinations

You can configure one Slack channel alongside webhooks and PagerDuty. All configured destinations receive the project’s pattern alerts. Editing destinations requires the project’s Update permission.
Saving project destinations replaces rule-specific alert routing: all rules use the project destinations. Removing all project destinations stops alerts, even if rules still have destinations.
Go to Settings > Patterns. Under Alert destinations, choose:
  • Slack: Select a workspace and channel.
  • Other > Webhook: Enter the URL. To add headers, see Custom webhook headers. Use Add webhook for another endpoint.
  • Other > PagerDuty: Enter an integration key and choose a severity.
Click Save. Saved destinations appear as pills. Click a pill to edit it. To remove a destination, hover over its pill and click . The removal saves immediately, and removing the last destination stops alerts. Alerts don’t use a Formatting prompt.

Migrating from rule destinations

Until project destinations are saved, existing rules send alerts to their own destinations. The rule editor shows them under Alerts but can’t change them. Save project destinations to receive alerts for patterns created in interactive conversations too. The Slack channel selected during Patterns setup becomes a project destination.

Choose alert severities

Choose the lowest severity that sends alerts. The setting applies to all of the project’s alert destinations. Changing it requires the project’s Update permission.
  1. Go to Settings > Patterns.
  2. Open the Alerts on menu and choose Low and above, Medium and above, or High. The default is Medium and above. Older patterns without a severity count as low.
  3. Select or clear Informational to turn alerts for informational patterns on or off. They’re on by default, whichever minimum you choose.
Your choice is saved when you select it.

Slack alert contents

  • Finding: Name, description, severity, categories, and first and last seen times. Reopened patterns show Reopened after the name, and patterns whose severity was raised show Severity raised.
  • Evidence: Available links open examples in the pattern’s evidence panel.
  • Impact: When a saved measurement is available, the alert shows affected users, sessions, or traces across the project, such as Users affected 87 (Nov 1 – Nov 14).

Tag an agent or teammate

Braintrust can mention a Slack agent or teammate in a reply to each pattern alert, with instructions to investigate it. First, save a Slack destination for the project. Then, on the same Settings page:
  1. Click Configure beside Pattern Slack mention, or Enabled to edit it.
  2. Select a workspace member under Mention agent/user.
  3. Enter a Prompt of up to 2,000 characters. Include {{pattern}} for the pattern link. For example:
    Please investigate this pattern: {{pattern}}. Review the evidence, identify the root cause, and suggest a fix.
    
  4. Check Preview, then click Save.
Mentions apply only to Slack alerts in the configured workspace. To stop mentions while keeping alerts, open Pattern Slack mention and click Disable.

Troubleshoot

Why am I asked to choose a provider?

Patterns can use providers configured for your organization or the project.
  • When built-in models are available, Patterns selects them automatically. On Enterprise, you can choose a compatible configured provider instead.
  • When built-in models are unavailable, Patterns selects your only compatible configured provider automatically. If you have several, you choose one.
If setup automatically selects your organization’s default provider for Loop, the rule follows that default when it changes. In all other cases, the rule keeps its initial provider and model, whether you or setup selected them.To change the provider or model later, edit the rule’s Model, or turn on Auto to follow your organization’s default provider for Loop.

Setup asks you to add a provider

Setup shows Add provider instead of Enable Patterns if built-in models are unavailable and neither your organization nor the project has a compatible provider. Click Add provider to configure a provider without leaving setup.
  • Built-in models are disabled. To use them instead of your own provider, enable them in Settings > Models. Your organization must meet the built-in model requirements.
  • Your credits are exhausted. Starting December 7, 2026, Patterns skips runs on Starter without on-demand usage when your Braintrust credits run out, including with your own provider key. Enable on-demand usage to continue, or wait for the next monthly allowance. Runs resume automatically when credits are available again.

Patterns is paused

If your Enterprise account’s Patterns and Loop access is paused pending acceptance of the Braintrust credit terms, the rules menu shows Pattern rules · Paused. You can’t create, edit, or run rules until an eligible member accepts the terms. Existing patterns stay visible.

Patterns isn't available in your BYOC deployment

Patterns runs in the Loop runtime, which depends on your BYOC deployment’s cloud and region. See BYOC Loop availability.

Slack channel isn't listed

If more than one Slack workspace is connected, select the workspace first. Click to refresh the channel list, or enter the channel ID. Use a dedicated channel for pattern alerts.You can skip Slack during setup and add a channel later.

Next steps

  • Review and act on patterns once the first run finishes.
  • Configure pattern discovery to tune rules or troubleshoot runs.
  • Find problems in coding-agent sessions with coding agent insights.

Was this page helpful?

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.