> For the complete documentation index, see [llms.txt](/llms.txt).
> A full single-fetch corpus is available at [llms-full.txt](/llms-full.txt).
---
last_verified: 2026-07-24
title: All commands
category: CLI
description: Alphabetical index of every top-level agnt5 command, with a one-line summary and a link to its full reference
hideRightSidebar: true
---

Every top-level `agnt5` command, alphabetically. Use `agnt5 <command> --help` for inline help, or [`agnt5 schema`](/docs/cli/automation.md#agnt5-schema) for a machine-readable version of this same tree.


**Invocation shape**: `agnt5 <command> [subcommand] [args] [options]`
**Help**: `agnt5 --help` for the top level; `agnt5 <command> --help` per command
**Full list**: agent-guide, auth, build, components, context (hidden), create, datasets, deploy, deployment, deployments, dev, experiments, info, init, inspect, logs, mcp, projects, reports, run, schema, scores, secrets, serverless, service-keys, upgrade, version, whoami, workspace. There is no `evals` command — `datasets`, `experiments`, `reports`, and `scores` are each independent top-level commands.


| Command | Summary | Reference |
| --- | --- | --- |
| `agent-guide` | Print embedded agent guidance for driving the CLI. | [Automation & agents](/docs/cli/automation.md) |
| `auth` | Log in, log out, and check authentication status. | [Auth](/docs/cli/auth.md) |
| `build` | Build and push a Docker image without deploying it. | [Deploy](/docs/cli/deploy.md) |
| `components` | List registered functions, workflows, agents, and tools. | [Run](/docs/cli/run.md) |
| `context` | Switch between AGNT5 Cloud and a self-hosted cluster. Hidden from `--help`. | [Context](/docs/cli/context.md) |
| `create` | Scaffold a new project in a new directory and register it. | [Project & workspaces](/docs/cli/project.md) |
| `datasets` | Manage eval datasets — create, upload, dedupe, publish versions. | [Evals](/docs/cli/evals.md) |
| `deploy` | Build, push, and deploy the current project. | [Deploy](/docs/cli/deploy.md) |
| `deployment` | Status and error events for the current project's latest deployment. | [Deploy](/docs/cli/deploy.md) |
| `deployments` | List deployments. Registered, not yet implemented. Aliases: `list`, `ls`. | [Inspect & logs](/docs/cli/inspect.md) |
| `dev` | Run the worker locally with hot-reload, or start the container dev server. | [Local development](/docs/cli/dev.md) |
| `experiments` | Run a component or prompt against a dataset and score the results. | [Evals](/docs/cli/evals.md) |
| `info` | Show information about a project. | [Project & workspaces](/docs/cli/project.md) |
| `init` | Set up the current directory as an AGNT5 project. Alias: `link`. | [Project & workspaces](/docs/cli/project.md) |
| `inspect` | Inspect execution runs, traces, and their logs. | [Inspect & logs](/docs/cli/inspect.md) |
| `logs` | Show deployment-level logs from the control plane. | [Inspect & logs](/docs/cli/inspect.md) |
| `mcp` | Expose AGNT5 tools as MCP over stdio. | [Automation & agents](/docs/cli/automation.md) |
| `projects` | List projects visible to your account. | [Project & workspaces](/docs/cli/project.md) |
| `reports` | Summarize, export, and CI-gate an eval experiment run. | [Evals](/docs/cli/evals.md) |
| `run` | Execute a function, workflow, tool, or agent. | [Run](/docs/cli/run.md) |
| `schema` | Emit the CLI's command tree as JSON. | [Automation & agents](/docs/cli/automation.md) |
| `scores` | Query individual scorer outputs and evidence. | [Evals](/docs/cli/evals.md) |
| `secrets` | Manage project secrets. Alias: `secret`. | [Secrets](/docs/cli/secrets.md) |
| `serverless` | Register and manage provider-hosted serverless endpoints. | [Serverless](/docs/cli/serverless.md) |
| `service-keys` | Manage programmatic API keys. Aliases: `keys`, `api-keys`. | [Service keys](/docs/cli/service-keys.md) |
| `upgrade` | Update the CLI to the latest version. Alias for `version update`. | [CLI overview](/docs/cli/overview.md#upgrading) |
| `version` | Print CLI version and build info. `version update` self-upgrades. | [CLI overview](/docs/cli/overview.md#upgrading) |
| `whoami` | Show the currently authenticated user. Also `agnt5 auth whoami`. | [Auth](/docs/cli/auth.md) |
| `workspace` | Switch the default workspace. Alias: `ws`. | [Project & workspaces](/docs/cli/project.md) |

## Global flags

Available on every command:

| Flag | Description |
| --- | --- |
| `--env-file <path>` | Load CLI environment variables from a dotenv file. |
| `--output <format>`, `-o` | `text` or `json`. Defaults to `text` on a terminal, `json` when piped. |
| `--json` | Deprecated alias for `--output json`. |
| `--help`, `-h` | Show help for the command. |

`--version`/`-v` is root-only — `agnt5 --version` prints a one-line version string, but the flag isn't inherited by subcommands (`agnt5 deploy --version` errors). Use `agnt5 version` for the fuller build breakdown from any context.

See [Configuration](/docs/cli/configuration.md) for the full precedence rules and environment variable list.

## Next steps

- [CLI overview](/docs/cli/overview.md): install, quickstart, and upgrade instructions.
- [Configuration](/docs/cli/configuration.md): global flags, config files, and environment variables in depth.
- [Automation & agents](/docs/cli/automation.md): script the CLI or drive it from an agent.
