能力标签
⚙️
Agent工作流

开源AI工作流:Pup

基于 Rust · 无代码搭建完整 AI 自动化流程
英文名:pup
⭐ 820 Stars 🍴 78 Forks 💻 Rust 📄 Apache-2.0 🏷 AI 7.5分
7.5AI 综合评分
workflowcliclientdatadogobservability
✦ AI Skill Hub 推荐

开源AI工作流:Pup 是 AI Skill Hub 本期精选Agent工作流之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。

📚 深度解析
开源AI工作流:Pup 是一套完整的 AI Agent 自动化工作流方案。随着 AI 能力的不断提升,基于 Agent 的自动化工作流正在成为提升个人和团队效率的核心方式。区别于传统的 RPA 自动化(模拟鼠标键盘操作),AI Agent 工作流通过理解任务意图、动态规划执行路径,能够处理更复杂的非结构化任务。

开源AI工作流:Pup 工作流的设计遵循"最小配置,最大复用"原则:核心逻辑已经封装好,用户只需配置自己的 API Key 和业务参数即可快速上手。工作流内置错误处理和重试机制,在网络波动或 API 限速等情况下仍能稳定运行,适合作为生产环境的自动化基础设施。

在实际部署时,建议先在测试环境中运行 3-5 次,验证各个环节的输出结果符合预期,再部署到生产环境。AI Skill Hub 评分 7.5 分,是同类 Agent 工作流中的精选推荐。
📋 工具概览

Pup是一个开源的AI工作流,提供了200+命令,支持33+Datadog功能,帮助您更好地管理和观察您的AI系统。

开源AI工作流:Pup 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

GitHub Stars
⭐ 820
开发语言
Rust
支持平台
Windows / macOS / Linux
维护状态
正常维护,社区驱动
开源协议
Apache-2.0
AI 综合评分
7.5 分
工具类型
Agent工作流
Forks
78
📖 中文文档
以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

Pup是一个开源的AI工作流,提供了200+命令,支持33+Datadog功能,帮助您更好地管理和观察您的AI系统。

开源AI工作流:Pup 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。

📌 核心特色
  • 可视化 Agent 工作流编排,无需编写复杂代码
  • 支持多步骤自动化任务链,实现全流程无人值守
  • 与外部 API、数据库和第三方服务无缝集成
  • 内置错误处理与自动重试机制,保障稳定运行
  • 提供可复用的自动化模板,快速在同类场景部署
🎯 主要使用场景
  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# 方式一:cargo install(推荐)
cargo install pup

# 方式二:从源码编译
git clone https://github.com/DataDog/pup
cd pup
cargo build --release
# 二进制在 ./target/release/pup
📋 安装步骤说明
  1. 访问 GitHub 仓库获取工作流文件
  2. 在对应平台(Dify / Flowise / Make 等)中找到「导入工作流」功能
  3. 上传工作流文件
  4. 按照提示配置必要的环境变量和 API Key
  5. 运行测试确认流程正常后投入使用
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 查看帮助
pup --help

# 基本运行
pup [options] <input>

# 详细使用说明请查阅文档
# https://github.com/DataDog/pup
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# pup 配置说明
# 查看配置选项
pup --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export PUP_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 82/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

:dog2: Give Your Agent a Puppy: Introducing Pup CLI

CI Rust License

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).

Runbook Features

  • Step types: pup (Datadog commands), shell, http, datadog-workflow, confirm
  • Variable interpolation: {{VAR_NAME}} in any field, passed via --arg KEY=VALUE
  • Reusable templates: Store shared step definitions in _templates/ and reference them with template: <name>
  • HTTP steps: Full method support (GET/POST/PUT/PATCH/DELETE) with body, headers, content_type, and body_file
  • Failure handling: on_failure: fail|warn|ignore and optional: true per step
  • Conditional execution: when: on_success|on_failure|always
  • Polling: poll.interval, poll.timeout, poll.until for long-running operations
  • Output capture: capture: VAR_NAME stores stdout for use in later steps
  • Timestamped output: Every step shows start time, elapsed duration, and labeled stdout/stderr

