# OpenCLI Agent Pack: Amazon Q Developer CLI

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

## What this CLI is for
The official CLI from Amazon. Coding assistant, aws development, and terminal ai from the terminal. Runs entirely on your machine.

Best for: coding assistant, aws development, and terminal ai from the terminal.

## Agent readiness
Human-first CLI (20/100)
- Can run locally with less credential exposure.

## Install
```sh
brew install --cask amazon-q
```

## Verify before real work
```sh
q --help
```
Expected signal: q responds locally; authenticate before real work.

## Safe starting commands
```sh
q --help
```

```sh
q chat
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.
- Expect prompts; keep a human in the loop for interactive flows.
- 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 Amazon Q Developer CLI (`q`) for coding assistant, aws development, and terminal ai 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
