Humanbound website
Documentation
Reference

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

CommandDescription
hb --versionPrint CLI version
hb --base-url URLUse custom API endpoint (on-prem installations)

Authentication

CommandDescription
hb loginAuthenticate via OAuth browser flow
hb logoutClear local credentials and optionally revoke session
hb whoamiShow current user, org, and project
hb orgs use <org-id>Switch active organisation context
hb orgs listList organisations you have access to
hb orgs currentShow the currently selected organisation
hb orgs subscriptionShow subscription details: plan, status (active, past_due, unpaid, canceled), a pending plan switch, quota and features

Projects

CommandDescription
hb connectConnect your agent or scan a cloud platform
hb connect -l systemConnect with deeper testing level (unit/system/acceptance)
hb connect --repo <path> [PREVIEW]Also infers the capability surface from source patterns
hb connect --no-testConnect 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.yamlUse 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 listList 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 currentShow active project information
hb projects statusShow project activity (running experiments, posture, monitoring)
hb projects status -wWatch project activity, poll every 3 minutes until idle
hb projects updateUpdate project name, description, or capability surface (--capabilities)
hb projects delete <id>Delete project and all associated data

Experiments

CommandDescription
hb testCreate 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 listList 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.

CommandDescription
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 psList 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-ownerStop 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/unsetManage 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.

CommandDescription
hb orchestrators listList 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

CommandDescription
hb logsList 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|failFilter by verdict
hb logs --category <name>Filter by test category (substring match); requires login
hb logs --from DATE --until DATEFilter by date range (ISO 8601); requires login
hb logs --days NShorthand for last N days; requires login
hb logs --last NShow logs from last N experiments; requires login
hb logs --format json|html|junit|tableOutput format (default: table). junit writes a JUnit XML test report of one experiment for CI
hb logs -o FILESave output to file
hb logs upload <file>Upload conversation logs for evaluation
hb postureView security posture score and grade
hb posture --trendsView historical posture timeline
hb coverageView test coverage summary and gaps
hb findingsList 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 assessmentsList 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 reportGenerate project HTML security report (-o, --no-open)
hb orgs reportGenerate organisation-wide HTML report (-o, --no-open)
hb experiments report <id>Generate experiment HTML report with methodology context (-o, --no-open)

Security

CommandDescription
hb guardrailsExport learned security rules and patterns
hb campaignsDeprecated — use hb assessments
hb campaigns terminateDeprecated — use hb assessments terminate
hb monitorStart, pause, or resume continuous monitoring

Configuration

CommandDescription
hb providers listList configured LLM providers
hb providers createAdd new LLM provider configuration
hb providers update <id>Update provider credentials or settings
hb providers delete <id>Remove provider configuration
hb api-keys listList API keys for programmatic access
hb api-keys createCreate 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 listList organisation members
hb members inviteInvite new member to organisation
hb members delete <id>Remove member from organisation

Help & Shell

CommandDescription
hb docsOpen online documentation or specific topic
hb completion [bash|zsh|fish]Generate shell tab-completion script
hb --helpShow CLI help and available commands
hb <command> --helpShow help for specific command