{"schemaVersion":"opencli.cli.v1","slug":"az","name":"Azure CLI","shortName":"az","binaryName":"az","maker":{"slug":"microsoft","name":"Microsoft","type":"org","url":"https://microsoft.com","officialPlatformMaker":true,"featuredBuilder":false},"category":"Cloud","description":"The official CLI from Microsoft. Cloud ops, deployments, and resource groups from the terminal. Supports structured output — good for scripts and agents.","tagline":"Cloud ops, deployments, and resource groups from the terminal.","install":{"packageManager":"brew","command":"brew install azure-cli","packageName":null,"npmPackage":null,"brewFormula":"azure-cli","brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"az account show --output json","signal":"Shows the active Azure subscription as JSON."},"quickStart":"az login && az account show","exampleWorkflow":["az login && az account show"],"agent":{"readiness":{"label":"Great for agents","score":75,"reasons":["Structured output is available for parsing.","Supports non-interactive/scripted use.","Works well in CI or repeatable automation."],"guardrails":["Verify identity/account before running task commands.","Network access is required; avoid leaking secrets in logs.","Require confirmation before apply, delete, deploy, transfer, merge, or write actions."]},"packUrl":"https://opencli.co/cli/az/agent.md","packMarkdown":"# OpenCLI Agent Pack: Azure CLI\n\nUse this when an AI agent needs to work with `az`.\n\n## What this CLI is for\nThe official CLI from Microsoft. Cloud ops, deployments, and resource groups from the terminal. Supports structured output — good for scripts and agents.\n\nBest for: cloud ops, deployments, and resource groups from the terminal.\n\n## Agent readiness\nGreat for agents (75/100)\n- Structured output is available for parsing.\n- Supports non-interactive/scripted use.\n- Works well in CI or repeatable automation.\n\n## Install\n```sh\nbrew install azure-cli\n```\n\n## Verify before real work\n```sh\naz account show --output json\n```\nExpected signal: Shows the active Azure subscription as JSON.\n\n## Safe starting commands\n```sh\naz account show --output json\n```\n\n```sh\naz login && az account show\n```\n\n## Guardrails for agents\n- Verify identity/account before running task commands.\n- Network access is required; avoid leaking secrets in logs.\n- Require confirmation before apply, delete, deploy, transfer, merge, or write actions.\n\n## Suggested agent instruction\nYou may use Azure CLI (`az`) for cloud ops, deployments, and resource groups from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"cloud ops, deployments, and resource groups from the terminal.","useThisIf":"You want cloud infrastructure you can script with structured output.","skipIf":"You're not comfortable with a tool that can write to production.","whatHappensNext":"Run `az login && az account show` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":true,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":true,"requiresNetwork":true,"ciFriendly":true,"localFirst":false,"destructivePotential":"high"},"taxonomy":{"useCases":["Cloud ops","Deployments","Resource groups"],"aliases":["azure cli"],"keywords":["azure resource groups deployments"],"tags":["official","agent-friendly","json-output","ci-friendly"]},"links":{"website":"https://learn.microsoft.com/cli/azure/","github":"https://github.com/Azure/azure-cli","docs":"https://learn.microsoft.com/cli/azure/","opencli":"https://opencli.co/cli/az","markdown":"https://opencli.co/cli/az/agent.md","json":"https://opencli.co/cli/az.json"},"metrics":{"githubStars":4557,"latestRelease":"2026-06-05T05:04:02Z","license":"MIT","metricLabel":"Homebrew installs (30d)","metricValue":32242,"metricSource":"homebrew","metricAsOf":"2026-06-08T11:00:31.529Z"}}