# OpenCLI Agent Pack: flyctl

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

## What this CLI is for
The official CLI from Fly.io. Global deploys, machines, and app scaling from the terminal.

Best for: global deploys, machines, and app scaling 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 flyctl
```

## Verify before real work
```sh
fly auth whoami
```
Expected signal: Shows the active org or user identity.

## Safe starting commands
```sh
fly auth whoami
```

```sh
fly auth login && fly launch
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.
- 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.

## Suggested agent instruction
You may use flyctl (`flyctl`) for global deploys, machines, and app scaling 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
