{"schemaVersion":"opencli.cli.v1","slug":"k6","name":"k6","shortName":"k6","binaryName":"k6","maker":{"slug":"grafana","name":"Grafana","type":"org","url":"https://grafana.com","officialPlatformMaker":true,"featuredBuilder":false},"category":"Observability","description":"The official CLI from Grafana. Load testing, performance, and http tests from the terminal.","tagline":"Load testing, performance, and http tests from the terminal.","install":{"packageManager":"brew","command":"brew install k6","packageName":null,"npmPackage":null,"brewFormula":"k6","brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"k6 --version","signal":"k6 responds locally and is ready for the first real command."},"quickStart":"k6 run script.js","exampleWorkflow":["k6 run script.js"],"agent":{"readiness":{"label":"Usable with guardrails","score":50,"reasons":["Supports non-interactive/scripted use.","Works well in CI or repeatable automation."],"guardrails":["Prefer small commands and ask the agent to summarize plain text output.","Start read-only, then ask before mutations."]},"packUrl":"https://opencli.co/cli/k6/agent.md","packMarkdown":"# OpenCLI Agent Pack: k6\n\nUse this when an AI agent needs to work with `k6`.\n\n## What this CLI is for\nThe official CLI from Grafana. Load testing, performance, and http tests from the terminal.\n\nBest for: load testing, performance, and http tests from the terminal.\n\n## Agent readiness\nUsable with guardrails (50/100)\n- Supports non-interactive/scripted use.\n- Works well in CI or repeatable automation.\n\n## Install\n```sh\nbrew install k6\n```\n\n## Verify before real work\n```sh\nk6 --version\n```\nExpected signal: k6 responds locally and is ready for the first real command.\n\n## Safe starting commands\n```sh\nk6 --version\n```\n\n```sh\nk6 run script.js\n```\n\n## Guardrails for agents\n- Prefer small commands and ask the agent to summarize plain text output.\n- Start read-only, then ask before mutations.\n\n## Suggested agent instruction\nYou may use k6 (`k6`) for load testing, performance, and http tests 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":"load testing, performance, and http tests from the terminal.","useThisIf":"You need observability in both local dev and CI.","skipIf":"You don't work with observability.","whatHappensNext":"Run `k6 run script.js` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":false,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":false,"requiresNetwork":false,"ciFriendly":true,"localFirst":false,"destructivePotential":"medium"},"taxonomy":{"useCases":["Load testing","Performance","HTTP tests"],"aliases":["load test cli"],"keywords":["load testing performance api"],"tags":["official","agent-friendly","ci-friendly"]},"links":{"website":"https://k6.io","github":"https://github.com/grafana/k6","docs":"https://grafana.com/docs/k6/latest/using-k6/k6-options/reference/","opencli":"https://opencli.co/cli/k6","markdown":"https://opencli.co/cli/k6/agent.md","json":"https://opencli.co/cli/k6.json"},"metrics":{"githubStars":30755,"latestRelease":"2026-06-08T09:59:20Z","license":"AGPL-3.0","metricLabel":"Homebrew installs (30d)","metricValue":6391,"metricSource":"homebrew","metricAsOf":"2026-06-08T11:00:53.067Z"}}