Skip to content
39 changes: 22 additions & 17 deletions content/en/bits_ai/bits_ai_sre/take_action.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,35 @@
- /bits_ai/bits_ai_sre/remediate_issues/
---

## Suggested code fixes from the Bits AI Dev Agent
{{< callout url="http://datadoghq.com/product-preview/bits-ai-sre-pilot-features" >}}
Suggested code fixes from the Bits AI Dev Agent is in Preview. Click <strong>Request Access</strong> to join the Preview program.
{{< /callout >}}
After Bits AI SRE identifies a root cause, it can help you take action in three ways:

After Bits AI SRE helps you identify a root cause, it can also help you take action as quickly as possible.
- Code Fixes help resolve code-related root causes.
- Remediation Recommendations provide corrective steps and fully configured commands.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This sentence chains three verbs ("connects," "iterates," "uses") and runs to 30 words. Consider splitting:

"The Dev Agent connects to GitHub or GitLab to create production-ready pull requests. It iterates on fixes using CI logs and developer feedback and uses multiple Datadog products to generate contextual fixes."

- Triage Suggestions help coordinate the response through connected tools.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: "has determined" could be present tense for consistency with the rest of the page.

Suggested change
To start receiving code fixes, [set up the Bits AI Dev Agent][1]. Then, if Bits AI SRE determines a code-related root cause, you automatically receive suggested code fixes.

Bits AI SRE integrates with [Bits AI Dev Agent][2] to automatically generate code fixes. The Dev Agent connects to GitHub to create production-ready pull requests, iterates on fixes using CI logs and developer feedback, and uses multiple Datadog products to generate contextual fixes.
1. [Set up the Bits AI Dev Agent][1]. Then, after Bits AI SRE has determined a code-related root cause, you will automatically receive suggested code fixes.
1. Ask Bits AI Dev Agent to make any additional updates as needed, create a pull request for review in GitHub, and merge when ready to fix the underlying problem.
## Code fixes

Bits AI SRE integrates with [Bits AI Dev Agent][2] to automatically generate code fixes. The Dev Agent connects to GitHub or GitLab to create production-ready pull requests, iterate on fixes using CI logs and developer feedback, and apply context from multiple Datadog products.

Check notice on line 15 in content/en/bits_ai/bits_ai_sre/take_action.md

View workflow job for this annotation

GitHub Actions / vale

Datadog.sentencelength

Suggestion: Try to keep your sentence length to 25 words or fewer.

To start receiving code fixes, [set up the Bits AI Dev Agent][1]. Then, if Bits AI SRE determines a code-related root cause, you receive suggested code fixes automatically.

{{< img src="bits_ai/bits_ai_sre_suggested_code_fix.png" alt="Flowchart showing Bits' investigation conclusion and a suggested code fix" style="width:100%;" >}}

## Run triage actions via chat
From chat, you can trigger triage actions without leaving the investigation workflow.
## Remediation Recommendations

Check warning on line 21 in content/en/bits_ai/bits_ai_sre/take_action.md

View workflow job for this annotation

GitHub Actions / vale

Datadog.headings

'Remediation Recommendations' should use sentence-style capitalization.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing blank line between the ## Triage Suggestions heading and the paragraph. The other headings on this page have a blank line — keep it consistent.

Triage Suggestions help you coordinate the response without leaving the investigation page. Bits AI SRE uses investigation context to prefill messages, incident descriptions, or ticket metadata, so you can complete common response tasks with a single click.
Bits AI SRE recommends corrective steps when applicable to the root cause. These recommendations can include fully configured commands that you copy and run in your terminal — for example, a `kubectl` command to restart a Kubernetes deployment, an AWS CLI call to adjust a resource, or a Terraform change to update infrastructure.

Check warning on line 23 in content/en/bits_ai/bits_ai_sre/take_action.md

View workflow job for this annotation

GitHub Actions / vale

Datadog.dashes

Don't put a space before or after a dash.

Check notice on line 23 in content/en/bits_ai/bits_ai_sre/take_action.md

View workflow job for this annotation

GitHub Actions / vale

Datadog.sentencelength

Suggestion: Try to keep your sentence length to 25 words or fewer.

Supported actions include:
- Sending Slack and Microsoft Teams messages
- Creating incidents in Datadog and PagerDuty
- Paging engineers via Datadog On-Call
- Creating cases in Datadog Case Management
- Opening Jira tickets
Review each recommendation and command before running it in your environment.

Bits AI SRE automatically pulls relevant context from the investigation and your connected integrations to prefill messages, incident descriptions, and ticket metadata. This reduces manual effort, ensures consistency, and accelerates response time.
## Triage Suggestions

Check warning on line 27 in content/en/bits_ai/bits_ai_sre/take_action.md

View workflow job for this annotation

GitHub Actions / vale

Datadog.headings

'Triage Suggestions' should use sentence-style capitalization.

Triage Suggestions help you coordinate the response without leaving the investigation page. Bits AI SRE uses investigation context to prefill messages, incident descriptions, or ticket metadata, so you can complete common response tasks with a single click.

Suggestions include but are not limited to:
- Sending Slack messages to update your team on the investigation results
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous version of this list also included Microsoft Teams messages, PagerDuty incidents, and Datadog Case Management cases. Was dropping those intentional? If they're still supported, the shorter list undersells what triage suggestions can do.

- Declaring incidents in Datadog
- Paging engineers through Datadog On-Call
- Opening Jira tickets

[1]: /bits_ai/bits_ai_dev_agent/setup/
[2]: /bits_ai/bits_ai_dev_agent
Loading