Command Reference
Complete hb CLI reference — every command and flag, grouped by workflow — auth, projects, test, arena, posture, logs, MCP.
The complete hb CLI reference, organised into eight categories: global flags, authentication (login / logout / whoami / orgs), projects, experiments (test execution), results (logs / posture / coverage / findings / assessments / reports), security (guardrails / campaigns / monitor), configuration (providers / api-keys / members), and help & shell (docs / completion / --help). Each table lists every command with its purpose; use hb <command> --help for full flag documentation.
Global
| Command | Description |
|---|---|
hb --version | Print CLI version |
hb --base-url URL | Use custom API endpoint (on-prem installations) |
Authentication
| Command | Description |
|---|---|
hb login | Authenticate via OAuth browser flow |
hb logout | Clear local credentials and optionally revoke session |
hb whoami | Show current user, org, and project |
hb orgs use <org-id> | Switch active organisation context |
hb orgs list | List organisations you have access to |
hb orgs current | Show the currently selected organisation |
hb orgs subscription | Show subscription details: plan, status (active, past_due, unpaid, canceled), a pending plan switch, quota and features |
Projects
| Command | Description |
|---|---|
hb connect | Connect your agent or scan a cloud platform |
hb connect -l system | Connect with deeper testing level (unit/system/acceptance) |
hb connect --repo <path> [PREVIEW] | Also infers the capability surface from source patterns |
hb connect --no-test | Connect and create project but skip the auto-test step |
hb connect --test-category <path> | Choose which test family the auto-test runs (default: humanbound/adversarial/owasp_agentic) |
hb connect --scope ./scope.yaml | Use a pre-made scope file as input; the backend analyses it and proposes additive intents before project creation. A capabilities: block in the file is applied to the project |
hb connect --vendor <id> | Discover and onboard a hosted-platform agent (currently openai); credential from env or a hidden prompt; requires login; mutually exclusive with --endpoint |
hb projects list | List all projects in current org |
hb projects use <id> | Set active project for subsequent commands |
hb projects show [id] | Show project details (current or specific) |
hb projects current | Show active project information |
hb projects status | Show project activity (running experiments, posture, monitoring) |
hb projects status -w | Watch project activity, poll every 3 minutes until idle |
hb projects update | Update project name, description, or capability surface (--capabilities) |
hb projects delete <id> | Delete project and all associated data |
Experiments
| Command | Description |
|---|---|
hb test | Create and run new security test experiment |
hb test --target arena://<agent> | Test a running arena agent on the local engine; the agent is reset first (--no-reset skips that). No login needed |
hb experiments list | List all experiments for current project |
hb experiments show <id> [--config] | Show detailed experiment information; --config prints the configuration the run used (bot integration, scope, context) as reusable JSON |
hb experiments status [id] [--all] | Check experiment status (single, watch, or all-experiments dashboard) |
hb experiments wait <id> | Block until experiment completes (CI/CD) |
hb experiments terminate <id> | Stop running experiment |
hb experiments delete <id> | Delete experiment and logs |
hb status [--all] | Check status of latest experiment or all experiments (alias) |
Arena
Run intentionally vulnerable agents locally, in Docker, and test them. None of these commands needs a login. See Arena.
| Command | Description |
|---|---|
hb arena ls [--installed] | List the agents of the catalog, or only the installed ones |
hb arena info <id>[:version] [--agent-yaml] | Show an agent's details, keys, what it may reach on the network and its planted vulnerabilities |
hb arena validate <path> | Validate an arena.yaml (and its compose file) |
hb arena pull <id>[:version] | Install an agent and pull its images |
hb arena run <id>[:version] [--env-file FILE] [--yes] | Start an agent with its network access blocked and make it reachable through the gateway |
hb arena ps | List running agents |
hb arena logs <id> [-f] [--tail N] [--door] | Show an agent's logs; --door shows what it reached or was refused on the network |
hb arena check <id> [--json] | Check a running agent's containers against the container baseline |
hb arena reset <id> | Recreate an agent from its image |
hb arena stop <id> / --all / --all --any-owner | Stop one agent, all of yours, or every owner's on this Docker |
hb arena rm <id> | Stop an agent and remove its images and cached manifest |
hb arena endpoint <id> [--show-token] | Print an agent's A2A and OpenAI-compatible URLs; the access token is masked unless you pass --show-token |
hb arena token [--rotate] | Print only your gateway access token; --rotate replaces it and restarts your gateway |
hb arena config set/get/unset | Manage the keys agents receive |
hb arena serve [--host H] [--port P] | Run the gateway in the foreground |
Orchestrators
List, create and check the orchestrators hb test -t runs on the local engine. None of these commands needs a login. See Orchestrators.
| Command | Description |
|---|---|
hb orchestrators list | List the built-in orchestrators and the custom ones in ~/.humanbound/orchestrators/ |
hb orchestrators new <name> [--dir DIR] [--description TEXT] [--author TEXT] | Create a working custom orchestrator to start from |
hb orchestrators validate <name|path> | Check a custom orchestrator's code and manifest without running a test; exits 1 if hb test could not run it |
Results
| Command | Description |
|---|---|
hb logs | List logs from the latest experiment |
hb logs <experiment-id> | View logs for a specific experiment |
hb logs --assessment <id> | List logs for a specific assessment; requires login |
hb logs --finding <id> | List logs linked to a specific finding; requires login |
hb logs --verdict pass|fail | Filter by verdict |
hb logs --category <name> | Filter by test category (substring match); requires login |
hb logs --from DATE --until DATE | Filter by date range (ISO 8601); requires login |
hb logs --days N | Shorthand for last N days; requires login |
hb logs --last N | Show logs from last N experiments; requires login |
hb logs --format json|html|junit|table | Output format (default: table). junit writes a JUnit XML test report of one experiment for CI |
hb logs -o FILE | Save output to file |
hb logs upload <file> | Upload conversation logs for evaluation |
hb posture | View security posture score and grade |
hb posture --trends | View historical posture timeline |
hb coverage | View test coverage summary and gaps |
hb findings | List persistent vulnerability findings (--page, --size, -o <file>) |
hb findings update <id> | Update finding status or severity |
hb findings assign <id> | Assign finding to a team member |
hb findings retest <id> | Retest a finding to verify a fix (--testing-level unit|system|acceptance, --deep, --full, --watch) |
hb findings regressions <id> | Show a finding's regression-retest history |
hb assessments | List past security assessments |
hb assessments create -t <category> | Create and run a custom assessment from your own test categories, e.g. humanbound/adversarial/owasp_agentic — repeat -t/--test-category or comma-separate for several (--testing-level/-l, --wait, --json, --yes/-y); with --wait, exits 0 on completed, 1 on failed/broken |
hb assessments clone <id> | Re-run a custom assessment with the same tests and level (--wait, --json, --yes/-y); custom assessments only |
hb assessments show [id] | View assessment detail (findings surfaced, posture trajectory, drift, coverage, duration); defaults to the latest. Custom assessments are windowless — posture and drift show — |
hb assessments terminate [id] | Stop a running assessment (defaults to the current/latest) (--force skips confirmation) |
hb assessments report <id> | Generate assessment HTML report with full test logs (-o, --no-open) |
hb projects report | Generate project HTML security report (-o, --no-open) |
hb orgs report | Generate organisation-wide HTML report (-o, --no-open) |
hb experiments report <id> | Generate experiment HTML report with methodology context (-o, --no-open) |
Security
| Command | Description |
|---|---|
hb guardrails | Export learned security rules and patterns |
hb campaigns | Deprecated — use hb assessments |
hb campaigns terminate | Deprecated — use hb assessments terminate |
hb monitor | Start, pause, or resume continuous monitoring |
Configuration
| Command | Description |
|---|---|
hb providers list | List configured LLM providers |
hb providers create | Add new LLM provider configuration |
hb providers update <id> | Update provider credentials or settings |
hb providers delete <id> | Remove provider configuration |
hb api-keys list | List API keys for programmatic access |
hb api-keys create | Create new API key (shown once) |
hb api-keys update <id> | Update key name or activation status |
hb api-keys delete <id> | Revoke and delete API key |
hb members list | List organisation members |
hb members invite | Invite new member to organisation |
hb members delete <id> | Remove member from organisation |
Help & Shell
| Command | Description |
|---|---|
hb docs | Open online documentation or specific topic |
hb completion [bash|zsh|fish] | Generate shell tab-completion script |
hb --help | Show CLI help and available commands |
hb <command> --help | Show help for specific command |