Skip to content

The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.

367 B
Raw Blame
#!/bin/sh
# Run an idempotent fetch with up to three retries. Do not log credentials in arguments.
set -eu
command -v "$1" >/dev/null || exit 127
for delay in 1 2 4 0; do
    if "$@"; then exit 0; else status=$?; fi
    [ "$delay" -gt 0 ] || exit "$status"
    printf '%s failed (exit %s); retrying in %ss\n' "${1##*/}" "$status" "$delay" >&2
    sleep "$delay"
done