{"schemaVersion":"opencli.cli.v1","slug":"consul","name":"Consul","shortName":"consul","binaryName":"consul","maker":{"slug":"hashicorp","name":"HashiCorp","type":"org","url":"https://hashicorp.com","officialPlatformMaker":true,"featuredBuilder":false},"category":"Cloud","description":"The official CLI from HashiCorp. Service discovery, kv, and mesh from the terminal. Supports structured output — good for scripts and agents.","tagline":"Service discovery, kv, and mesh from the terminal.","install":{"packageManager":"brew","command":"brew tap hashicorp/tap && brew install hashicorp/tap/consul","packageName":null,"npmPackage":null,"brewFormula":"consul","brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":"hashicorp/consul"},"verify":{"command":"consul --version","signal":"consul responds locally and is ready for the first real command."},"quickStart":"consul agent -dev","exampleWorkflow":["consul agent -dev"],"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":["Start read-only, then ask before mutations."]},"packUrl":"https://opencli.co/cli/consul/agent.md","packMarkdown":"# OpenCLI Agent Pack: Consul\n\nUse this when an AI agent needs to work with `consul`.\n\n## What this CLI is for\nThe official CLI from HashiCorp. Service discovery, kv, and mesh from the terminal. Supports structured output — good for scripts and agents.\n\nBest for: service discovery, kv, and mesh 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 tap hashicorp/tap && brew install hashicorp/tap/consul\n```\n\n## Verify before real work\n```sh\nconsul --version\n```\nExpected signal: consul responds locally and is ready for the first real command.\n\n## Safe starting commands\n```sh\nconsul --version\n```\n\n```sh\nconsul agent -dev\n```\n\n## Guardrails for agents\n- Start read-only, then ask before mutations.\n\n## Suggested agent instruction\nYou may use Consul (`consul`) for service discovery, kv, and mesh 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":"service discovery, kv, and mesh from the terminal.","useThisIf":"You're on HashiCorp and want the official terminal experience.","skipIf":"You don't work with cloud infrastructure.","whatHappensNext":"Run `consul agent -dev` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":true,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":false,"requiresNetwork":false,"ciFriendly":true,"localFirst":false,"destructivePotential":"medium"},"taxonomy":{"useCases":["Service discovery","KV","Mesh"],"aliases":["hashicorp consul"],"keywords":["service discovery kv service mesh"],"tags":["official","agent-friendly"]},"links":{"website":"https://developer.hashicorp.com/consul/commands","github":"https://github.com/hashicorp/consul","docs":"https://developer.hashicorp.com/consul/commands","opencli":"https://opencli.co/cli/consul","markdown":"https://opencli.co/cli/consul/agent.md","json":"https://opencli.co/cli/consul.json"},"metrics":{"githubStars":29915,"latestRelease":"2026-06-08T07:40:06Z","license":"NOASSERTION","metricLabel":"Docker pulls","metricValue":101131936,"metricSource":"docker-hub","metricAsOf":"2026-06-08T11:00:33.134Z"}}