Compute

The hanzo compute commands.

Also for this capability: API · CLI · MCP · SDKs

The compute you rent from Hanzo: machines, GPUs and clusters — launch one, resize it, tear it down.

API reference →

hanzo compute clusters list

Every command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.

CommandWhat it does
hanzo compute regionsLists the regions a machine can be launched in.
hanzo compute sizesLists the machine sizes available to launch, with their specifications.

Clusters

CommandWhat it does
hanzo compute clusters createAttaches a BYO cluster to the caller's org — the kubeconfig is validated, KMS-sealed and added to the fleet — and answers 201 with the cluster as it now appears on GET /v1/compute/clusters.
hanzo compute clusters listReturns the caller org's clusters from both sources: the managed clusters projected from Visor's node pools, and the BYO clusters attached to the caller's project.
hanzo compute clusters pools create <clusterId>Adds a node pool to one of the caller org's clusters and answers 201 with the created pool.
hanzo compute clusters pools rm <clusterId> <poolId>Removes a node pool from one of the caller org's clusters.
hanzo compute clusters pools scale <clusterId> <poolId>Resizes a node pool to an absolute node count and returns the pool as Visor reports it after the change.
hanzo compute clusters rm <id>Removes a BYO cluster from the caller org's fleet.

Fleet

CommandWhat it does
hanzo compute fleet getReturns every compute unit the caller's org has, from every source, each carrying its latest utilization: agent run-targets, the BYO machines that dialed in, attached BYO clusters and Visor-provisioned machines.
hanzo compute fleet jobs cancel <id>Cancels a queued or running render in the caller's org.
hanzo compute fleet jobs listReturns the caller org's gpu-jobs render queue, each row tagged with the GPU it targets (empty = the shared any-GPU lane) and the node claiming it, optionally narrowed to one GPU's queue and/or one status.
hanzo compute fleet samples createRecords a BYO worker's live GPU utilization into the SAME series the fleet board overlays.
hanzo compute fleet samples getReturns the caller org's utilization series, oldest first.
hanzo compute fleet workersReturns the caller org's BYO machines — the ones that dialed in via hanzo link — with everything each host reported about itself.

GPUs

CommandWhat it does
hanzo compute gpus alertsAn HONEST empty surface: Visor exposes no GPU alert inventory, so this returns [] rather than fabricating alerts.
hanzo compute gpus getReturns one row per physical accelerator the caller's org has, derived from its real GPU machines (the size slug says how many cards a node holds) and from the accelerators BYO workers report through nvidia-smi.

K8s

CommandWhat it does
hanzo compute k8s clusters createProvisions a DOKS cluster for the caller's org and answers 201.
hanzo compute k8s clusters get <id>Returns one cluster's detail: node pools + worker nodes.
hanzo compute k8s clusters listLists the org's DOKS clusters (Visor, house account) folded with the org's BYO clusters — ONE fleet cluster view under the unified k8s noun.
hanzo compute k8s clusters rm <id>Destroys a DOKS cluster by id and answers 204.
hanzo compute k8s nodesReturns every DOKS worker node in the org's clusters as a machine — the SAME set the fleet folds in (managedMachines), exposed directly under the k8s noun.

Machines

CommandWhat it does
hanzo compute machines agent clear <id>Detaches the agent runtime from one of the caller org's machines.
hanzo compute machines agent get <id>Returns the agent binding of one of the caller org's machines, or 404 when the machine runs no bot runtime.
hanzo compute machines agent replace <id>Binds a cloud Agent to one of the caller org's machines: the machine is recorded as running that Agent's @hanzo/bot runtime.
hanzo compute machines agentsReturns every agent↔machine binding in the caller's org — which machines are running which cloud Agent, with vm's own reconciled status.
hanzo compute machines createLaunch a metered machine for your org, or price one first with dryRun
hanzo compute machines get <id>Returns one of the caller org's machines by its org-scoped name.
hanzo compute machines id add <id> <action>Message a bot, or stop it, by naming the action in the path
hanzo compute machines listReturns every machine the caller's org has — Visor's registry, the live DigitalOcean droplets and the DOKS worker nodes (deduped into one union), plus the BYO machines that dialed in via hanzo link (provider "byo").
hanzo compute machines rm <id>Terminates one of the caller org's machines.
Was this page useful?