See docs/examples/runbooks/ for ready-to-use examples and docs/EXAMPLES.md for full reference.

Run a runbook, passing required variables

pup runbooks run deploy-service --arg SERVICE=payments --arg VERSION=1.2.3

Installation

Build from Source

git clone https://github.com/DataDog/pup.git && cd pup
cargo build --release
cp target/release/pup /usr/local/bin/pup

Building

```bash

Install the WASI target

rustup target add wasm32-wasip2

Build for WASI

cargo build --target wasm32-wasip2 --no-default-features --features wasi --release ```

Install all skills and agents for the auto-detected platform

pup skills install

Install for a specific platform (positional arg)

pup skills install claude pup skills install cursor pup skills install codex pup skills install opencode pup skills install pi

Install for every supported platform at once

pup skills install all

By default installs go to the user-global directory; --project keeps them local

pup skills install claude --project

Install a specific skill by name

pup skills install claude --name dd-monitors


For Claude Code, skills install to `~/.claude/skills/` (or `.claude/skills/` with `--project`) and agents install to `~/.claude/agents/` (native subagent format). For Cursor, Codex, and opencode, everything installs as `SKILL.md` under that tool's skills directory (e.g. `~/.cursor/skills/`, `~/.codex/skills/`, `~/.config/opencode/skills/`).

Pup ships plugin manifest files for several AI coding assistants:

Build

cargo build --release

Build WASM

rustup target add wasm32-wasip2 cargo build --target wasm32-wasip2 --no-default-features --features wasi

Run without building

cargo run -- monitors list ```

the Named session examples below).

pup auth login --site datadoghq.eu DD_SITE=datadoghq.eu pup monitors list

Usage

Set your Datadog site (optional, defaults to datadoghq.com).

Environment Variables

  • DD_ACCESS_TOKEN: Bearer token for stateless auth (highest priority)
  • DD_API_KEY: Datadog API key (optional if using OAuth2 or DD_ACCESS_TOKEN)
  • DD_APP_KEY: Datadog Application key (optional if using OAuth2 or DD_ACCESS_TOKEN)
  • DD_SITE: Datadog site (default: datadoghq.com)
  • DD_AUTO_APPROVE: Auto-approve destructive operations (true/false)
  • DD_TOKEN_STORAGE: Token storage backend (keychain or file, default: auto-detect)

Environment variable override

FORCE_AGENT_MODE=1 pup monitors list ```

If you are integrating pup into an AI agent workflow, make sure the appropriate environment variable is set so responses are optimized for your agent. Without it, pup defaults to human-friendly output.

Option 1: Bearer token

DD_ACCESS_TOKEN="your-token" DD_SITE="datadoghq.com" wasmtime run target/wasm32-wasip2/release/pup.wasm -- monitors list

Option 2: API keys

