datadog/pup 是从 https://github.com/datadog/pup. 导入的特工技能候选人。
概览
datadog/pup 是从 https://github.com/datadog/pup. 导入的特工技能候选人。
概述(AI 翻译)
每个AI代理都需要一个忠诚的伙伴。认识一下Pup——这个CLI让你的代理完全访问Datadog的可观察平台(因为即使是自主代理也需要良好的工具,而不仅仅是技巧)。
什么是Pup?
一个全面的、面向AI代理的CLI系统,涵盖了广泛的Datadog产品领域。我们充分发挥了Datadog API的强大功能,让您的代理能够获取指标、发现错误并追踪问题,而无需误入错误的API树。
AI 代理是基础设施管理中增长最快的界面。像 Vercel 和 AWS 这样的公司正竞相让平台能够代理访问,但我们领先。Pup 通过暴露 API 表面,让代理能够导航而不误入歧途,使 Datadog 成为 AI 原生工作流程的理想选择。
为什么你的经纪人会喜欢它
- :p aw_prints:训练有素:可自我发现的命令(无需追逐文档)
- :guide_dog: 服从:结构化JSON/YAML输出,便于解析
- :service_dog: 牵引绳上:OAuth2 + PKCE用于范围访问(不再有长效密钥失控)
- :d og:懂所有技巧:监控、日志、指标、RUM、安全等等!
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
:dog2: Give Your Agent a Puppy: Introducing Pup CLI
Every AI agent needs a loyal companion. Meet Pup — the CLI that gives your agents full access to Datadog’s observability platform (because even autonomous agents need good tooling, not just tricks).
What is Pup?
A comprehensive, AI-agent-ready CLI covering a wide range of Datadog product domains. We’ve unleashed the full power of Datadog’s APIs so your agents can fetch metrics, sniff out errors, and track down issues without barking up the wrong API tree.
AI agents are the fastest-growing interface for infrastructure management. Companies like Vercel and AWS are racing to make their platforms agent-accessible, but we’re leading the pack. Pup makes Datadog a great choice for AI-native workflows by exposing the API surface in a way agents can navigate without barking up the wrong tree.
Why Your Agent Will Love It
- :paw_prints: Well-trained: Self-discoverable commands (no need to chase documentation)
- :guide_dog: Obedient: Structured JSON/YAML output for easy parsing
- :service_dog: On a leash: OAuth2 + PKCE for scoped access (no more long-lived keys running wild)
- :dog: Knows all the tricks: Monitors, logs, metrics, RUM, security and more!
Try It (Humans Welcome Too!)
# Give your agent credentials (house-training, basically)
pup auth login
# Now they can fetch data like a good pup
pup monitors list --tags="team:api-platform" # Fetch monitors
pup logs search --query="status:error" --from="1h" # Sniff out errors
pup metrics query --query="avg:system.cpu.user{*}" # Track the metrics tail
:dog: TL;DR: We built a comprehensive CLI so AI agents can use Datadog like a pro. Give your agent a pup. They’re housetrained, loyal, and know way more tricks than you’d expect.
P.S. No actual puppies were harmed in the making of this CLI. Just a lot of Rust code and API endpoints.
API Coverage
Pup covers most major Datadog product surfaces. See
docs/COMMANDS.md for the canonical command reference, or run
pup --help (or pup agent schema for machine-readable output) for the live
list of commands as built.
💡 Tip: Use Ctrl/Cmd+F to search for specific APIs. Request features via GitHub Issues.
| API Domain | Status | Pup Commands | Notes |
|---|---|---|---|
| Metrics | ✅ | metrics search, metrics query, metrics list, metrics get |
V1 and V2 APIs supported |
| Logs | ✅ | logs search, logs list, logs aggregate |
V1 and V2 APIs supported |
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add datadog/pup