OrbitSpaceDocs
Developer guides

OrbitSpace as Agent infrastructure

Keep your product identity, business data and interface in your App, backend or Edge Server. Use OrbitSpace for governed Agent execution, tools, durable state, artifacts and usage.

Ownership boundaries

LayerYour application ownsOrbitSpace owns
ProductLogin, customers, jobs and business authorizationAuthorized application identities
SubmissionInput validation, durable job record and idempotency keyAdmission against a service revision
ExecutionDomain instructions, tools and acceptance requirementsEngine placement, tool authority and recovery
FeedbackProgress UI, callbacks and human decisionsSnapshots, SSE, events and approval records
ResultsBusiness validation and application updatesOutput, artifact references, usage and errors
ComputeOperator maintenance for self-managed capacityWorker/Host registration and placement admission

Applications use public HTTPS APIs. They do not need a model loop or direct access to platform PostgreSQL, Redis or NATS. Self-managed execution nodes use a separate trusted identity and runtime protocol.

Choose a contract

RequirementContractStable identifiers
Publish a domain capabilityAgent Deployment and Invocationdeployment_id, invocation_id
Complete a multi-iteration objectiveGoal Experiencegoal.id, event_stream_url, deep_link
Interoperate with another Agent systemA2A publicationpublication_id, A2A Task and contextId
React to external eventsAutomation source and rulesource_id, event ID, Invocation
Supply private or edge computeRuntime enrollmentWorker ID, Host ID, deployment pool

Begin with the Invocation quickstart, then add files, Webhooks, interactions or Goals as needed.

Two onboarding paths

Application developers: an administrator prepares a project, workspace, Agent, Environment and deployment. Register an OAuth client, invoke the service and consume progress/results. Your backend does not need internal Run placement details.

Execution operators: obtain reachable Control Plane gRPC and NATS endpoints, create an enrollment, deploy Worker/Host roles and publish matching Environments. Console login and the public REST origin alone are insufficient to start a Worker. See Runtime onboarding.

Projects and end users

A team is the OrbitSpace tenant boundary; projects narrow permissions and content. A product may own one team while managing end users in its own backend.

Authorize the logged-in user's business job before selecting a permitted service. external_subject_hash is correlation metadata, not user provisioning, authorization or workspace isolation. Do not accept arbitrary tenant, deployment or Artifact IDs from a browser and apply your backend's broader credentials to them.

Customers needing independent tenancy, data isolation or quotas need an explicit tenant/project mapping. An input customer_id does not replace platform authorization.

Current boundaries

  • Invocation supports structured input, progress, output, artifacts, cancellation, failed-request retry and usage.
  • Invocation SSE begins with a current snapshot; use paginated JSON events for complete history.
  • There is no Invocation-specific follow-up-message or input-reply endpoint. Human interactions use authorized native Task APIs, Goal Experience approval controls or Console.
  • MCP connects tools to Agents; A2A connects external Agent systems. They are separate protocols.
  • SDK source includes types, SSE, A2A and signature verification, but the package is not currently available on public npm. The HTTP quickstart has no SDK dependency.

Choose between a service invocation, a conversation and a durable delivery objective before designing the product interface.