Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

Argo Workflows CLI

$ argo Foundation Med Risk
Argo / CNCF · Cloud & Infra · Apache-2.0 · macos / linux / windows

argo submits, lists, watches, retries, and fetches logs for Argo Workflows on Kubernetes. It supports --output json on get/list/submit, --log-format json, and headless execution via kubeconfig or ARGO_SERVER.

FCRS-1.0 Score
88 /100
Good
Medium Confidence
Zero-Friction Install
brew install argo
CLI vs MCP Decision CLI Preferred vs MCP

argo get -o json and argo logs return workflow DAG states and step logs directly without loading extra MCP tool schemas.

Agent-Readiness Checklist

✓ JSON Output
— Field Filtering
✓ Non-Interactive
✓ Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 21 / 25

Supports -o json (--output json) on get, list, and submit, plus --log-format json and --dry-run on lint/submit, though --watch and logs --follow block until completion.

  • Supports -o json and --log-format json
  • Supports argo lint and submit --dry-run
Trust & Safety 20 / 25

Supports argo lint, submit --dry-run, and Kubernetes RBAC impersonation (--as), though submitting or terminating workflows executes cluster pods.

  • argo lint and --dry-run validate manifests before submission
Setup & Portability 14 / 15

Single static Go binary via Homebrew and GitHub Releases for macOS, Linux, and Windows; requires Argo Workflows installed in target cluster.

  • Cross-platform binary via brew install argo
Utility & Efficiency 14 / 15

Far friendlier than raw kubectl for DAG step statuses, artifact/log aggregation, retry, and resubmit.

  • Aggregates multi-pod DAG step states and logs
Maintenance & Lineage 10 / 10

CNCF graduated project (argoproj/argo-workflows) maintained under Apache-2.0.

  • CNCF graduated argoproj/argo-workflows repository
Docs & Verifiability 9 / 10

Auto-generated CLI docs for every subcommand at argo-workflows.readthedocs.io.

  • Complete CLI reference documentation

Security, Auth & Guardrails

Auth Modes
Config File Env API Key Service Account
Credential Storage

Authenticates via ~/.kube/config (--kubeconfig) or ARGO_SERVER + ARGO_TOKEN environment variables.

Side Effects
Read-Only Remote Write Destructive
Cost & Quotas

CLI is free (Apache-2.0); submitted workflows consume cluster compute.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# Argo Workflows CLI (argo) Agent Rules
- Always pass `-n <namespace>` explicitly on `submit`, `get`, `list`, and `logs`.
- Omit `--watch` / `--follow` in agent calls unless bounded; poll `argo get -o json` instead.
- Never run `argo delete --all` or `argo terminate` on production workflows without approval.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect a workflow run as JSON
argo get my-workflow-abc12 -n argo -o json

Retrieves workflow phase, node statuses, and parameters in JSON.

Fetch logs for a workflow without streaming
argo logs my-workflow-abc12 -n argo --log-format json

Returns structured JSON log entries for completed or running workflow pods.

Controlled Writes & Previews

Submit a workflow manifest without blocking
argo submit ./workflow.yaml -n argo -p revision=main -o json

Submits the workflow with explicit parameters and returns the created Workflow JSON immediately.

Strengths for Agents

  • + -o json works consistently across get, list, and submit, plus --log-format json on logs.
  • + argo lint and --dry-run catch invalid workflow templates before submission.
  • + CNCF graduated project with first-class DAG status and log aggregation.

Caveats & Pitfalls

  • ! --watch and logs --follow block indefinitely until workflows finish.
  • ! Connecting to ARGO_SERVER behind HTTP/1.1 proxies requires --argo-http1.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI