Skip to content
36 changes: 20 additions & 16 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,34 @@
- /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

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

View workflow job for this annotation

GitHub Actions / vale

Datadog.headings

'Code Fixes' should use sentence-style capitalization.
Comment thread
akethini321 marked this conversation as resolved.
Outdated

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 and iterates on fixes using CI logs and developer feedback, and uses multiple Datadog products to generate contextual fixes.

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.
Comment thread
akethini321 marked this conversation as resolved.
Outdated

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

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

View workflow job for this annotation

GitHub Actions / vale

Datadog.tense

Avoid temporal words like 'will'.
Comment thread
akethini321 marked this conversation as resolved.
Outdated
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.

Avoid temporal "will" — docs should be evergreen. Use present tense.

Suggested change
To start receiving code fixes, [set up the Bits AI Dev Agent][1]. Then, if Bits AI SRE has determined a code-related root cause, you will automatically receive suggested code fixes.
Bits AI SRE recommends corrective steps when applicable for the root cause. These recommendations can include commands that are fully configured, so you can copy them and run in your CLI. For example, Bits AI SRE may provide a `kubectl` command to restart or patch an affected Kubernetes deployment.


{{< 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.


Comment thread
akethini321 marked this conversation as resolved.
Outdated
Bits AI SRE will recommend corrective steps when applicable for the root cause. These recommendations can include commands that are fully configured, so you can copy them and run in your CLI. For example, Bits AI SRE may provide a `kubectl` command to restart or patch an affected Kubernetes deployment.

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.tense

Avoid temporal words like 'will'.
Comment thread
akethini321 marked this conversation as resolved.
Outdated

Supported actions include:
- Sending Slack and Microsoft Teams messages
- Creating incidents in Datadog and PagerDuty
Review each recommendation and command before running it in your environment.

## 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 uses investigation context to prefill messages, incident descriptions, or ticket metadata, so you can take common response tasks with a single click.
Comment thread
akethini321 marked this conversation as resolved.
Outdated

Suggestions include but are not limited to
Comment thread
akethini321 marked this conversation as resolved.
Outdated
- 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 via Datadog On-Call
Comment thread
akethini321 marked this conversation as resolved.
Outdated
- Creating cases in Datadog Case Management
- Opening Jira tickets

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.

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