Skip to content

Foresight Spatial Labs / Developer documentation

Build software
for the physical world.

Prototype with coding agents and Python. Render, query, and edit spatial data at scale. Ship native or browser apps with shared, versioned projects.

01 / Runtime

SpatialEngine

Render, query, and edit large spatial datasets in native, browser, or headless applications. Use the Python SDK, TypeScript SDK, or a gRPC client.

Native · WebAssembly · HeadlessEngine documentation →
02 / Cloud services

SpatialDrive

Give SpatialEngine shared projects, version history, and streamed spatial data. Deploy SpatialDrive in your own infrastructure.

Collaboration · Versioning · StreamingServer documentation →
03 / AI coding platform

SpatialStudio

Work with the built-in AI coding agent to prototype and build apps with SpatialEngine and SpatialDrive, with or without programming experience.

AI coding agent · Rapid prototyping · Live previewStudio documentation →

Render / Query / Edit

Build spatial workflows in your own UI.

Render block models, point clouds, meshes, and map tiles. Query spatial data and attributes. Build interactive editing with transactions and undo. SpatialEngine handles the scene and rendering while your application defines the workflow.

Use native graphics and embed a streaming viewport, load the WebAssembly engine in a browser, or run headless automation. Add SpatialDrive when users need shared projects.

How the products fit together →
TypeScript / Stream a projectExplore the demo →
import type { Client } from "@fslabs/spatialengine";

async function openProject(client: Client, uuid: string) {
  await client.server.setUrl({
    url: "https://api.spatialdrive.io",
  });
  await client.server.authenticate({
    strategy: { kind: 1, key: "" },
  });
  await client.project.remote.activate({ uuid });
  await client.project.setTimestamp({
    timestampNanos: BigInt(Date.now()) * 1_000_000n,
  });
  await client.project.waitForSceneSync();
  await client.viewport.camera.zoomExtents({
    viewport: "main",
    durationSeconds: 0.6,
  });
}

Start building