# OpenCLI Agent Pack: stern

Use this when an AI agent needs to work with `stern`.

## What this CLI is for
Kubernetes logs, multi-pod tails, and debugging from the terminal. Built by Derailed.

Best for: kubernetes logs, multi-pod tails, and debugging from the terminal.

## Agent readiness
Usable with guardrails (50/100)
- Supports non-interactive/scripted use.
- Works well in CI or repeatable automation.

## Install
```sh
brew install stern
```

## Verify before real work
```sh
stern --version
```
Expected signal: stern responds locally and is ready for the first real command.

## Safe starting commands
```sh
stern --version
```

```sh
stern api
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.
- Network access is required; avoid leaking secrets in logs.

## Suggested agent instruction
You 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.

Source: OpenCLI
