---
title: "Let your agents ship 3D without opening Blender | Spatial Compiler"
description: "Headless GPU compilation for 3D geometry and physics. Turn raw AI-generated meshes into assets ready for production and simulation with one API call over MCP or REST."
canonical: https://appliedmanifold.com/
site: "Applied Manifold: The spatial compute cloud for 3D reality"
---

**APPLIED MANIFOLD // SPATIAL COMPILER v0.4.2**

MODULE: PYRO  HEADLESS GPU  SAME SPEC, SAME BYTES

Applied Manifold The spatial compute cloud for 3D reality

# Let your agents ship 3D without opening Blender

The compiler for 3D

Send a raw mesh or a pyro spec over MCP or REST. Get back assets ready for production and simulation, plus a JSON report your code can check.

Get Free API Key [Read the docs →](https://appliedmanifold.com/docs/)

**Give this to your agent** (Claude Code, Codex, Cursor, others)

```
$ set up Spatial Compiler - https://appliedmanifold.com/llms.txt
```

Agent prompt:

Connect the Spatial Compiler MCP server for this project: add the hosted server https://mcp.spatialcompiler.dev, or run `npx -y @spatial-compiler/mcp` with my API key in SPATIAL_API_KEY. Read appliedmanifold.com/llms.txt, then use its tools for 3D assets in this project.

## Headless GPU compilation for 3D geometry and physics

3D tools assume a person at a desktop viewport. Agents that drive them by screenshot are slow and still ship broken topology.

Spatial Compiler is a headless GPU kernel your agents call over MCP or REST. No window, no editor: call it in a loop and check every result in code.

-   ### Typed telemetry

    Every call returns triangle counts, draw calls and memory size. Every bake report names the setting to change.

-   ### Deterministic bakes

    Same spec, seed, version and machine: same bytes. A new seed gives a new instance.

-   ### More like a compiler

    A misspelled key fails with the nearest valid key. `schema` prints every field, range and default.

## Built for

Four pipelines that turn raw geometry into machine-ready assets.

[All use cases →](https://appliedmanifold.com/use-cases/)

-   **01 // GEN3D**

    ### [Gen3D platforms](https://appliedmanifold.com/use-cases/gen3d/)

    Every generation leaves your platform welded, on budget, UV-packed and ORM-baked.

    -   weld
    -   decimate
    -   uv\_pack
    -   orm\_bake

-   **02 // ROBOTICS · WORLD MODELS**

    ### [Robotics & world models](https://appliedmanifold.com/use-cases/robotics-world-models/)

    Sim-ready convex colliders and a reproducible pipeline for synthetic data.

    -   convex\_hulls
    -   sha-256
    -   dry\_run
    -   pyro

-   **03 // E-COMMERCE 3D**

    ### [E-commerce configurators](https://appliedmanifold.com/use-cases/ecommerce-configurators/)

    Web-weight GLBs with LODs and baked materials for every SKU.

    -   lod\_chain
    -   orm\_bake
    -   glb
    -   page weight

-   **04 // GAMING · UGC · AEC**

    ### [AI gaming, UGC & AEC](https://appliedmanifold.com/use-cases/gaming-ugc-aec/)

    Clean uploads, AI props and CAD/BIM to engine budgets; bake pyro effects for Godot 4.

    -   dry\_run
    -   decimate
    -   convex\_hulls
    -   pyro

## Built for autonomous loops

**Spatial Compiler** `(@spatial-compiler/mcp)` gives Claude Code, Cursor or your CI a GPU co-processor for 3D, over MCP or REST. One endpoint from raw asset to shipped asset.

[Operations reference →](https://appliedmanifold.com/docs/operations/) [Pyro module →](https://appliedmanifold.com/modules/pyro/) [Use cases →](https://appliedmanifold.com/use-cases/)

-   ### [compile\_3d\_asset](https://appliedmanifold.com/docs/mcp-tools/) (Geometry & Materials)

    Welds non-manifold edges, decimates to exact triangle budgets (meshoptimizer), packs UV atlases (xatlas) and bakes channel-packed ORM textures.

-   ### [pyro](https://appliedmanifold.com/modules/pyro/) (Fire, smoke, explosion, dust)

    Bakes fire, smoke, explosion and dust flipbooks from a `.pyro.toml` spec, lit from six directions for relighting.

-   ### wire (Godot 4)

    Installs the six-way shader in a Godot project and writes a ready scene per bake.

**SPEC // FIRE\_WHIRL.PYRO.TOMLEXCERPT**

```
# The spin: around the vertical axis, up the whole column, on air and gas alike.
[[forces]]
kind = "vortex"
shape = "box"
position_m = [0, 4, 0]
size_m = [1.3, 4, 1.3]
direction = [0, 1, 0]
strength = 14
max_speed_mps = 4
falloff = 0.4
```

Fire whirl example: one vortex force spins the column.

**FIRE\_WHIRLFINAL · 0.4.2**

![First frame of the fire\_whirl bake](/bakes/fire_whirl/poster.webp)

Fire whirl, 4.4 x 7.1 m. [Spec →](https://appliedmanifold.com/docs/pyro/examples/#ex-fire_whirl)

**FIREBALLFINAL · 0.4.2**

![First frame of the fireball bake](/bakes/fireball/poster.webp)

Fireball, 9.4 x 13.4 m. [Spec →](https://appliedmanifold.com/docs/pyro/examples/#ex-fireball)

**SMOKE\_PLUMEFINAL · 0.4.2**

![First frame of the smoke\_plume bake](/bakes/smoke_plume/poster.webp)

Smoke plume, 7.0 x 10.8 m. [Spec →](https://appliedmanifold.com/docs/pyro/examples/#ex-smoke_plume)

**IMPACTFINAL · 0.4.2**

![First frame of the impact bake](/bakes/impact/poster.webp)

Impact, 3.5 x 2.8 m. [Spec →](https://appliedmanifold.com/docs/pyro/examples/#ex-impact)

**WINDOW\_FIREFINAL · 0.4.2**

![First frame of the window\_fire bake](/bakes/window_fire/poster.webp)

Window fire, 3.9 x 4.7 m. [Spec →](https://appliedmanifold.com/docs/pyro/examples/#ex-window_fire)

**DUST\_RINGFINAL · 0.4.2**

![First frame of the dust\_ring bake](/bakes/dust_ring/poster.webp)

Dust ring, 10.5 x 2.2 m. [Spec →](https://appliedmanifold.com/docs/pyro/examples/#ex-dust_ring)

## Pay per operation, start free

-   $0.05

    Per pyro draft bake

    (Coarser grid for fast iteration.)

-   $0.10

    Per full-quality bake

    (Full grid, six-way lit sheets.)

-   $0.00

    To rerun the same input

    (Served from cache.)

New accounts get $5 of usage. A sweep is $0.20. [See pricing tiers →](https://appliedmanifold.com/pricing/)

## Connect your agent

mcp.json · hosted

```json
{
  "mcpServers": {
    "spatial-compiler": {
      "type": "http",
      "url": "https://mcp.spatialcompiler.dev"
    }
  }
}
```

terminal · local mcp server

```sh
SPATIAL_API_KEY=spck_test_example npx -y @spatial-compiler/mcp
```

terminal

```sh
curl -X POST https://api.spatialcompiler.dev/v1/compile \
  -H "Authorization: Bearer spck_test_example" \
  -F "file=@model.glb" \
  -F 'options={"target_tris":15000,"dry_run":true}'
```

Paste one of these into your agent, then ask it for a bake. [Connection guide →](https://appliedmanifold.com/docs/mcp/)

## FAQ

[All questions →](https://appliedmanifold.com/faq/)

**README.FAQ**

### What is Spatial Compiler?

A GPU compiler for 3D assets. Send raw .glb or CAD geometry over MCP or REST; get back decimated, UV-packed, physics-ready assets and JSON telemetry. The pyro module bakes fire, smoke, explosion and dust flipbooks from a spec.

### Why not drive a desktop 3D tool from an agent?

Spatial Compiler has no window. An agent runs it as a command and checks a JSON report and one preview image. Errors name the nearest valid key, and every warning names the setting to change.

### Is Spatial Compiler a 3D generator?

No. It compiles meshes and specs you already have. Call it on each output of your text-to-3D or image-to-3D model.
