Agent Builder

이 제품은 선택한 Datadog 사이트에서 지원되지 않습니다. ().
이 페이지는 아직 한국어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.
Preview

Agent Builder is in Preview.

Overview

Agent Builder lets you create custom AI agents that use Datadog’s tools and integrations to automate operational tasks. Agents can search logs, query metrics, create cases, send messages, or perform any action from the Action Catalog.

Use agents to handle work that’s too complex for static automation but too repetitive for humans. For example, triaging errors, responding to incidents, analyzing trends, and escalating issues.

The Agent Builder editor showing instructions, model, tools, and automation configuration

Create an agent

From the Agent Builder page, click New Agent. From there, you can create an agent in three ways:

  • Build with AI: Describe what you want the agent to do in plain language. Agent Builder generates the instructions, selects relevant tools, and configures the agent for you.
  • Start from a blueprint: Choose a prebuilt template for common use cases such as error triage, incident response, security analysis, or DevOps assistance. Blueprints come preconfigured with instructions, tools, and automations, and are customizable.
  • Start from scratch: Configure the agent manually—write instructions, pick a model, and add tools.
The Agent Builder new agent interface showing a text field and blueprint options

Configure your agent

Instructions

Instructions tell the agent what to do when it runs. Write them in natural language—describe the goal, the process, and any constraints. Edit instructions directly or refine them through the chat interface.

Write instructions that are specific and outcome-oriented. For example:

You are an Incident Responder AI assistant specialized in managing
and coordinating incident response activities.

Your role involves:
- Guiding incident response procedures and best practices
- Helping assess incident severity and impact
- Coordinating communication between teams and stakeholders
- Managing incident lifecycle from detection to resolution
- Facilitating post-incident reviews and improvements

During incident response:
1. Use search_datadog_logs to pull recent error logs for the affected service
2. Help classify incident severity (P0/P1/P2/etc.)
3. Guide through incident response runbooks and procedures
4. Assist with stakeholder communication and updates
5. Track action items and follow-up tasks
6. Support post-mortem analysis and lessons learned

Focus on clear communication, structured processes, and continuous
improvement of incident response capabilities.

Model

Select which LLM powers the agent’s reasoning. Models vary in capability, speed, and cost—choose based on your agent’s workload. You can compare models using OpenAI’s comparison tool and Anthropic’s models comparison.

Tools

Tools define what actions the agent can take. Add tools from the Action Catalog. The agent can only use tools that have been added to its configuration.

Click on any added tool to hardcode its parameters. For example, lock a Slack tool to a specific channel or a logs query to a specific service.

The Datadog MCP Server is enabled by default. You can connect to any API using custom HTTP actions.

Automations

Set up your agent to run automatically with a schedule, or trigger it from a Datadog monitor, incident, or security signal. These automations use Workflow Automation.

Test your agent

Use the built-in chat interface to test your agent. Send messages, review the agent’s reasoning, and verify it takes the right actions. Chat history is preserved across sessions.

Agent orchestration

Use agents in Workflow Automation and App Builder through the Run Agent action. This lets you embed AI reasoning into any workflow:

The Run Agent step configuration in a workflow, showing agent selection, run instructions, conversation ID, and output schema fields
  1. Open or create a workflow in Workflow Automation, or open or create an app in App Builder.
  2. Add the Run Agent step from the action catalog.
  3. Select which agent to run.
  4. Write the Run Instructions—the prompt the agent receives each time it runs. Use variables such as {{Source.form}} to pass in trigger data.

The Run Agent step also supports the following optional fields:

  • Output Schema: Define a JSON schema for the agent’s response. When set, the agent structures its output to match the schema for use in downstream steps. For example, you can define a schema with a requestType field, then branch on Run Agent.finalResponse.requestType in an If condition step.

    A workflow using output schema to branch on agent response fields
  • Conversation ID: By default, each Run Agent invocation is a standalone, single-turn execution. Passing a Conversation ID lets the agent retain context across multiple workflow runs. Multi-turn sessions are subject to the same context window limits as the chat UI.

The agent executes with its configured tools and instructions, then returns its output to the workflow. You can combine rule-based automation with AI reasoning in a single workflow.

Troubleshooting

Agent not using a tool: Verify the tool has been added to the agent’s configuration. Agents can use only tools that are explicitly added.

Automation not running: Verify the automation is published and the Run Agent step is fully configured.

Conversation length limit: Long conversations may reach the context length limit. If this happens, start a new conversation.

Unexpected configuration changes: Use Audit Trail filtered to your agent’s ID to review the history of changes.

Further Reading