CLI ToolsMay 13, 2026·2 min read

Pup — Datadog CLI Companion for AI Agents

Pup is an Apache-2.0 Datadog CLI with 200+ commands across 33+ products, so agents can query logs, metrics, RUM, and security data via OAuth login.

Agent ready

Safe staging for this asset

This asset is staged first. The copied prompt tells the agent to inspect the staged files and ask before activating scripts, MCP config, or global config.

Stage only · 17/100Policy: stage
Agent surface
Any MCP/CLI agent
Kind
CLI Tool
Install
Stage only
Trust
Trust: Established
Entrypoint
Asset
Safe staging command
npx -y tokrepo@latest install 2c1c7883-fd56-5cb3-91fe-6f9d953193f3 --target codex

Stages files first; activation requires review of the staged README and plan.

Intro

Pup is an Apache-2.0 Datadog CLI with 200+ commands across 33+ products, so agents can query logs, metrics, RUM, and security data via OAuth login.

Best for: SRE/DevOps teams letting agents query Datadog safely with scoped auth and structured outputs

Works with: Datadog accounts + OAuth login, Homebrew installs, JSON/YAML output consumers

Setup time: 3-6 minutes

Key facts (verified)

  • GitHub: 773 stars · 72 forks · pushed 2026-05-12.
  • License: Apache-2.0 · owner avatar + repo URL verified via GitHub API.
  • README-verified entrypoint: brew install datadog-labs/pack/pup.

Main

  • Use Pup for agent-first observability: it exposes a discoverable CLI surface that’s easier for agents than browsing docs.

  • Prefer scoped OAuth auth for safety, and keep agent credentials separated from human admin credentials.

  • Wrap common queries as runbooks/scripts so your agents can follow repeatable investigation playbooks.

Source-backed notes

  • README describes 200+ commands across 33+ Datadog product domains.
  • README highlights OAuth2 + PKCE for scoped access rather than long-lived keys.
  • README Quick Start shows pup auth login and example queries for logs and metrics.

FAQ

  • How do agents authenticate?: README shows OAuth2 + PKCE via pup auth login.
  • Is output machine-friendly?: Yes—README mentions structured JSON/YAML output.
  • How many APIs does it cover?: README claims 200+ commands across 33+ product domains.
🙏

Source & Thanks

Source: https://github.com/DataDog/pup > License: Apache-2.0 > GitHub stars: 773 · forks: 72

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets