The hearth command¶
hearth sets up a farm in one command and then lets you use it from a terminal. It drives tools
you already have (kind, helm, kubectl, and for clouds eksctl/aws or gcloud) and prints
every command before it runs it. Add --dry-run to any setup command to see the plan without
running anything.
Install it with the one-line installer.
Set up and tear down¶
| Command | What it does |
|---|---|
hearth up local |
A kind cluster on this machine, the farm on http://localhost:8080 |
hearth up aws |
An EKS cluster (made with eksctl), autoscaling, the farm behind a Network Load Balancer. See AWS and Google Cloud |
hearth up gcp |
A GKE Autopilot cluster, the farm behind a load balancer. See AWS and Google Cloud |
hearth up <target> --existing-cluster |
(aws, gcp) Install on the cluster of the current kubectl context instead of creating one |
hearth down |
Removes the farm hearth up made, and its cluster; --keep-cluster removes only the farm |
Options every up accepts:
| Option | Meaning |
|---|---|
--chart, --chart-version |
The chart to install (default oci://ghcr.io/test-zeus-ai/charts/hearth, latest) |
-f values.yaml, --set k=v |
Chart values, applied after the target's own; yours win |
--namespace, --release |
Where to install (default hearth, hearth) |
--dry-run |
Print the plan; change nothing |
hearth up saves where it installed the farm in ~/.config/hearth/profile.json (or
$XDG_CONFIG_HOME/hearth/). Every other command uses it, unless you pass --url/--key or set
HEARTH_URL/HEARTH_KEY.
hearth up local options: --cluster (kind cluster name), and for development
--local-images with --tag/--playwright to load images you built (see
Development).
Use the farm¶
| Command | What it does |
|---|---|
hearth status |
Your team, running sessions and limit, every pool with ready/busy/queued |
hearth sessions [--state failed] [--limit 50] [--json] |
Recent sessions of your team |
hearth session <id> [--json] |
One session: state, error, duration, artifact links, UI link |
hearth stop <id> |
Stops a running session (the client is disconnected) |
hearth artifacts <id> [-o dir] |
Downloads a session's artifacts (the video, device logs) |
hearth connect [--framework playwright\|cdp\|selenium\|appium] [--lang js\|python\|java\|dotnet] [--engine firefox] |
A snippet that points a test suite at the farm; the key comes from $HEARTH_KEY |
hearth open |
Opens the web UI |
hearth doctor |
Checks tools, cluster, pods, gateway, key, pools and (admin keys) hosts, and says what to fix |
hearth app upload <file> |
Uploads an .apk or a zipped simulator .app; prints its hearth:app:<sha256> reference |
hearth app list |
Your team's apps |
Hosts (Macs)¶
Add Macs (and Linux hosts) that run simulators and emulators, and manage them. These need an admin team's key. See Add a Mac in two minutes.
| Command | What it does |
|---|---|
hearth hosts [list] [--json] |
Every host: status, devices, busy, capacity use (4/6), last seen; flags unreachable hosts |
hearth hosts show <host> [--json] |
One host: machine facts, plan, devices, whether the farm can reach it |
hearth hosts add <host> [--like <other>] [--wait] |
Adds a host and prints the line to paste on the Mac; --like copies another host's plan; --wait waits until it joins |
hearth hosts join-code <host> |
A new one-time join line, to reconnect the machine or a replacement (alias reconnect) |
hearth hosts devices <host> |
What the host can run (iOS runtimes and device types, Android AVDs), with an example plan |
hearth hosts plan <host> <spec>... |
Sets its devices, replacing the plan: "iPhone 17@iOS 27.2=3", android:Pixel_8_API_35=2, pool:<pool>=N, ... as <pool>; --clear for none |
hearth hosts drain <host> |
No new sessions; running ones finish (drained = safe to switch off) |
hearth hosts resume <host> |
Takes sessions again |
hearth hosts remove <host> [--yes] |
Revokes its token and forgets it; asks first when sessions are running |
hearth status adds a hint when a device pool has had requests waiting a minute with no free
device, and hearth doctor checks hosts when the key is an admin's.
Teams, keys and agents¶
| Command | What it does |
|---|---|
hearth key [team] |
Prints a team's key (default team default) |
hearth keys create <team> [--max-sessions N] [--admin] |
Creates a team (or changes its limit) and prints a new key; --admin lets its keys manage hosts (an existing admin team stays admin) |
hearth keys list |
Teams, their limits and which are admins |
hearth agent-token <host> |
The token of a host listed under agents: in the values (the older way) |
These read and write Kubernetes Secrets, so they need kubectl access to the farm's cluster.
For coding agents¶
| Command | What it does |
|---|---|
hearth mcp |
Runs the MCP server over stdio, so a coding agent can drive farm browsers and devices. See Coding agents |
hearth skills install [--project] |
Installs the Hearth skills for coding agents into ~/.claude/skills (or ./.claude/skills) |