OrbitSpaceDocs
Developer guides

Products and edge integration

An App, business Edge Server and OrbitSpace Runtime are different roles. Deploy them separately or combine them on controlled infrastructure with explicit identity, data placement and authority.

Three topologies

TopologyUse caseRequirements
App → product backend → hosted OrbitSpaceCentralized capabilitiesApplication credentials and service invocation
Edge Server → OrbitSpace APIEdge-originated cloud workProtected credentials, connectivity and durable jobs
Cloud Worker → private Runtime HostData/tools must stay on a selected nodeHost enrollment, trusted transport and resource mapping

An HTTPS-only Edge client needs no platform NATS access. A Worker needs authorized Control Plane and broker connectivity; do not distribute that identity to a mobile App.

Product tenancy

A document-processing product can own an OrbitSpace team and publish extraction, validation and summarization services. Its App retains product login. The backend maps customers/jobs to allowed deployments and stores Invocation IDs.

Model keys, OAuth client credentials and Runtime tokens stay with their respective trusted services. Domain functionality composes Agent instructions, Environments, MCP, Skills and Runtime tools instead of embedding product logic into the platform scheduler.

Cloud files and local resources

Use Artifact input for files permitted in platform storage. Data that must remain local can use Edge Resource Handles, but needs a registered Host and a real resource-resolution integration. Registering metadata does not make arbitrary device paths readable.

POST /api/v1/edge-resource-handles includes:

json
{
  "policy_scope_id":"PROJECT_POLICY_SCOPE_ID",
  "host_id":"REGISTERED_HOST_ID",
  "opaque_resource_key":"device-local-resource-key",
  "digest_sha256":"LOWERCASE_SHA256",
  "content_type":"application/pdf",
  "size_bytes":"12345",
  "allowed_operations":["read"],
  "expires_at":"REPLACE_WITH_FUTURE_RFC3339_TIMESTAMP"
}

Resource keys and operations must match the actual Host contract; the example grants no arbitrary-file access. Invocation references active handles through edge_resource_handle_ids, and admission fixes the required Host. List handles with GET and revoke through POST /api/v1/edge-resource-handles/{id}:revoke.

Domain images and MCP

A general Runtime provides engine and platform protocols, not every language, OCR library or device driver. Domain owners maintain compatible images and declare software/capabilities actually installed. Host Offers, Environment requirements and tool bindings must agree.

MCP can expose remote tools; local stdio needs an installed, admitted executable. MCP registration, Skill installation and image creation do not independently grant device permissions.

Offline behavior

The integration does not promise autonomous completion of all cloud orchestration while a device is offline. Persist unsubmitted jobs locally and reuse their submission keys after reconnection. For accepted work, recover observation using the existing Invocation ID.

Handle expiry, Host loss, version incompatibility and uncertain outcomes explicitly. Reconcile external effects and durable results before retrying. See Runtime onboarding.