AI Agents at Datadog: Building the DevOps Engineer Who Never Sleeps
Key Concepts:
- AI Agents: Software entities designed to automate tasks and assist users, specifically in DevOps and software engineering.
- Observability: The ability to understand the internal state of a system based on its external outputs.
- AI On-Call Engineer: An agent that proactively responds to alerts, investigates issues, and suggests remediations.
- AI Software Engineer: An agent that analyzes errors, proposes code fixes, and helps reduce on-call incidents.
- LLM Observability: Monitoring and understanding the behavior of Large Language Models (LLMs) within a system.
- Agent Graph: A visual representation of the workflow and decision-making process of an AI agent.
- Jobs to be Done: A framework for understanding customer needs by focusing on the tasks they are trying to accomplish.
- Eval: Evaluation of AI agent performance, crucial for improvement and validation.
Introduction
Diamond, from Datadog, discusses the company's work on AI agents, particularly focusing on their application in DevOps. Datadog aims to leverage AI to create a "DevOps engineer who never sleeps," automating tasks and improving system reliability.
Datadog's AI History and Current Shift
Datadog has been incorporating AI into its platform since 2015, with features like proactive alerting, root cause analysis, and change tracking. However, the current advancements in AI, including larger models, reasoning capabilities, and multimodality, represent a significant shift. This shift is making AI more accessible and powerful, leading to increased user expectations. Datadog is adapting to this shift by developing AI agents that can use the Datadog platform on behalf of users.
AI Agents in Development
Datadog is currently developing several AI agents, including:
- AI Software Engineer: This agent analyzes errors, suggests code fixes, and creates tests to prevent future incidents. An example given is the agent catching a recursion issue, proposing a fix, and creating a recursion test.
- AI On-Call Engineer: This agent proactively responds to alerts, investigates issues, and suggests remediations, aiming to reduce the need for human intervention during off-hours.
AI On-Call Engineer: A Deep Dive
The AI On-Call Engineer is designed to automate the initial response to alerts. Its workflow includes:
- Situational Awareness: Reading runbooks and gathering context related to the alert.
- Investigation: Analyzing logs, metrics, and traces to identify the root cause.
- Hypothesis Generation and Testing: Forming hypotheses about the cause of the issue and using tools to validate or invalidate them.
- Remediation Suggestion: Recommending actions such as paging other teams or scaling infrastructure.
- Postmortem Generation: Automatically creating a postmortem report summarizing the incident and the actions taken.
Datadog is also developing a user interface to facilitate human-AI collaboration, allowing users to review the agent's actions, understand its reasoning, and provide feedback.
AI Software Engineer: Proactive Error Management
The AI Software Engineer acts as a proactive developer, observing errors and proposing solutions. It can generate code fixes and create tests to prevent future incidents. The agent can create a pull request in GitHub or open the diff in VS Code for editing.
Lessons Learned Building AI Agents
Diamond shares several key lessons learned from building AI agents:
- Scoping Tasks for Evaluation: Define clear, measurable, and verifiable tasks for the agents. Focus on vertical, task-specific agents rather than generalized ones. Use domain experts as design partners and task verifiers, not as rule writers.
- Building the Right Team: Assemble a team with a few ML experts and optimistic generalists who are good at coding and willing to experiment. Prioritize UX and front-end development.
- Evolving UX: Be prepared for changes in UX patterns as AI agents become more integrated into workflows. Focus on agents that work like human teammates.
- Importance of Observability: Observability is crucial for debugging complex agent workflows. Datadog is developing "LLM Observability" tools to monitor and understand the behavior of LLMs within the system.
LLM Observability and Agent Graphs
LLM Observability allows users to monitor and debug the interactions between their systems and LLMs. Agent graphs provide a visual representation of the agent's workflow, making it easier to identify errors and understand the decision-making process.
The Bitter Lesson and the Future of AI Agents
Diamond highlights the "bitter lesson" of AI, which suggests that general methods that leverage new off-the-shelf models are ultimately the most effective. Companies should be prepared to adapt to new models and avoid getting stuck on specific fine-tuned models.
Looking ahead, Diamond predicts that AI agents will become increasingly prevalent, potentially surpassing humans as users of platforms like Datadog. Companies should consider how their products can be used by third-party agents.
Conclusion
Datadog is actively developing AI agents to automate DevOps tasks and improve system reliability. The company is focusing on building task-specific agents, prioritizing observability, and adapting to the rapidly evolving landscape of AI. Diamond encourages developers to consider how their products can be used by AI agents and highlights the potential for AI to transform the way software is developed and operated.
AI summaries can miss context or contain errors. Check important details against the original video.





