Skip to main content

Sixtytwo CLI: `sixtytwo rent` reserves reliability-backed GPUs; `sixtytwo` qualifies, monitors, and NCCL-benchmarks your own GPU clusters, with Slurm/SkyPilot integration.

Project description

Sixtytwo Platform Backend

Backend for the Sixtytwo rent platform.

It includes:

  • CLI-first agent workflows: qualification, monitoring, trust registry
  • Recovery orchestration and job optimization
  • Rent-layer commerce surface (catalog / quote / reserve / checkout / settle / credits)
  • FastAPI app that serves the rent storefront (static HTML in ../frontend-rent/)
  • Per-minute meter loop + Stripe billing + Google OAuth
  • Prometheus /metrics exporter for Grafana

The legacy V1 React dashboard that used to live at ../frontend/ was deleted in favour of the focused storefront. The CLI-first agent surface is unchanged.

Install

cd backend
python3 -m venv .venv
source .venv/bin/activate
pip install -e .

Or point the CLI at an explicit config:

sixtytwo --config /path/to/sixtytwo.yaml init --cluster prod

Main commands

sixtytwo init --cluster prod
sixtytwo setup --provider runpod --cluster prod-runpod --checkpoint-dir /workspace/checkpoints
sixtytwo doctor --json
sixtytwo test --quick --all
sixtytwo test --full gpu-01,gpu-02
sixtytwo console
sixtytwo launch --pre-check --recovery confirm python train.py
sixtytwo nodes
sixtytwo optimize train.sh
sixtytwo dashboard start  # boots uvicorn against the FastAPI app

Grafana visualization

sixtytwo metrics serve exposes a Prometheus-format /metrics endpoint backed by the local TrustRegistry. This is what teams use to chart sixtytwo's intelligence-layer signals (trust scores, fault counters, recovery downtime, per-check status, fleet adverse rate) alongside DCGM in Grafana — without sixtytwo having its own UI.

sixtytwo metrics serve --host 0.0.0.0 --port 9620

Exposed metric families:

metric type labels what it answers
sixtytwo_node_trust_score gauge node_id, gpu_type, provider, status which nodes you should trust
sixtytwo_node_faults_total counter node_id, gpu_type, provider which nodes accumulate faults
sixtytwo_node_status gauge node_id, status lifecycle state (always 1)
sixtytwo_check_status gauge node_id, check, stage latest qualification result (1/0.5/0/-1)
sixtytwo_check_metric gauge node_id, check, metric numeric metrics from each check (TFLOPS, step_ms, ...)
sixtytwo_fleet_* gauge fleet-wide totals and adverse rate
sixtytwo_recovery_events_total counter status recovery outcomes
sixtytwo_recovery_downtime_seconds_* counter total/sample-count of recovery downtime

Wire it into Prometheus:

scrape_configs:
  - job_name: sixtytwo
    static_configs:
      - targets: ["sixtytwo-host:9620"]

Then import the curated Grafana dashboard:

sixtytwo metrics export-grafana --output sixtytwo-overview.json
# Grafana → Dashboards → Import → upload sixtytwo-overview.json

The dashboard correlates sixtytwo trust scores with DCGM XID counters when both data sources are present, so you can see at a glance whether a trust-score drop is being driven by hardware events.

Deployment notes

  • recovery.live_execute = false by default, so recovery plans are fully logged before you enable real scheduler actions.
  • SIXTYTWO_CONFIG lets you run the CLI and platform from a fixed config path outside the working directory.
  • SIXTYTWO_HOST and SIXTYTWO_PORT control uvicorn bind addresses in production.
  • SIXTYTWO_FRONTEND_RENT_DIR overrides where the rent storefront static files live (used by the container image since site-packages installs break the source-relative lookup).
  • sixtytwo setup writes a provider profile and a bootstrap script under .sixtytwo/bootstrap/.
  • sixtytwo doctor --all-nodes validates SSH reachability, nvidia-smi, dcgmi, topology capture, and checkpoint path access before the first live run.

Provider-ready flow

For a real GPU box such as RunPod, Lambda, Vast, or a colocated Ubuntu node:

sixtytwo setup \
  --provider runpod \
  --cluster runpod-prod \
  --checkpoint-dir /workspace/checkpoints

bash .sixtytwo/bootstrap/install-sixtytwo.sh
sixtytwo doctor --json
sixtytwo test --quick --all

For a small SSH-managed cluster:

sixtytwo setup \
  --provider ssh-cluster \
  --cluster prod-h100 \
  --nodes gpu-01,gpu-02,gpu-03 \
  --checkpoint-dir /mnt/checkpoints \
  --ssh-user ubuntu \
  --ssh-key-path ~/.ssh/id_ed25519

sixtytwo doctor --all-nodes
sixtytwo test --full --all

For topology-aware replacement, add rack / switch / rail metadata and a standby pool to sixtytwo.yaml; recovery will prefer the standby that best preserves the failed node's communication shape:

recovery:
  standby_pool: [gpu-14-99, gpu-15-99]
topology:
  racks:
    rack-14:
      switch: tor-14
      power: [pdu-14a, pdu-14b]
      cooling: cdu-7
      nodes: [gpu-14-*]
  rails:
    rail-0: [gpu-14-01:gpu0, gpu-14-99:gpu0]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sixtytwo_cli-0.3.0-cp313-cp313-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.13Windows x86-64

