MIOSA Documentation

Build, preview, deploy, and operate AI-generated applications from one API. MIOSA gives your product isolated sandboxes for code work, live previews for iteration, durable deployments for production, desktop computers for browser agents, and white-label controls for customer-owned experiences.

Last updated:


Start here

What you can build

See concrete MIOSA product patterns: AI app builders, artifact factories, browser agents, vertical SaaS copilots, and durable deploys.

Build agent-company products

Map Polsia-style operators, Cofounder (cofounder.co)-style company OS products, and Nebula-style virtual devices onto MIOSA.

Agent product reference map

Link and map Lovable, Replit, Bolt, v0, Genspark, Cofounder, Polsia, Nebula, Heuresis, BusinessOS, and open agent-workspace repos to MIOSA implementation patterns.

Agent product model

Understand the core MIOSA primitives: agents, runtimes, devices, sessions, events, artifacts, deployments, and credits.

Get started

Create a sandbox, run a command, expose a live preview, and understand the resource model before wiring MIOSA into your product.

Build with Sandboxes

Use isolated Linux environments for generated code, dependency installs, file edits, build commands, tests, and preview servers.

Deploy production apps

Publish generated applications to stable URLs with versions, releases, environment variables, dynamic runtimes, and rollback paths.

White-label platform

Put previews, deployments, browser tokens, and customer attribution behind your own product and domain model.

Backend orchestration

Build the server-side control plane that dispatches prompts into sandboxes, computers, and local devices.

Computers for desktop agents

Give agents a full Linux desktop when they need browsers, screenshots, clicks, uploads, form fills, or human handoff.

API, CLI, and SDKs

Use the REST API directly, ship with SDKs, or automate workflows from the CLI. Always trust URLs returned by the API.


What you can build

Lovable/Replit-style app builders

Build prompt-to-app products where agents write code inside persistent sandboxes, show previews, stream command work, version progress, and publish.

Agent orchestration

Coordinate sandbox agents, computer agents, artifact generators, browser QA, deployment agents, and live UI events.

Agent workflow patterns

Choose the right pattern for one-shot runs, sandbox prompts, computer prompts, detached sessions, app builders, and fleets.

Backend-powered agent products

Add a backend that resolves users, dispatches prompts, streams agent work, stores artifacts, and enforces quota.

Polsia, Cofounder, and Nebula-style platforms

Build autonomous company operators, agent departments, virtual devices, miniapps, jobs, and connected-tool workflows.

BusinessOS-style workspaces

Use MIOSA BusinessOS as the open reference for a company workspace with OSA, CRM, projects, docs, calendar, context, modules, and terminal work.

Virtual-device products

Build shared persistent devices with files, browser work, jobs, artifacts, connectors, credits, and approvals.

White-label SaaS builders

Give each customer isolated workspaces, branded preview domains, deployment domains, custom domains, browser tokens, and usage attribution.

Lead magnet and microsite generators

Turn prompts into published landing pages, intake forms, calculators, content hubs, and campaign sites without exposing MIOSA.

Full-stack generated apps

Run apps that need a server process, API routes, background work, environment variables, and persistent release management.

Code execution products

Execute user code in isolated environments, stream stdout and stderr, capture artifacts, and shut work down when finished.

Browser automation agents

Use Computers for real browser sessions: navigate, click, type, upload files, capture screenshots, and hand control to users.

External computer providers

Bring third-party computer capacity into MIOSA while keeping one API, one product surface, and one user relationship.

Desktop and agent evaluations

Measure sandbox lifecycles, desktop readiness, screenshot/action latency, and task success across agent workflows.


Platform guides


Developer surfaces

SurfaceUse it when
REST APIYou want complete control over sandboxes, files, exec, previews, deployments, computers, domains, tokens, and events.
Agent product modelYou need the canonical architecture for agents, devices, runs, events, artifacts, and credits.
Agent workflow patternsYou want to map user prompts to one-shot runs, sandbox work, computer work, detached sessions, or fleets.
Backend orchestrationYou are building the server-side layer that dispatches prompts into MIOSA devices and streams work back to your UI.
Agent credit meteringYou need to charge credits for model usage, device runtime, tools, storage, and deployments.
CLIYou want to create, inspect, publish, and debug resources from a terminal.
Python SDKYou are building agent loops, backend orchestration, or data workflows in Python.
TypeScript SDKYou are building Node services, web backends, or product integrations in TypeScript.
MCP serverYou want an AI agent to use MIOSA tools through the Model Context Protocol.
Agent Development KitYou want higher-level agent building blocks on top of the raw sandbox and deployment APIs.

For LLMs

MIOSA publishes machine-readable docs indexes so agents can retrieve current public documentation without scraping the site.


Current production contract

Use URLs returned by the API instead of constructing hostnames yourself:

  • preview_url for sandbox previews.
  • desktop_url for computer desktops.
  • public_url for deployments.
  • custom_domain or deployment-domain URLs when a workspace has branded domains configured.

See the changelog for the latest public platform behavior.