Patterns starts consuming Braintrust credits on December 7, 2026.

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
Updatepermission - For BYOC deployments, the Loop runtime in your data plane
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
- Go to Patterns and click Continue.
- If prompted, choose a model provider.
- Optionally, select a Slack workspace and channel for pattern alerts.
- Click Enable Patterns.


Configure pattern alerts
Braintrust creates 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. Alerts send as soon as possible by default, or wait for the project’s alert schedule. 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’sUpdate permission.
Go to Settings > Patterns. Under Alerting configuration > 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.
Migrating from rule destinations
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’sUpdate permission.
- Go to Settings > Patterns.
- Open the Severity threshold 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.
- Select or clear Informational to turn alerts for informational patterns on or off. They’re on by default, whichever minimum you choose.
Schedule alerts
The alert schedule controls when individual alerts reach all project destinations. It does not change when Patterns investigates your data. Changing the schedule or sending pending alerts requires the project’sUpdate permission.
- In Settings > Patterns, find Schedule under Alerting configuration.
- Choose how often alerts are sent, and set the time and timezone where applicable. Scheduled delivery can run no more than once an hour.
- Click Save. The schedule shows the next send time when available.
Pending or failed alerts
Pending or failed alerts
Open Pending alerts, when shown beside the schedule, to check delivery failures or send alerts early with Send now.If you see Schedule saved, but held alerts weren’t sent, immediate delivery is enabled, but pending alerts failed to send. Check the destinations, then click Send now to retry.If saving reports that another automation is named Pattern alert schedule, rename that automation and save the schedule again.
Slack alert contents
Each alert names its source project and includes:- 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).
Webhook payload
Braintrust sends each pattern alert as a JSONPOST. For example:
type:"pattern_alert".project_id: The ID of the project that owns the pattern.event:createdfor a new pattern,reactivatedfor a reopened pattern, orseverity_raisedwhen an active pattern reaches the alert severity threshold.event_id: Identifies the change within a pattern. For example, new patterns can share the valuecreated. Use theIdempotency-Keyheader to deduplicate webhook deliveries.evidence: Up to three example traces. Each entry has atraceIdand can include atitleandstartedAttimestamp. The list is empty when the pattern has no trace evidence.
custom_details.
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. If mentions are missing, refresh Slack workspace permissions for a public channel or invite the Braintrust app to a private channel. First, save a Slack destination for the project. Then, on the same Settings page:- Click Configure beside Pattern Slack mention, or Enabled to edit it.
- Select a workspace member under Mention agent/user.
-
Enter a Prompt of up to 2,000 characters. Include
{{pattern}}for the pattern link. For example: - Check Preview, then click Save.
Troubleshoot
Why am I asked to choose a provider?
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.
Setup asks you to add a provider
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.
Setup doesn't show Enable Patterns
Setup doesn't show Enable Patterns
If you lack the project’s
Update permission, setup shows “You need update permission on this project to enable Patterns. Ask a project admin for access.” instead of Continue or Enable Patterns. To get access, ask a project admin to grant you Update on the project directly or through a permission group.Patterns is paused
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 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
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.