aster.ax / Docs

CLI reference

Install ax first: see Install ax. Use ax --help or ax <command> --help for exact options. Start with your first remote job for setup and a complete example.

The local connection broker keeps authenticated connections warm between calls. It starts automatically when a command needs a connection.

Submit and recover jobs

For a configured runner, use its saved name and keep the submission receipt:

ax exec run --node build-host --cwd /srv/project --format json -- bash scripts/check.sh
ax exec status "$job_id"
ax exec output "$job_id"
ax exec wait "$job_id"
ax exec cancel "$job_id"

Return on output silence — --output-idle on run, watch or wait returns after an interval without new stdout or stderr. It implies following on run:

ax exec run --node build-host --output-idle 2m -- bash scripts/check.sh
ax exec wait "$job_id" --cursor 42 --output-idle 30s --format json

Send stdin

ax exec run --node build-host --stdin --follow -- bash -s < scripts/check.sh
printf 'hello\n' | ax exec run --node build-host --stdin --follow -- /bin/cat

List local jobs

ax exec ls
ax exec list
ax exec ls -a
ax exec ls --all --refresh
ax exec ls --json

Inspect a node

ax exec info "$node_id"
ax exec alias build-host "$node_id"
ax exec info build-host
ax exec info build-host --format json

List saved nodes

ax exec nodes
ax exec nodes --refresh
ax exec nodes --format csv

Structured output

All commands that return structured results support the global --format json|csv|tsv, before or after subcommands. --json is a shorthand for --format json; select one format option at a time.

ax exec info build-host --format json
ax exec ls --all --format csv
ax exec targets --node build-host --format tsv
ax profile list --format json

Metrics, tracing and operational logs

Export is opt-in. For an OTLP HTTP/protobuf collector:

export OTEL_EXPORTER_OTLP_ENDPOINT=http://127.0.0.1:4318
export OTEL_TRACES_EXPORTER=otlp
export OTEL_METRICS_EXPORTER=otlp
export OTEL_LOGS_EXPORTER=otlp
ax exec info build-host

Local identity and storage

Credential scopes before registration

Runner setup

Harness provenance

CLI and MCP submissions can record harness, version, session and local workspace alongside each job. Exact retries preserve the original origin. See harness integration for flags, environment variables, per-call MCP context and deployment history.

Workspace files

ax exposes ax workspace setup, push, pull, status and ax exec run --workspace. See Workspace file transfer for selection, preview, verification and retry semantics. --local-workspace continues to record harness provenance and never enables file transfer.