codepawl/crucible

3D engine that AI agents drive

What it solves

Crucible simplifies 3D scene creation and rendering by allowing AI agents to handle the heavy lifting. It provides a structured way to build, light, and render 3D environments, bridging the gap between complex professional tools like Blender and lightweight web libraries.

How it works

Crucible is a 3D engine for JavaScript that functions as an MCP (Model Context Protocol) server. An AI agent connects to this server to programmatically build scenes using plain data—defining geometry, matrices, and materials. The agent can then request PNG previews, iterate on creative choices, and trigger final renders for stills or MP4 videos using either a real-time rasterizer (Glaze) or a path tracer (Cook).

Who it’s for

It is designed for developers and AI agents that need to generate 3D content, visualizations, or interactive web experiences without manual 3D modeling. It is ideal for those who want to maintain creative control while offloading the technical execution of scene assembly and rendering to an agent.

Highlights

  • Includes a real-time rasterizer (Glaze) and a path tracer (Cook) for high-quality output.
  • Supports modular addons for terrain, vegetation, characters, vehicles, physics, and spatial audio.
  • Enables AI agents to perform render jobs and export media directly through an MCP server.
  • Lightweight and efficient, with a smaller bundle size than comparable libraries like three.js.
  • Capable of running in the browser using WebGL2 and WebGPU.

Related

  • Project
  • Project
  • Project
  • Project