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.
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 servicesSpatialDrive
Give SpatialEngine shared projects, version history, and streamed spatial data. Deploy SpatialDrive in your own infrastructure.
Collaboration · Versioning · StreamingServer documentation → 03 / AI coding platformSpatialStudio
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 →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
Prototype rapidly
Work with Studio's built-in AI coding agent to build a web or native app. Studio hot reloads the app as the agent makes changes.
Studio quickstartEmbed the engine
Embed SpatialEngine in your app's UI. Render, query, and edit spatial data with Python or TypeScript. Run natively, in a browser, or headless for automation.
Integration optionsDeploy a spatial backend
Stream massive spatial datasets from shared, versioned projects. Deploy SpatialDrive alongside your own storage and identity provider.
Server quickstart