Headless Blender needs to launch a 953MB desktop app to solve a problem that an agent could solve in 17 milliseconds. The False Nebula project's format reduces this waste to about 1.7 MB of native Rust binaries or about 0.8 MB of WASM modules and allows you to express your modeling intent in a declarative pipe language instead of bpy.
This compromise was a conscious decision and it is worth properly articulating it right from the start. Ditch Blender's modifier stack, its Python ecosystem, and Cycles. What you get instead is a watertight polyhedral kernel, semantic selectors that don't move through geometry edits, and a tooling schema that's small enough to fit in your Prompt budget but doesn't crowd out the actual tasks.
What Actually Changed Under the Hood
Blender's headless path starts the entire app, first initializes the dependency graph, and then passes control to CPython. You pay these startup costs every time you call the agent. Every time you run a script, you also spend more money on tokens. bpy asks for explicit vertex indices, context overrides and operator calls, and LLM has to reassemble these from memory each time.
Forma dares to take the opposite approach. Handle the entire model upside down. The double-precision polyhedral B-Rep kernel directly receives primitives, booleans, bevels, and shells while remaining in-process. No scene graph is placed. There is no operator context. Python Bridge is also not included. Cold start and GLB export combined from 1,306.8 ms to 16.9 ms. A stacked flange run will land in 5.4 ms.
There are three key design decisions that really matter.
- Semantic selectors. Geometry is addressed as
vertical,top_rim,bottom_rim,outer_rim,top, orsides. Integer vertex indices break the instant a boolean reorders the mesh. Named selectors do not. - Strict-by-default manifold CSG. Booleans fail loudly on non-manifold input instead of emitting silent garbage. Agents get a hard error they can retry against, which is the only failure mode that actually self-corrects.
- Transactional snapshots. Each operation commits or rolls back. A failed cut leaves the model in its last valid state instead of a half-mutilated mesh.
This repo also includes the Zero GPU Studio renderer for previews. Even if you don't have a graphics device or render farm at hand, the agent can first carry out the visual plausibility check.
Headless Blender vs Forma, Measured
| Metric | Headless Blender 5.3 (bpy) | Forma | Delta |
|---|---|---|---|
| Cold start + GLB export | 1,306.8 ms | 16.9 ms (5.4 ms batched) | ~77x to 89x faster |
| Completion tokens, 12 models | 294,661 total | 84,551 total | 3.49x fewer, up to 15.5x |
| Pass rate, 12 models / 9 labs | 79.1% | 95.5% to 100% | +16.4 pp |
| Install footprint | 953 MB | ~1.7 to 1.8 MB native, ~0.8 MB WASM | ~530x smaller |
| Peak memory RSS | 223 MB | 6 to 14 MB (6.1 macOS, 13.5 Linux) | 16x to 36x less |
| MCP tool schema cost | Not applicable | 723 o200k tokens, 4 tools | Under the 800 budget |
Install Forma and Verify the Binary
Since the project is still young, please check the subcommand name with forma --help before putting anything into production. The following flow is the shortest way to render GLB from a clean machine.
- Install the Rust toolchain. On Windows, run this in an elevated PowerShell window so the PATH update applies system-wide.
winget install --id Rustlang.Rustup -e rustup default stable rustc --version - Build Forma from source. Cloning is safer than guessing a crate name while the project settles.
git clone https://github.com/wrong-nebula/forma.git cd forma cargo build --release cargo install --path . - Confirm the binary is on PATH. The stripped release build should land in the low single-digit megabytes.
forma --version forma --help Get-Command forma | Select-Object Source - Run a first model. Save the pipeline below as
flange.formaand execute it. Forma-Pipe chains primitives and operations left to right, so the file reads top to bottom as a build order.box 40 40 12 | bevel edges=vertical radius=2 segments=3 | shell thickness=2 open=top | cut cylinder radius=6 height=24 at=top_rim | export glb "flange.glb"forma run flange.forma --out ./build - Render a preview without a GPU. The built-in studio renderer gives you a PNG for visual verification, which matters when an agent claims success on a model it cannot see.
forma render flange.forma --studio --out ./build/flange.png
Wiring Forma Into an Agent Over MCP
The MCP server is the part that changes the behavior of the agent the most. The four tools fit comfortably in 723 o200,000 tokens, and there is still room in the scheme budget of 800 tokens. If you register the server in the client configuration, the model finds the pipe language on its own.
{
"mcpServers": {
"forma": {
"command": "forma",
"args": ["serve", "--mcp"]
}
}
}
Keep the tool surface narrow. Each time you add a tool, additional schema tokens are added to each conversation request. As the schema grows, tool selection occurs first before the hard context limit is reached.
High-utility tip: cache the snapshot, not the prompt. Forma's transactional snapshots let you persist a validated base model once, then have the agent apply only the delta operations per turn. You stop re-sending the full construction history as context, and a failed boolean rolls back to the snapshot instead of forcing a full rebuild. On a 12-model benchmark run that pattern is where the 3.49x token reduction actually comes from.
Where Forma Still Loses
Forma is good for mesh modeling, booleans, and studio previews. However, rigging, animation, UV-intensive texturing and photorealistic rendering are outside the scope. If you need a character with a skeleton in your pipeline, Blender is definitely the answer, and 953MB is reasonable too.
This kernel is also polyhedral and not a full NURBS-B rep. For organic surfaces with strong curvature, it is up to you to decide how and how finely the tessellation is cut. A real B-Rep kernel should be able to hide such a selection from you. If it looks like a smooth shell, you should manually adjust the number of segments.
Honestly, this position is much narrower than the headline. Forma is not a Blender replacement, but a Blender bypass. The goal is clear: an agent creates a mechanical part, checks if it's a distributor, and writes it to GLB - making it effective in the common situations where you don't want to drag the desktop app forever. 1.7MB, 16.9ms. This bypass is so cheap that you can drive it in every corner.
The content you sent me only contained the placeholder "GitHub Trending" and there was no actual text to translate, so I cannot create a rewritten result. Insert the original text after the placeholder. All "__XTERM_N__" and "__XTAGX_N__" markings and technical terminology remain strictly unchanged, the AI-like features are removed, and the results are presented only after being anthropomorphized and rewritten in Chinese.
Comments
Post a Comment