Skip to content

Miniapp developers

Extend The AI Platform with your product.

Build typed, portable mini apps that plug into platform surfaces, lifecycle, host APIs, and Module Federation packaging through one public SDK.

Public npm package

Miniapp SDK

pnpm add @theaiplatform/miniapp-sdk

Install directly from npmjs. No private registry configuration is required.

One public contract

Build against supported platform boundaries.

The SDK keeps host communication, package configuration, and runtime integration explicit so your miniapp remains portable.

Public host APIs

Communicate with channels, projects, workflows, navigation, and supported platform services through a typed contract.

Native-feeling surfaces

Mount responsive product surfaces with explicit lifecycle, event, asset, and cleanup boundaries.

Portable package builds

Configure, assemble, and verify Module Federation targets with the SDK Rspack integration and package schema.

Supported targets

One package can meet work where it runs.

Declare only the targets your miniapp needs. Each target ships as an independently verifiable module graph inside the same package.

Desktop

Interactive workspace surfaces for desktop clients.

Mobile

Touch-ready surfaces for mobile clients.

QuickJS

Portable tools and actions in a sandboxed runtime.

Worker

Service-side handlers for worker runtimes.

Node.js

Server-side integrations in a Node.js runtime.

Workflow host

Workflow nodes and host-side execution adapters.

License and public policies

Downloading, installing, copying, accessing, or using the SDK constitutes acceptance of its license. The SDK has no separate license fee and is provided as-is. Review the policies that govern SDK use, security research, and marketplace participation.

Start building

Take a miniapp from first surface to verified package.

Follow the public guides for setup, lifecycle, host communication, package targets, and deployment selection.

Open developer docs