{"schemaVersion":"opencli.cli.v1","slug":"stern","name":"stern","shortName":"stern","binaryName":"stern","maker":{"slug":"derailed","name":"Derailed","type":"small-team","url":"https://github.com/derailed","officialPlatformMaker":false,"featuredBuilder":false},"category":"Observability","description":"Kubernetes logs, multi-pod tails, and debugging from the terminal. Built by Derailed.","tagline":"Kubernetes logs, multi-pod tails, and debugging from the terminal.","install":{"packageManager":"brew","command":"brew install stern","packageName":null,"npmPackage":null,"brewFormula":"stern","brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"stern --version","signal":"stern responds locally and is ready for the first real command."},"quickStart":"stern api","exampleWorkflow":["stern api"],"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.","Network access is required; avoid leaking secrets in logs."]},"packUrl":"https://opencli.co/cli/stern/agent.md","packMarkdown":"# OpenCLI Agent Pack: stern\n\nUse this when an AI agent needs to work with `stern`.\n\n## What this CLI is for\nKubernetes logs, multi-pod tails, and debugging from the terminal. Built by Derailed.\n\nBest for: kubernetes logs, multi-pod tails, and debugging 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 stern\n```\n\n## Verify before real work\n```sh\nstern --version\n```\nExpected signal: stern responds locally and is ready for the first real command.\n\n## Safe starting commands\n```sh\nstern --version\n```\n\n```sh\nstern api\n```\n\n## Guardrails for agents\n- Prefer small commands and ask the agent to summarize plain text output.\n- Network access is required; avoid leaking secrets in logs.\n\n## Suggested agent instruction\nYou may use stern (`stern`) for kubernetes logs, multi-pod tails, and debugging 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":"kubernetes logs, multi-pod tails, and debugging from the terminal.","useThisIf":"You need observability in both local dev and CI.","skipIf":"You don't work with observability.","whatHappensNext":"Run `stern api` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":false,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":false,"requiresNetwork":true,"ciFriendly":true,"localFirst":false,"destructivePotential":"low"},"taxonomy":{"useCases":["Kubernetes logs","Multi-pod tails","Debugging"],"aliases":["k8s logs"],"keywords":["kubernetes logs tail"],"tags":["builder","agent-friendly","ci-friendly"]},"links":{"website":"https://github.com/stern/stern","github":"https://github.com/stern/stern","docs":"https://github.com/stern/stern","opencli":"https://opencli.co/cli/stern","markdown":"https://opencli.co/cli/stern/agent.md","json":"https://opencli.co/cli/stern.json"},"metrics":{"githubStars":4715,"latestRelease":"2026-05-03T09:27:21Z","license":"Apache-2.0","metricLabel":"Homebrew installs (30d)","metricValue":3277,"metricSource":"homebrew","metricAsOf":"2026-06-08T11:00:52.707Z"}}