Phase 3 — AI Tools & gitStream
In this phase, enable AI-powered features and automation in LinearB Essentials. These capabilities provide visibility into AI-assisted development and enable automation workflows using gitStream. Est…
In this phase, enable AI-powered features and automation in LinearB Essentials. These capabilities provide visibility into AI-assisted development and enable automation workflows using gitStream.
- Phase 1 — Confirm Git Connection
- Phase 2 — Configure Users & Access
- ➡ Phase 3 — Enable AI Tools & gitStream
- Phase 4 — Configure DORA Metrics (Optional)
- Phase 5 — Verify Your Setup
Step 1 — Enable LinearB AI Services
AI Services power several capabilities within LinearB Essentials, including AI-powered pull request insights, automation actions, and developer productivity analytics.
To enable AI Services:
- Go to Company Settings → General.
- Scroll to the AI Services section.
- Toggle Enable LinearB AI Services to ON.
Expected result:
- AI-powered features become available across your workspace
- AI automation rules can be enabled in gitStream
- AI insights begin appearing in dashboards
AI metrics may take time to populate as developer activity is detected.
Step 2 — Configure AI Tools
LinearB Essentials provides visibility into AI-assisted development by integrating with supported AI coding tools. Once configured, LinearB can detect AI-generated code and track AI usage across pull requests.
Supported AI tools:
- GitHub Copilot
- Cursor
To configure AI tools:
- Go to Company Settings → AI Tools.
- Select the AI tool you want to enable.
- Enter the required API token.
- Save your configuration.
For GitHub Copilot, ensure the following scopes are available when generating the token:
read:orgread:usermanage_billing:copilot
Expected result:
- AI usage begins appearing in AI dashboards
- Pull requests show AI contribution indicators
- AI activity can be used in automation rules
Step 3 — Enable gitStream Automation
gitStream powers automation in LinearB Essentials. It can automatically review pull requests, apply labels, generate descriptions, and enforce workflow rules.
LinearB supports two automation modes depending on how much control your team wants over automation rules.
Managed Mode (Recommended)
Managed Mode provides ready-to-use automation without requiring YAML configuration. Automations are managed directly inside the LinearB interface.
To enable Managed Mode:
- Go to Company Settings → AI Tools.
- Open the Managed Automations section.
- Enable the automations you want to use.
Available automations include:
- AI Review
- AI Description
- Estimated Time to Review
- Label Agents as Co-authors
- Dependabot Minor Bump Approval
- Dependabot Patch Bump Approval
Expected result:
- Automation runs automatically on new pull requests
- Configured automation rules appear in LinearB
Self-Managed Mode (Advanced)
Self-Managed Mode allows teams to create custom automation rules using gitStream YAML configuration files stored inside their repositories.
How Self-Managed Mode works:
- Create a
.cmdirectory in your repository. - Add gitStream YAML rule files.
- Commit and push the automation rules.
Example automation files might include:
auto-review.ymllabel-pr.ymlapproval-policy.yml
For installation instructions and automation examples, see the gitStream setup guides .
What Success Looks Like
- AI Services are enabled
- AI tools are connected
- AI insights begin appearing in dashboards
- gitStream automation runs on pull requests
Once AI insights and automation are active, you can optionally configure DORA metrics if you want deployment and incident visibility.
How did we do?
Phase 2 — Configure Users & Access
Phase 4 — Configure DORA Metrics (Optional)