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.2.0.tar.gz (42.7 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.2.0-py3-none-any.whl (49.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: robusto_cloud-0.2.0.tar.gz
  • Upload date:
  • Size: 42.7 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.2.0.tar.gz
Algorithm Hash digest
SHA256 4e9df04568d087423739bc3b7d4ab4145ba029589626304a4642268c5457f461
MD5 600eeb79f076af36ae5842c07ce3556b
BLAKE2b-256 93689f6cd628a5a704bb3229b20a33b55c5fda3b823ff05048c93b13b95ccc53

See more details on using hashes here.

File details

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

File metadata

  • Download URL: robusto_cloud-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 49.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9727aa3c239a5d6f7a87b219bb0f25a7dbdf91fcd5832ee660408da1c95823c4
MD5 50fa35a44f7af584b318d77b3aea4f69
BLAKE2b-256 09633dec8954b249a0f327488f9c3b919378300461faa502154d64443d388d26

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