DD_API_KEY="your-api-key" DD_APP_KEY="your-app-key" wasmtime run target/wasm32-wasip2/release/pup.wasm -- monitors list ```

The pup auth status command works in WASM and reports which credentials are configured. The login, logout, and refresh subcommands return guidance to use DD_ACCESS_TOKEN.

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.

---

<details> <summary><b>📊 Core Observability</b></summary>

API DomainStatusPup CommandsNotes
Metricsmetrics search, metrics query, metrics list, metrics getV1 and V2 APIs supported
Logslogs search, logs list, logs aggregateV1 and V2 APIs supported
Eventsevents list, events search, events getInfrastructure event management
RUMrum apps, rum sessions, rum metrics, rum retention-filters, rum playlists, rum heatmapsApps, sessions, metrics, retention filters, replay playlists, heatmaps
APM Servicesapm services, apm entities, apm dependencies, apm flow-mapServices stats, operations, resources; entity queries; dependencies; flow visualization
Tracestraces search, traces aggregate, traces metricsSpan search/aggregation and span-based metric definitions
ProfilingprofilingNot supported in pup yet. Use the Datadog MCP server: https://docs.datadoghq.com/bits_ai/mcp_server. Enable with: https://mcp.datadoghq.com/api/unstable/mcp-server/mcp?toolsets=core,profiling
Database Monitoringdbm samples searchDBM query sample search
Session Replay-Not yet implemented

</details>

<details> <summary><b>🔔 Monitoring & Alerting</b></summary>

API DomainStatusPup CommandsNotes
Monitorsmonitors list, monitors get, monitors delete, monitors searchFull CRUD support with advanced search
Dashboardsdashboards list, dashboards get, dashboards delete, dashboards urlFull management capabilities
SLOsslos list, slos get, slos delete, slos statusFull CRUD plus V2 status query
Syntheticssynthetics tests, synthetics locations, synthetics suitesTests, locations, and V2 suites management
Downtimesdowntime list, downtime get, downtime cancelFull downtime management
Notebooksnotebooks list, notebooks get, notebooks deleteInvestigation notebooks supported
Status Pagesstatus-pages pages, status-pages components, status-pages degradations**New** — Pages, components, and degradation management
Powerpacks-Not yet implemented
Workflow Automationworkflows get, workflows create, workflows update, workflows delete, workflows run, workflows instancesFull CRUD plus run and instance management (list, get, cancel)
Local Runbooksrunbooks list, runbooks describe, runbooks run, runbooks import, runbooks validate**New** — YAML-defined multi-step runbooks with pup/shell/http/workflow step types, variable interpolation, and reusable templates

</details>

<details> <summary><b>🔒 Security & Compliance</b></summary>

API DomainStatusPup CommandsNotes
Security Monitoringsecurity rules, security signals, security findings, security content-packs, security risk-scoresRules, signals, findings, content packs, entity risk scores
Cloud Securitysecurity findings analyze, security findings schemaDDSQL analytics for misconfigurations, identity risks, and all Cloud Security finding types
Application Securitysecurity findings analyze, security asm-custom-rules, security asm-exclusionsAPI findings via DDSQL, WAF custom rules and exclusion filters
Static Analysisstatic-analysis ast, static-analysis custom-rulesets, static-analysis sca, static-analysis coverageCode security analysis
Audit Logsaudit-logs list, audit-logs searchFull audit log search and listing
Data Governancedata-governance scanner-rules listSensitive data scanner rules
CSM Threatscsm-threatsCloud Security Management threat rules and agent rules
Sensitive Data Scannerdata-governance scanner-rules listListed via Data Governance row above
Agentless Scanningagentless-scanning aws list/get/create/update/delete, agentless-scanning gcp list, agentless-scanning azure listCloud agentless scanning configuration for AWS, GCP, and Azure
Logs Restrictionlogs-restriction list, logs-restriction get, logs-restriction create, logs-restriction update, logs-restriction deleteLog restriction queries for fine-grained log access control
Data Deletiondata-deletion requests list, data-deletion requests create, data-deletion requests cancelGDPR/compliance data deletion request management

</details>

<details> <summary><b>☁️ Infrastructure & Cloud</b></summary>

API DomainStatusPup CommandsNotes
Infrastructureinfrastructure hosts list, infrastructure hosts getHost inventory management
Tagstags list, tags get, tags add, tags update, tags deleteHost tag operations
Networknetwork flows list, network devices, network interfacesNetwork flows, device inventory, interface tags
Cloud (AWS)cloud aws list, cloud aws cloud-auth persona-mappingsAWS integration management with persona mapping CRUD
Cloud (GCP)cloud gcp listGCP integration management
Cloud (Azure)cloud azure listAzure integration management
Cloud (OCI)cloud ociOracle Cloud tenancy configs and products
Containerscontainers list, containers images listContainers
Processesprocesses listProcess inventory query

</details>

<details> <summary><b>🚨 Incident & Operations</b></summary>

API DomainStatusPup CommandsNotes
Incidentsincidents list, incidents get, incidents attachments, incidents settings, incidents handles, incidents postmortem-templatesIncident management with settings, handles, and postmortem templates
On-Call (Teams)on-call teams (CRUD, memberships with roles)Full team management system with admin/member roles
Case Managementcases (create, search, assign, archive, projects, jira, servicenow, move)Complete case management with Jira/ServiceNow linking
Error Trackingerror-tracking issues search, error-tracking issues getError issue search and details
Service Catalogservice-catalog list, service-catalog getService registry management
Scorecardsscorecards list, scorecards getService quality scores
Fleet Automationfleet agents, fleet deployments, fleet schedulesAgent management, deployments, schedules (Preview)
HAMRhamr connections get, hamr connections create**New** — High Availability Multi-Region connections
Investigationsinvestigations list, investigations get, investigations triggerBits AI SRE investigation management
Change Managementchange-management create, change-management get, change-management update, change-management create-branch, change-management decisionsChange request management with decisions and branching
Incident Services/Teamsincidents services, incidents teamsService and team CRUD scoped to incident management
Live Debuggerdebugger probes list, debugger probes get, debugger probes create, debugger probes delete, debugger probes watchRemote log probe management for Live Debugger
Software Catalogsoftware-catalog entities list, software-catalog entities upsert, software-catalog kinds list, software-catalog relations listSoftware Catalog entity and kind management (next-gen catalog)

</details>

<details> <summary><b>🔧 CI/CD & Development</b></summary>

API DomainStatusPup CommandsNotes
CI Visibilitycicd pipelines list, cicd events listCI/CD pipeline visibility and events
Test Optimizationcicd tests, cicd flaky-tests, test-optimizationTest events, flaky test management, and Test Optimization API
DORA Metricscicd doraDORA deployment patching
Code Coveragecode-coverage branch-summary, code-coverage commit-summaryBranch and commit-level coverage summaries
Deployment Gatesdeployment-gates gates, deployment-gates evaluations, deployment-gates rulesDeployment gate CRUD, evaluation triggers, and rule management

</details>

<details> <summary><b>👥 Organization & Access</b></summary>

API DomainStatusPup CommandsNotes
Usersusers list, users get, users roles, users seatsUser and role management with seat assignment
Organizationsorganizations get, organizations listOrganization settings management
API Keysapi-keys list, api-keys get, api-keys create, api-keys deleteFull API key CRUD
App Keysapp-keys list, app-keys get, app-keys create, app-keys update, app-keys deleteFull application key CRUD
Service Accounts-Managed via users commands
Roles-Only list via users
AuthN Mappingsauthn-mappings list, authn-mappings get, authn-mappings create, authn-mappings update, authn-mappings deleteSAML/IdP attribute-to-role authentication mappings

</details>

<details> <summary><b>⚙️ Platform & Configuration</b></summary>

API DomainStatusPup CommandsNotes
Usage Meteringusage summary, usage hourlyUsage and billing metrics
Cost Managementcosts datadog projected, costs datadog attribution, costs datadog by-org, costs datadog aws-config, costs datadog azure-config, costs datadog gcp-config, costs ccm custom-costs, costs ccm tag-descriptions, costs ccm tag-metadata, costs ccm tags, costs ccm tag-keys, costs ccm budgets, costs ccm commitmentsCost attribution, cloud cost configs (AWS/Azure/GCP), and Cloud Cost Management (custom costs, tag descriptions, budgets, commitment programs)
Product Analyticsproduct-analytics events send, product-analytics queryServer-side product analytics events and queries
Integrationsintegrations slack, integrations pagerduty, integrations webhooks, integrations jira, integrations servicenow, integrations google-chat, integrations ms-teamsThird-party integrations including Jira, ServiceNow, Google Chat, and Microsoft Teams
Feature Flagsfeature-flags flags, feature-flags environments, feature-flags allocations, feature-flags exposure, feature-flags enable, feature-flags disableFeature flag management with environment, allocation, and exposure control
Data Streams (Kafka)kafka topic-configs, kafka broker-configs, kafka client-configs, kafka read-messages**Experimental** — Kafka cluster inspection via Datadog
Restricted Datasetsdatasets list, datasets get, datasets create, datasets update, datasets deleteRestricted dataset management for data access control
Observability Pipelinesobs-pipelines list, obs-pipelines get, obs-pipelines create, obs-pipelines update, obs-pipelines delete, obs-pipelines validateFull pipeline CRUD and validation
LLM Observabilityllm-obs projects, llm-obs experiments, llm-obs datasets**New** — LLM Obs projects, experiments, and dataset management
Reference Tablesreference-tables list, reference-tables get, reference-tables create, reference-tables batch-query**New** — Reference table management for log enrichment
Miscellaneousmisc ip-ranges, misc statusIP ranges and status
App Builderapp-builder list, app-builder get, app-builder create, app-builder update, app-builder delete, app-builder publishLow-code app management with publish/unpublish and batch delete
Key Managementapi-keys, app-keysAPI key and application key CRUD (listed in Organization & Access above)
IP Allowlist-Not yet implemented

</details>

API Key Authentication (Fallback)

If OAuth2 tokens are not available, Pup automatically falls back to API key authentication.

```bash export DD_API_KEY="your-datadog-api-key" export DD_APP_KEY="your-datadog-application-key" export DD_SITE="datadoghq.com" # Optional, defaults to datadoghq.com

