Skip to main content

Python client for Robusto Cloud — adversarial robustness testing and hardening for ML models

Project description

Robusto

Adversarial robustness hardening for ML models.

Upload your pre-trained PyTorch model, Robusto stress-tests it against adversarial attacks and returns a hardened version with a compliance report.

pip install robusto-cloud → robusto configure → robusto init → hardened model + report

Quick Start

pip install robusto-cloud
robusto configure          # save your API key
robusto init               # interactive: pick model, dataset, domain, attacks → submit

Or scripted:

robusto harden -m model.pt -d data.csv --domain tabular --mode standard
robusto watch <job_id>
robusto download <job_id>

Or in Python:

from robusto import Robusto

client = Robusto()
job = client.harden(model_path="model.pt", dataset_path="data.csv", domain="tabular")
result = client.wait(job["job_id"])
client.download_model(job["job_id"], "hardened_model.pt")
client.download_report(job["job_id"], "report.pdf")

Domains

Image, Tabular, Graph, Point Cloud, Sensor

Modes

Mode Use case
low Quick audit
standard Balanced (recommended)
rigorous Full compliance

Documentation

Running Locally (contributors)

git clone https://github.com/Cortexa-Labs-Inc/Cortexa-Labs-Robusto.git
cd Cortexa-Labs-Robusto
pip install -r requirements.txt && pip install -e .
export ROBUSTO_API_KEY=my-local-key
python -m robusto.server

Then point the SDK at localhost:

client = Robusto(api_key="my-local-key", base_url="http://localhost:8000/api/v1")

License

Proprietary. Copyright 2026 Cortexa Labs.

Project details


Download files

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

Source Distribution

robusto_cloud-0.1.1.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

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

robusto_cloud-0.1.1-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file robusto_cloud-0.1.1.tar.gz.

File metadata

  • Download URL: robusto_cloud-0.1.1.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for robusto_cloud-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ecf1693bd4f5ea8d491d6597b70d20e6f626e8eabf1e484d66a2056c3d8a2638
MD5 0ae9dd8bc4b1d4f628f8a483ebc5d3c5
BLAKE2b-256 f08a0d45fe5115633196f5757dfd3545a2cc84fda76c53fe2d695536d08d3283

See more details on using hashes here.

File details

Details for the file robusto_cloud-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: robusto_cloud-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for robusto_cloud-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2390012569ec644d35db77cff5922e69c3d0f340f08f62f4ce069d6187653d51
MD5 f7ccbf831eae67c49b9f9fe86cbc9360
BLAKE2b-256 7333acc4eb9956bc282e5097fde175dd2e73e96542e7c4ece56b5888a8cea3ae

See more details on using hashes here.

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