
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
- Membership in the Owners or Engineers permission group, or another group that grants the project’s
Updatepermission
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 alerts about new or reopened patterns.
- Click Enable Patterns.


Configure pattern alerts
Braintrust sends alerts for new or reopened patterns, including those found in interactive Loop conversations. Updates to an active pattern don’t trigger another alert. 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 alerts for new and reopened patterns across the project. Editing destinations requires the project’sUpdate permission.
Go to Settings > Patterns. Under Alert destination, choose:
- Slack: Select a workspace and channel.
- Other > Webhook: Enter the URL. 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, configured under Alerts in the rule editor. Save project destinations to receive alerts for patterns created in interactive conversations too. The Slack channel selected during Patterns setup becomes a project destination.
Slack alert contents
- Finding: Name, description, severity, categories, and first and last seen times. Reopened patterns show Reopened after the name.
- 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:- 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?
- 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
When neither a compatible organization-level AI provider nor usable built-in models are available, the setup panel shows Add provider instead of Enable Patterns. 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 model credits are exhausted. Add your own provider key with Add provider, or select Upgrade to raise your plan’s limits. See model credits for how usage is counted.
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, customize the rubric, or troubleshoot runs.
- Find problems in coding-agent sessions with coding agent insights.