diff --git a/content/en/account_management/audit_trail/events.md b/content/en/account_management/audit_trail/events.md index 253c1b4b2cd..3c1782fc027 100644 --- a/content/en/account_management/audit_trail/events.md +++ b/content/en/account_management/audit_trail/events.md @@ -18,7 +18,7 @@ further_reading: ## Agent actor and delegation fields -In addition to product-specific events, Audit Trail events can carry actor and delegation metadata that identifies actions taken by a Datadog AI agent, such as Bits SRE, Bits Dev, Bits Assistant, Bits Security Analyst, and Bits Agent Builder. +In addition to product-specific events, Audit Trail events can carry actor and delegation metadata that identifies actions taken by a Datadog AI agent, such as Bits SRE, Bits Chat, Bits Security Analyst, and Bits Agent Builder. | Field | Description | | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| diff --git a/content/en/account_management/audit_trail/guides/track_agentic_usage_in_your_organization.md b/content/en/account_management/audit_trail/guides/track_agentic_usage_in_your_organization.md index 3623d9c429c..51790bb47bf 100644 --- a/content/en/account_management/audit_trail/guides/track_agentic_usage_in_your_organization.md +++ b/content/en/account_management/audit_trail/guides/track_agentic_usage_in_your_organization.md @@ -13,17 +13,32 @@ further_reading: ## Overview -Datadog AI agents, including the Bits fleet (Bits SRE, Bits Dev, Bits Assistant, Bits Security Analyst) and Bits Agent Builder, can take actions inside your organization on their own or on behalf of a user. Audit Trail attributes these actions to the agent that performed them and, when applicable, to the user who authorized them. This guide walks you through finding agent-driven events, filtering them by agent type, and tracing an agent's actions back to the user who delegated them. +Datadog AI agents, including the Bits fleet (Bits SRE, Bits Chat, Bits Security Analyst) and Bits Agent Builder, can take actions inside your organization on their own or on behalf of a user. Audit Trail attributes these actions to the agent that performed them and, when applicable, to the user who authorized them. Onboarding to this attribution model varies by agent and by action type. This guide walks you through finding agent-driven events, filtering them by agent type, tracing an agent's actions back to the user who delegated them, and checking agent coverage. + +## Agent coverage + +Datadog AI agents onboard to the actor and delegation model individually, so coverage varies by agent and by action type. Use this table to check what you can query. + +| Agent | Status | Notes | +| ----- | ------ | ----- | +| Bits SRE | Tracked | Most actions include `@evt.actor.mode` and `@delegator.*`. Some tool-call and investigation actions do not include these fields yet. | +| Bits Chat | Partially tracked | Actions taken from the full [Bits Chat page][3] run in `interactive` mode, with the requesting user in `@delegator.*`. Actions taken from the inline chat panel (Cmd/Ctrl + I) don't include these fields yet. | +| Bits Security Analyst | Tracked | Actions run in `autonomous` mode. There is no delegating user, because these actions don't involve a human in the loop. | +| Bits Agent Builder | Not yet tracked | Actions don't include `@evt.actor.mode` or `@delegator.*` yet. | +| Actions taken through the Datadog MCP server | Tracked | See the [View actions taken through the Datadog MCP server](#view-actions-taken-through-the-datadog-mcp-server) section. | +| Third-party or customer-built agents | Not tracked | Audit Trail doesn't distinguish these from regular usage of API keys, application keys, personal access tokens (PATs), or service account tokens (SATs). | + +**Note**: Even for a tracked agent, some action types haven't been onboarded yet. `@evt.actor.mode:*` doesn't return every action for every tracked agent. Datadog is expanding coverage to the remaining agents and action types. ## View all Datadog AI agent activity 1. Navigate to [Audit Trail][1]. 2. In the search bar, enter the query: `@evt.actor.mode:*`. - This query returns every event where a Datadog AI agent is the actor, whether the agent acted `interactive` (a user was present and approved the action) or `autonomous` (the agent acted on a system trigger, with no user involved). + This query returns events where an onboarded Datadog AI agent is the actor, whether the agent acted in `interactive` mode (a user was present and approved the action) or `autonomous` mode (the agent acted on a system trigger, with no user involved). See the [Agent coverage](#agent-coverage) section for which agents and action types this includes. 3. Click an event to open details and see the full actor breakdown: the delegator (the user, if any), the agent, and the mode. -**Note**: Rollout to all Bits agents is in progress, and coverage is not yet complete. Actions from agents that have not yet onboarded do not appear in `@evt.actor.mode:*` results. +**Note**: This query only returns activity from agents and action types already onboarded to the actor and delegation model. See the [Agent coverage](#agent-coverage) section for details. ## View actions taken through the Datadog MCP server @@ -50,9 +65,11 @@ To retrieve a user's complete activity, including delegated agent actions: | All actions attributed to a user, including actions a Datadog AI agent performed on their behalf | `(@usr.id: OR @delegator.id:)` | 3. See [Create a dashboard or a graph][2] if you want to put this information into a dashboard or graph. +**Note**: This only surfaces delegated actions from agents and action types already onboarded to the delegation model. See the [Agent coverage](#agent-coverage) section for details. + ## Distinguish agent events from human events -Agent-driven events are marked with the agent's name and avatar (for example, Bits Assistant) paired with the delegating user, labeled Co-authored by user + agent. This lets you distinguish agent activity from human activity without opening each event. +Agent-driven events are marked with the agent's name and avatar (for example, Bits Chat) paired with the delegating user, labeled Co-authored by user + agent. This lets you distinguish agent activity from human activity without opening each event. ## Further reading @@ -60,3 +77,4 @@ Agent-driven events are marked with the agent's name and avatar (for example, Bi [1]: https://app.datadoghq.com/audit-trail [2]: /account_management/audit_trail/#create-a-dashboard-or-a-graph +[3]: https://app.datadoghq.com/ask diff --git a/content/en/bits_ai/bits_chat.md b/content/en/bits_ai/bits_chat.md index 9bab9790686..1f6eaaa4375 100644 --- a/content/en/bits_ai/bits_chat.md +++ b/content/en/bits_ai/bits_chat.md @@ -126,10 +126,11 @@ Use these insights to understand adoption patterns, identify power users for bes ### Web application There are multiple ways to open Bits Chat in the Datadog web application: -- In the top-right of the navigation bar, click {{< ui >}}Ask Bits{{< /ui >}} -- In a Datadog product integrated with Bits Chat, click {{< ui >}}Ask Bits{{< /ui >}} or {{< img src="bits_ai/dev_agent/twinkling_stars_icon.png" inline="true" style="width:24px">}} (the twinkling stars icon) -- Press Cmd/Ctrl + I -- In the left-side navigation panel, click {{< ui >}}Bits AI{{< /ui >}} +- Go to [Bits Chat][11]. +- In the top-right of the navigation bar, click {{< ui >}}Ask Bits{{< /ui >}}. +- In a Datadog product integrated with Bits Chat, click {{< ui >}}Ask Bits{{< /ui >}} or {{< img src="bits_ai/dev_agent/twinkling_stars_icon.png" inline="true" style="width:24px">}} (the twinkling stars icon). +- Press Cmd/Ctrl + I. +- In the left-side navigation panel, click {{< ui >}}Bits AI{{< /ui >}}. {{< img src="bits_ai/getting_started/bits_assistant_side_panel.png" alt="Bits Chat panel open alongside the Dashboards list" style="width:40%;">}} @@ -165,3 +166,4 @@ After setup is completed, you can send queries to `@Datadog` in natural language [8]: /ddsql_reference/data_directory/ [9]: /cloud_cost_management/cloud_cost_skill/ [10]: https://app.datadoghq.com/ask/usage +[11]: https://app.datadoghq.com/ask