sixtytwo_cli-0.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

sixtytwo_cli-0.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (25.9 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

sixtytwo_cli-0.3.0-cp313-cp313-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

sixtytwo_cli-0.3.0-cp312-cp312-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.12Windows x86-64

sixtytwo_cli-0.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (27.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

sixtytwo_cli-0.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (26.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

sixtytwo_cli-0.3.0-cp312-cp312-macosx_11_0_arm64.whl (3.5 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

sixtytwo_cli-0.3.0-cp311-cp311-win_amd64.whl (3.5 MB view details)

Uploaded CPython 3.11Windows x86-64

sixtytwo_cli-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

sixtytwo_cli-0.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (26.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

sixtytwo_cli-0.3.0-cp311-cp311-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file sixtytwo_cli-0.3.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 fcd451bf627437d0c10818440924d07bdb173470bb88b8a47e1851ed10857857
MD5 8957e1e5969b62b76788d7ba9097ed89
BLAKE2b-256 733f0fdad746816f94ffdb337af812a67517160de92a9c9d6b7724abdf9ff75d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.0-cp313-cp313-win_amd64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sixtytwo_cli-0.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ba83b7699b3b3bdaa21b2f14b8f69c38dbc75e4d6201e9e4d28ceeb25bdba6b0
MD5 044380a2307d01acea1e62985d2ad49e
BLAKE2b-256 100b33795e712718db5a853644f027b7e9100a111e6d55aa4d2d3ecd30cc565b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sixtytwo_cli-0.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c067b48ab4ae499488e5624c8eb09e474223e7aa6d51f5b8e2fac432eaae182f
MD5 c4ea266cb9eb7f164c8939cb54298608
BLAKE2b-256 0aef812d95977b84569a61f6de1f703650a1a83a8f76d663bdbf57d4f5bdb143

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sixtytwo_cli-0.3.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0a00256bb8b6f604a7100e81619f92ebb3237ec223de20c44d0af9ec57db4744
MD5 e1288cc8b72582da5593df962a864204
BLAKE2b-256 1adbfb7295ed9c1a0a6d72a822e878bc2691df56f63f6e389986346911f51894

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sixtytwo_cli-0.3.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 31906c87c47ade1990d928806ceab322c21a84910ce4c69c25bf7aeeafd0ef6d
MD5 abcde538e57326cb746ffcfeb0f9ddf5
BLAKE2b-256 d4103ade20ded38b86de8b40b302f5567cf381570baa47572d0cc21c5a027037

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.0-cp312-cp312-win_amd64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sixtytwo_cli-0.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cc77ddc7655c33f4e3efb0297edabfe35f8a18de7ff327c9e1982197322b96c9
MD5 ef434e864131d53a3a6b28cee54d0709
BLAKE2b-256 0e6b3e3ccef7bd297fc2cc03c2b05b9cac407ee3920c11772028080385cdd97b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sixtytwo_cli-0.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 64a21e600fef2c1e73f392ae2404a7d03c3cef5a474d68508ed8e48daa6d400a
MD5 8f7834aeb8d201519f6fa4f7972b7e18
BLAKE2b-256 1c54bd7124c5d3faf3753ee8a32f238406e3754166fd69a666d57dabcd82537d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sixtytwo_cli-0.3.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e7fdccc9b020d03f0a37d1e8a375a58c94906dd5debb5456d5409de1d6af272c
MD5 743bcbb437d68573871931a159f3bf50
BLAKE2b-256 92fbaf90bb21652ab2a6d6b1c82e90e8d7e03cd2efcca38f0c7d127c83cd1c4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sixtytwo_cli-0.3.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8e59e53bf248096953546829b5bbf49dcc83c317386d76d0160755bf80b69f33
MD5 26842b56494a947c791d94b8b3fc032c
BLAKE2b-256 6c8f327caae15539ca3909b8477243f55e0e6b54f368ce8d0390f9532a07e8d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.0-cp311-cp311-win_amd64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sixtytwo_cli-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c7033024e60cab00c17b9bce7f85c1093738728f95e4d24f11e1b35f438dd020
MD5 114de6d7c2d73d243a63b9003ce5c0e6
BLAKE2b-256 0388d2af7b2614c3ab69a52b2c4b9d8cc091ff9c8af9698e560b6b78586beacb

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sixtytwo_cli-0.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 35ae43323045500269ebdd79adaf99cb1231f592e48eb8a74f6d9f803efc9761
MD5 9588fbcbbbc4adf33b8338fdce49bc30
BLAKE2b-256 0c19f8c21c6d4560a1a4c9cd1f4b9440473b99f814705991f709090e5074084c

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sixtytwo_cli-0.3.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for sixtytwo_cli-0.3.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fd5729fc641262ddedcf5ecf83e2f2cc1e979fe76a0e672193f508d8f621c9cf
MD5 014d61d99573e97748ed8ea2c3804698
BLAKE2b-256 2179c7e55cb8ce12a087aa8ccee1b64387c1b19d5cb3abfd98d5ae47132dbd04

See more details on using hashes here.

Provenance

The following attestation bundles were made for sixtytwo_cli-0.3.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on antaloaalonso/sixtytwo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page