Use any command - API keys are used automatically

pup monitors list ```

Search metrics using classic query syntax (v1 API)

pup metrics search --query="avg:system.cpu.user{*}" --from="1h"

Query time-series data (v2 API)

pup metrics query --query="avg:system.cpu.user{*}" --from="1h"

Or with API keys

wasmtime run --env DD_API_KEY="key" --env DD_APP_KEY="key" target/wasm32-wasip2/release/pup.wasm -- --help ```

Codex (reads .codex-plugin/plugin.json from the repo, or marketplace.json from ~/.agents/plugins/)

```

🎯 aiskill88 AI 点评 A 级 2026-05-23

Pup是一个非常有用的AI工作流工具,提供了丰富的命令和功能,帮助开发者更好地管理和观察AI系统。然而,需要进一步优化和完善。

⚡ 核心功能
👥 适合人群
自动化工程师和运维人员项目经理和业务分析师希望减少重复性工作的专业人士数字化转型团队
🎯 使用场景
  • 自动化日常重复性工作,将精力集中于创造性任务
  • 构建数据采集 → 处理 → 输出的完整自动化管线
  • 实现跨平台、跨系统的数据流转和业务协同
⚖️ 优点与不足
✅ 优点
  • +Apache-2.0 协议,可免费商用
  • +大幅减少重复性人工操作
  • +可视化流程,清晰直观
  • +可扩展性强,支持复杂场景
⚠️ 不足
  • 初始配置和调试需投入一定时间
  • 强依赖外部服务的稳定性
  • 复杂场景需具备一定技术基础
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。

🔗 相关工具推荐
🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合
❓ 常见问题 FAQ
使用cargo安装:cargo install pup
💡 AI Skill Hub 点评

经综合评估,开源AI工作流:Pup 在Agent工作流赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ Apache-2.0 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 开源AI工作流:Pup
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 pup
Topics workflowcliclientdatadogobservability
GitHub https://github.com/DataDog/pup
License Apache-2.0
语言 Rust
🔗 原始来源
🐙 GitHub 仓库  https://github.com/DataDog/pup 🌐 官方网站  https://www.datadoghq.com

收录时间:2026-05-23 · 更新时间:2026-05-23 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。