agent-dd
Datadog triage CLI for AI agents
- Language
- Go
- Version
- 0.3.3
- License
- MIT
- Category
- CLI Tool
A Datadog CLI designed for AI agent investigation workflows — monitors, logs, metrics, traces, incidents, and SLOs. Structured output with classified errors so agents can self-correct, and multi-org support for switching between Datadog organizations.
Features
Token-efficient output — NDJSON for lists, JSON for single items, YAML available
Structured error classification — every error includes fixable_by: agent|human|retry
Triage-focused — only the commands you need during an investigation
Multi-org support — switch between Datadog organizations with --org
Self-documenting — agent-dd llm-help for agent-friendly reference
Single compiled Go binary — no runtime dependencies
Install
Homebrew
$ brew install shhac/tap/agent-dd AI Agent Skill
$ npx skills add shhac/agent-dd GitHub Release (macOS)
$ curl -L https://github.com/shhac/agent-dd/releases/latest/download/agent-dd-darwin-arm64.tar.gz | tar xz Go Install
$ go install github.com/shhac/agent-dd/cmd/agent-dd@latest Build from Source
$ git clone https://github.com/shhac/agent-dd.git && cd agent-dd && make build Getting Started
agent-dd needs Datadog API and application keys before it can query anything. Store credentials per organization for easy multi-org switching.
01 · Add your Datadog organization
$ agent-dd org add prod --api-key YOUR_API_KEY --app-key YOUR_APP_KEY --site datadoghq.com Keys are stored in macOS Keychain when available. Use --site for EU or other Datadog regions.
02 · Test the connection
$ agent-dd org test 03 · List monitors
$ agent-dd monitors list Returns NDJSON by default for token-efficient streaming.
Usage
$ agent-dd monitors list --status triggered $ agent-dd logs search "service:api status:error" --from 1h $ agent-dd metrics query "avg:system.cpu.user{env:prod}" --from 1h $ agent-dd incidents list $ agent-dd slo list $ agent-dd traces search "service:checkout @duration:>5s"