Skip to main content

SDK & CLI

LoomOS provides an all-in-one (AIO) package that includes both the Python SDK and CLI. There is no separate package for the CLI or SDK—they are bundled together and installable only via GitHub.

Installation (AIO, GitHub only)

This will install both the loomos CLI and the Python SDK modules in one step.

Authentication & Configuration

You must set the endpoint to your own LoomOS instance (e.g., https://localhost:8443 or your server’s address). No external endpoints are provided by Loom Labs.

CLI Usage Examples

Python SDK Usage Examples

Manifest templates & validation

Use manifest templates for reproducible experiments and batch jobs. Validate manifests locally before submission.

Example: Job manifest (Python)

Troubleshooting & Tips

  • If the CLI is not found after install, ensure your Python environment’s bin directory is in your PATH.
  • For authentication errors, check your token and endpoint URL.
  • For import errors, ensure you installed from GitHub and not PyPI.
  • Use loomos --help and loomos <command> --help for full CLI documentation.
  • For advanced usage, see the API Reference and Nexus System docs.

Job Manifest

Declarative job specs with validation and templating.

Installation & authentication

Python client examples

Manifest templates & validation

Use manifest templates for reproducible experiments and batch jobs. Validate manifests locally before submission.

Example: Job manifest (Python)