Skip to content

Commit c27613e

Browse files
OliviaShoupjoepeeples
authored andcommitted
(Actions) custom agent builder (#32283)
* Create heading and index page for Agents * Create the page Build Agents * Update intro text for Build Agents * Reorder side nav to match UI * Add intro text for blueprints * Add text for creating an agent * Add text for customizing the agent * Update Slack channel to ai-agents * Add text for main Agents page * Merge two pages for Agents into one * Replace screenshot * Cut mention of Slack channel * Add link to MCP docs * Create section for adding agents to workflows/apps * Cut Feature Lab section * fix (?) broken links - remove from Further Reading - revise to relative in-page header links - remove URL slug from list of references at bottom * Update content/en/actions/agents/_index.md Co-authored-by: Joe Peeples <[email protected]> * Update content/en/actions/agents/_index.md Co-authored-by: Joe Peeples <[email protected]> * Update content/en/actions/agents/_index.md Co-authored-by: Joe Peeples <[email protected]> * Update content/en/actions/agents/_index.md Co-authored-by: Joe Peeples <[email protected]> * Update content/en/actions/agents/_index.md Co-authored-by: Joe Peeples <[email protected]> * Update content/en/actions/agents/_index.md Co-authored-by: Joe Peeples <[email protected]> * Update content/en/actions/agents/_index.md Co-authored-by: Joe Peeples <[email protected]> * Update content/en/actions/agents/_index.md Co-authored-by: Joe Peeples <[email protected]> * Update content/en/actions/agents/_index.md Co-authored-by: Joe Peeples <[email protected]> * Update content/en/actions/agents/_index.md Co-authored-by: Joe Peeples <[email protected]> * Update content/en/actions/agents/_index.md Co-authored-by: Joe Peeples <[email protected]> * Update preview link & screenshots * Update agent configuration for new UI * Fix a typo * Cut step * Change sign-up link * Update content/en/actions/agents/_index.md Co-authored-by: Joe Peeples <[email protected]> * Update content/en/actions/agents/_index.md Co-authored-by: Joe Peeples <[email protected]> * Replace "template" with "blueprint" --------- Co-authored-by: Joe Peeples <[email protected]>
1 parent de9fd60 commit c27613e

File tree

4 files changed

+169
-3
lines changed

4 files changed

+169
-3
lines changed

config/_default/menus/main.en.yaml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2789,12 +2789,24 @@ menu:
27892789
parent: case_management
27902790
identifier: case_management_troubleshooting
27912791
weight: 7
2792+
- name: Action Interface
2793+
url: actions/action_interface/
2794+
pre: bits-ai
2795+
parent: actions_heading
2796+
identifier: action_interface
2797+
weight: 10000
2798+
- name: Agents
2799+
url: actions/agents/
2800+
pre: robot-wui
2801+
identifier: agents
2802+
parent: actions_heading
2803+
weight: 20000
27922804
- name: Workflow Automation
27932805
url: actions/workflows/
27942806
pre: workflows
27952807
identifier: workflows
27962808
parent: actions_heading
2797-
weight: 10000
2809+
weight: 30000
27982810
- name: Build Workflows
27992811
url: actions/workflows/build/
28002812
parent: workflows
@@ -2855,7 +2867,7 @@ menu:
28552867
pre: app-builder
28562868
identifier: app_builder
28572869
parent: actions_heading
2858-
weight: 20000
2870+
weight: 40000
28592871
- name: Build Apps
28602872
url: actions/app_builder/build/
28612873
parent: app_builder
@@ -2948,7 +2960,7 @@ menu:
29482960
pre: books
29492961
parent: actions_heading
29502962
identifier: action_catalog
2951-
weight: 50000
2963+
weight: 60000
29522964
- name: Connections
29532965
url: actions/connections/
29542966
parent: action_catalog
Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
---
2+
title: Agents
3+
description: Build custom AI agents that can access the Action Catalog.
4+
disable_toc: false
5+
further_reading:
6+
- link: "/actions/actions_catalog/"
7+
tag: "Documentation"
8+
text: "Action Catalog"
9+
- link: "https://www.datadoghq.com/knowledge-center/aiops/ai-agents/"
10+
tag: "Knowledge Center"
11+
text: "What are AI agents and how do they work?"
12+
---
13+
14+
{{< callout url="https://app.datadoghq.com/actions/agents" btn_hidden="false" header="Join the Preview!" >}}
15+
Agents are in Preview. Click <b>Request Access</b> and fill in the Datadog Product Preview Program form.
16+
{{< /callout >}}
17+
18+
## Overview
19+
20+
You can build custom AI agents to act on your observability data and third-party integrations. Agents can use any action from the [Action Catalog][7] to investigate problems, start remediation, or manage resources.
21+
22+
When building an agent, choose a blueprint to get started. Blueprints come with pre-filled instructions and relevant tools. They're named after their main role, like Security Analyst, Log Analyzer, Incident Responder, or DevOps Assistant.
23+
24+
{{< img src="/actions/agents/blank-new-agent.png" alt="The Agents page, filtered to show only 'My agents'" style="width:100%;" >}}
25+
26+
## Agents dashboard
27+
28+
You can create a new agent from the [Agents][1] page. The page lists information about existing agents, including the following:
29+
- Agent Name
30+
- Description
31+
- Author
32+
- Creation date
33+
34+
Hover over an agent for options to clone or delete it. You can also enable the **My agents** toggle to see only agents that you've created:
35+
36+
{{< img src="/actions/agents/agent-dashboard.png" alt="The Agents page, filtered to show only 'My agents'" style="width:100%;" >}}
37+
38+
## Create an agent
39+
40+
### Build an agent from a blueprint
41+
42+
Blueprints are starter agents that cover common use cases. They come loaded with instructions for the agent's behavior and related tools from the Action Catalog. Blueprints also showcase best practices for setting up agent functionality.
43+
44+
To build an agent from a blueprint:
45+
46+
1. Navigate to the [Agents][1] page.
47+
1. In **Agent Blueprints**, click the blueprint you want to use. Alternatively, you can click **New Agent** and browse the full list of blueprints.
48+
1. Click **Create From Blueprint**.
49+
1. Your new agent has pre-populated settings and tools. You can immediately start chatting with the agent or [further customize it](#customize-your-agent).
50+
51+
### Create a custom agent
52+
53+
To build an agent from scratch:
54+
55+
1. Navigate to the [Agents][1] page.
56+
1. Click **New Agent**.
57+
1. [Customize your agent](#customize-your-agent). Changes are saved automatically.
58+
1. Start chatting with your agent.
59+
60+
## Customize your agent
61+
62+
When configuring your agent, you have the following options for customization.
63+
64+
### Instructions
65+
66+
Enter the instructions for your agent to follow when performing tasks. You can describe the agent as if it were a person, including its role, specialties, and steps to follow. Click **Suggest With AI** to get help with writing and refining your instructions.
67+
68+
Below is a sample set of instructions for an agent acting as an incident responder.
69+
70+
```
71+
You are an Incident Responder AI assistant specialized in managing and coordinating incident response activities.
72+
73+
Your role involves:
74+
- Guiding incident response procedures and best practices
75+
- Helping assess incident severity and impact
76+
- Coordinating communication between teams and stakeholders
77+
- Managing incident lifecycle from detection to resolution
78+
- Facilitating post-incident reviews and improvements
79+
80+
During incident response:
81+
1. Help classify incident severity (P0/P1/P2/etc.)
82+
2. Guide through incident response runbooks and procedures
83+
3. Assist with stakeholder communication and updates
84+
4. Track action items and follow-up tasks
85+
5. Support post-mortem analysis and lessons learned
86+
87+
Focus on clear communication, structured processes, and continuous improvement of incident response capabilities.
88+
```
89+
90+
### Model
91+
92+
By default, new custom agents run on the latest GPT model.
93+
94+
To change your agent's model, click **Auto** in the chatbox to open a dropdown menu and choose another model. You can compare these models using [OpenAI's comparison tool][6] and [Anthropic's models comparison][5].
95+
96+
### Self Improve
97+
98+
By default, the **Self Improve** feature is not enabled. Self improvement allows the agent to read its own configuration and update it when requested or when it determines its configuration can be changed to improve.
99+
100+
To enable this feature, click the settings **<i class="icon-sliders"></i>** icon, then the toggle button next to **Self Improve**.
101+
102+
### Actions
103+
104+
Click the plus **<i class="icon-plus-circled-wui"></i>** icon to add actions from the [Action Catalog][7] for the agent to use. The agent is restricted to only its added tools. For example, if you encounter an error when the agent attempts to perform a task you've requested, it might be missing a necessary action.
105+
106+
### MCP Server
107+
108+
Click the toggle button to enable the [Datadog MCP Server][8]. MCP servers use the Model Context Protocol to provide additional tools and capabilities that the agent can use to interact with external systems.
109+
110+
## Add an agent action
111+
112+
After you create an agent, you can add it to a workflow or app.
113+
114+
### Add to a workflow
115+
116+
To invoke an agent in a workflow step:
117+
1. In [Workflow Automation][9], navigate to a workflow and click **Edit**.
118+
1. Click the plus **<i class="icon-plus-circled-wui"></i>** icon.
119+
1. Select the **Execute Custom Agent** action.
120+
1. Configure the action:
121+
1. Enter a **Step name**.
122+
1. Selection a **Connection**.
123+
1. Select a **Custom Agent ID**.
124+
1. Enter a **User Prompt**.
125+
1. Optionally, add a [**Wait until condition**][11].
126+
1. Optionally, add [**Retries**][12].
127+
1. Click **Save**.
128+
129+
### Add to an app
130+
131+
To invoke an agent in an app:
132+
1. In [App Builder][10], navigate to an app and click **Edit**.
133+
1. Click the plus **<i class="icon-plus-2"></i>** icon, then click **Actions**.
134+
1. Select the **Execute Custom Agent** action.
135+
1. Configure the action:
136+
1. Select the **Run Settings**.
137+
1. Selection a **Connection**.
138+
1. Select a **Custom Agent ID**.
139+
1. Enter a **User Prompt**.
140+
1. Click **Save**.
141+
142+
## Further Reading
143+
144+
{{< partial name="whats-next/whats-next.html" >}}
145+
146+
[1]: https://app.datadoghq.com/actions/agents
147+
[5]: https://docs.claude.com/en/docs/about-claude/models/overview#latest-models-comparison
148+
[6]: https://platform.openai.com/docs/models
149+
[7]: /actions/actions_catalog/
150+
[8]: /bits_ai/mcp_server
151+
[9]: https://app.datadoghq.com/workflow
152+
[10]: https://app.datadoghq.com/app-builder/apps/list
153+
[11]: /actions/workflows/build/#wait-until-condition
154+
[12]: /actions/workflows/build/#retries
350 KB
Loading
401 KB
Loading

0 commit comments

Comments
 (0)