---
title: Bits Autonomous Operations
description: >-
  Assign ongoing operational work to Bits so it can detect, investigate, and
  remediate issues in a single operational loop.
breadcrumbs: Docs > Bits AI > Bits Autonomous Operations
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Bits Autonomous Operations

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com, us2.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site.md). ({% placeholder "user-datadog-site-name" /%}).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

With Autonomous Operations, Bits joins your team as a first responder for production alerts: Bits triages alerts, investigates the issues that need attention, and proposes next steps. When a remediation action is approved, Bits runs it and verifies whether the issue is resolved, reducing the time from alert to resolution and keeping your systems healthy.

Autonomous Ops connects [Bits Detection](https://docs.datadoghq.com/bits_ai/bits_detection.md), [Bits Investigation](https://docs.datadoghq.com/bits_ai/bits_investigation.md), and [Bits Remediation](https://docs.datadoghq.com/bits_ai/bits_remediation.md). It can handle application issues, such as rising error rates or latency on an endpoint, and infrastructure issues across hosts, containers, and serverless functions.

You can work with Autonomous Ops in Datadog, in Slack, or through the [Datadog MCP Server](https://docs.datadoghq.com/mcp_server.md).

## Prerequisites{% #prerequisites %}

- [Create monitors](https://docs.datadoghq.com/monitors/configuration.md) that alert when your systems might be unhealthy.
- (Optional) [Enable automatic code fixes](https://docs.datadoghq.com/bits_ai/bits_remediation.md#enable-automatic-code-fixes) to let Bits create pull requests for code fixes.
- (Optional) To let Bits take infrastructure actions after you approve them:
  1. Set up the type of action that you want Bits to take:
     - For Kubernetes, see [Kubernetes actions](https://docs.datadoghq.com/bits_ai/bits_remediation/infrastructure_actions.md#kubernetes-actions).
     - For Amazon EC2, Amazon ECS, and AWS Lambda, see [AWS actions](https://docs.datadoghq.com/bits_ai/bits_remediation/infrastructure_actions.md#aws-actions).
  1. [Create one or more guardrails](https://docs.datadoghq.com/bits_ai/bits_remediation/guardrails.md) to authorize Bits to take action.
- (Recommended) Install the [Slack integration](https://docs.datadoghq.com/integrations/slack.md) and add Bits to your team's ops channel.

## Scopes{% #scopes %}

{% callout %}
# Important note for users on the following Datadog sites: app.datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, app.datadoghq.eu, ap1.datadoghq.com, ap2.datadoghq.com, uk1.datadoghq.com

{% callout %}
Some scope options are in Preview and might not be available in your organization. Contact your account manager for access.
{% /callout %}

{% /callout %}

You enable Autonomous Ops by creating one or more *scopes*. Each scope defines where Bits detects, triages, and investigates health and performance issues.

### Requirements{% #requirements %}

Creating and managing scopes requires the following permissions:

- Bits Investigations Read
- Bits Investigations Write
- Monitors Write

For information about the permissions available in Datadog, see [Datadog Role Permissions](https://docs.datadoghq.com/account_management/rbac/permissions.md).

### Create a scope{% #create-a-scope %}

These steps describe how to create a scope in Datadog. You can also ask Bits to create a scope from [Bits Chat](https://docs.datadoghq.com/bits_ai/bits_chat.md), Slack, or the [Datadog MCP Server](https://docs.datadoghq.com/mcp_server.md).

To create a scope:

1. Go to [Bits AI > Autonomous Ops](https://app.datadoghq.com/bits/autonomous-ops/scopes) and click Create scope.

1. Select the type of scope and complete its fields:

| Scope type                                   | How to configure                                                                                                                                                                                                                                                                                                                                                                                                                      |
| -------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Watch parts of my system | 1. Enter tags for the resources that you want Bits to watch.
     1. Clear any resource types that you want Bits to skip.Important alert (level: info): The Hosts and Serverless resource types are in Preview.
     1. (Optional) To turn off automatic investigations, clear Investigate.
     1. (Optional) (Preview) To let Bits create and manage monitors for your services, turn on Enable Bits Managed Monitors for services. |
| Watch monitor alerts               | Enter a tag or query for the monitors that you want Bits to watch.                                                                                                                                                                                                                                                                                                                                                                    |
| Watch a Slack channel         | Select the Slack channel for Bits to join. Optionally, exclude monitors by tag.                                                                                                                                                                                                                                                                                                                                                       |

1. Describe in natural language which alerts are most important to your team. You can also add specific runbook steps for Bits to follow.

1. Configure Bits to post to one or more Slack channels when there is activity in this scope.

1. Click Create Scope.

After you create a scope, Bits watches the monitors or Slack channel in the scope for issues. Bits triages and investigates issues, then creates a remediation plan. Bits can apply the remediation plan within the [guardrails](https://docs.datadoghq.com/bits_ai/bits_remediation/guardrails.md) that you set.

For information about how to add a quote for AI credit usage to your scopes, see the Manage credit usage section.

### View and manage scopes{% #view-and-manage-scopes %}

To view your scopes, go to [Bits AI > Autonomous Ops > Scopes](https://app.datadoghq.com/bits/autonomous-ops/scopes). For each scope, the list shows its status, what it covers, its most recent Bits activity, and how many runs Bits has for it. From the list, you can search, filter, and pin scopes, and open a scope to review its recent Bits activity.

The page for each scope lists recent Bits activity in the scope, with the triage verdict or remediation steps for each item. It also shows the scope's configuration. To change a scope's settings, click Edit scope.

{% alert level="info" %}
After you create a scope, you can't change its type. For example, if you create a scope that watches monitor alerts, you can't edit that scope to watch parts of your system instead. To cover other services, monitors, or Slack channels, create additional scopes.
{% /alert %}

## Manage credit usage{% #manage-credit-usage %}

Autonomous Ops activity consumes [AI Credits](https://docs.datadoghq.com/account_management/billing/ai_credits.md).

To control how many AI Credits your scopes can use, set quotas in [Bits AI > Settings > Credit Usage](https://app.datadoghq.com/bits/settings/usage).

You can set:

- A default quota that applies to each scope
- A quota for an individual scope
- A total quota for all Autonomous Ops activity

## Review Bits activity{% #review-bits-activity %}

The Autonomous Ops Issues view shows Bits activity across your scopes.

To review Bits activity:

1. Go to [Bits AI > Autonomous Ops > Issues](https://app.datadoghq.com/bits/autonomous-ops/activity). You can also click Review issues on a scope in the Scopes view.
1. Find the issue that you want to review. To narrow the list, edit the search query, click Filters, or change the time range.
1. Click the issue to open the investigation. Review the triage decision, the hypotheses that Bits tested, and the conclusion, which includes the root cause and impact.
1. Under Remediation, review the next steps from Bits. For each step, either approve the action or follow the provided steps to resolve the issue yourself.
1. After the fixes are applied, click the Verify resolution next step. Bits checks whether the issue is resolved. For more information, see [Validate that issues are resolved](https://docs.datadoghq.com/bits_ai/bits_remediation.md#validate-that-issues-are-resolved).
1. (Recommended) Use the thumbs-up or thumbs-down buttons on the conclusion and the next steps to give Bits feedback on the investigation.

## Adoption best practices{% #adoption-best-practices %}

- **Start with a focused scope.** Choose one team's services, a set of production monitors, or an ops channel with clear ownership. Avoid mixing unrelated services and response procedures during the initial rollout.
- **Provide operational context.** Describe important customer workflows, checks to perform when an alert fires, and runbooks to follow. Update scope guidance when investigations miss context or focus on the wrong issues.
- **Review results before expanding coverage.** Check whether Bits prioritizes meaningful issues, supports its conclusions with evidence, and proposes appropriate fixes. Use feedback to refine guidance, and review credit usage before adding scopes.

For example, add scope guidance such as:

Prioritize production errors affecting checkout. Check recent deployments and upstream dependencies. Follow the checkout incident runbook, and include the affected services and customer impact in the investigation conclusion.

## Frequently asked questions{% #frequently-asked-questions %}

### Do existing alert notifications continue?{% #do-existing-alert-notifications-continue %}

Yes. Bits triages alerts alongside your existing notifications. Keep your team's notification and response procedures in place as you evaluate Autonomous Ops. If your team works in Slack, see [Set up Bits in Slack](https://docs.datadoghq.com/bits_ai/bits_chat/usage.md#slack).

### Can investigations run without remediation actions?{% #can-investigations-run-without-remediation-actions %}

Yes. You can use investigations and recommendations without enabling one-click infrastructure actions. Configure those actions when your team is ready. See [Infrastructure Actions](https://docs.datadoghq.com/bits_ai/bits_remediation/infrastructure_actions.md) for requirements.

### What controls which actions Bits can run?{% #what-controls-which-actions-bits-can-run %}

[Guardrails](https://docs.datadoghq.com/bits_ai/bits_remediation/guardrails.md) define which infrastructure actions Bits can run, the resources they apply to, and who can approve them. A guardrail must cover both the action and its target resource. An Ask guardrail requires approval from a designated approver before Bits runs an action. Scope guidance does not grant that authorization.

### How does this differ from automatic investigations on individual monitors?{% #how-does-this-differ-from-automatic-investigations-on-individual-monitors %}

Scopes let you manage automated work across resources, monitor queries, or Slack channels, with shared guidance for the scope. Define coverage around your team's operational responsibilities instead of configuring automated work monitor by monitor.

### What happens when a scope reaches its credit limit?{% #what-happens-when-a-scope-reaches-its-credit-limit %}

The scope completes work already in progress and pauses new runs until the applicable limit increases or the next billing cycle begins. For instructions on managing quotas, see Manage credit usage.

### What if Bits dismisses an important alert or recommends an inappropriate action?{% #what-if-bits-dismisses-an-important-alert-or-recommends-an-inappropriate-action %}

Review the alert and relevant telemetry using your team's response procedures, and update scope guidance with missing context. For investigations, give feedback using the review workflow. If a proposed action is inappropriate, do not approve it; follow your team's procedures to resolve the issue.

## Further reading{% #further-reading %}

Additional helpful documentation, links, and articles:

- [Bits AI Overview](https://docs.datadoghq.com/bits_ai.md)
- [Bits Detection](https://docs.datadoghq.com/bits_ai/bits_detection.md)
- [Bits Investigation](https://docs.datadoghq.com/bits_ai/bits_investigation.md)
- [Bits Remediation](https://docs.datadoghq.com/bits_ai/bits_remediation.md)
