Documentation Index
Fetch the complete documentation index at: https://docs.cyberwave.com/llms.txt
Use this file to discover all available pages before exploring further.
Cyberwave is in Private Beta.
Request early access to get access to the Cyberwave dashboard.
Overview
cw.models is the unified surface for ML model management in the Cyberwave Python SDK.
It combines responsibilities behind one namespace:
| Responsibility | What it does |
|---|---|
| Catalog | List, get, and delete ML model records registered in your workspace |
| Runtime | Load by filename, slug, UUID, or catalog entry; run inference (edge or routed cloud) |
| Playground client | cw.models.playground(slug) for explicit /mlmodels/{uuid}/run calls (prompt, structured tasks, async 202 paths) |
Installation
The ML inference extras require the[ml] optional dependency group:
Catalog API
List models
cw.models.create() and cw.models.update() are not implemented yet — use
POST / PUT on /api/v1/mlmodels, or generated cw.api.* helpers, until
typed wrappers ship.| Field | Description |
|---|---|
uuid | Unique identifier |
slug | Unified slug — {workspace}/models/{name} |
name | Human-readable name |
model_external_id | Filename or registry key used to reference the model |
deployment | "edge", "cloud", or "hybrid" |
is_edge_compatible | True when the model can run on edge hardware |
is_cloud_compatible | True when the model runs on cloud GPU workers |
sdk_load_id | The id to pass to cw.models.load() |
Get a single record
Delete a model
Runtime API
Load a model
cw.models.load() accepts a catalog entry or a string:
| Argument | What loads | Notes |
|---|---|---|
MLModelSchema entry | Resolved automatically | SDK picks sdk_load_id → slug → uuid |
| Local weight filename | Edge LoadedModel (YOLO / Ultralytics) | e.g. "yolo26n.pt" |
| Catalog slug | Cloud CloudLoadedModel | e.g. "acme/models/my-model" |
| UUID | Cloud CloudLoadedModel | fallback |
| List of entries | CascadeModel | runs every model on the same input; see below |
.predict() interface (unless a list was passed).
Cloud playground (cw.models.playground)
For full control over the playground HTTP payload (conversation history, structured_task, async workloads), bind a slug and call run():
MLModelRunResultSchema or MLModelRunQueuedSchema), not PredictionResult.
Run inference
predict() returns a PredictionResult with a unified pred.output (ModelOutput — detection, classification, pose, instance segmentation, OBB, embeddings, …). Convenience properties include pred.classification, pred.pose, pred.instance_segmentation, pred.obb_result, and pred.embedding.
| Field | Role |
|---|---|
pred.output | Typed primary result (DetectionResult, ClassificationPrediction, PoseResult, …) |
pred.raw | Unprocessed runtime payload when you need internals |
Catalog-to-runtime workflow
Discover a model in the catalog, then load it by passing the entry directly:slug is used instead:
MCP tools
When using the Cyberwave MCP Server, AI agents can query the model catalog with:| Tool | Description |
|---|---|
cw_list_models | List catalog records · optional workspace_uuid (client narrows + keeps public) · optional deployment: cloud / edge / hybrid |
cw_get_model | Get full details for a single model record |
cw_delete_model | Delete a model catalog record (preview then execute) |
Related resources
Python SDK
Full Python SDK reference
MCP Server
Let AI agents query the model catalog
ML Models (UI)
Manage models from the Cyberwave dashboard
Edge Workers
Run models on edge hardware