by codepawl
3D engine that AI agents drive
# Add to your Claude Code skills
git clone https://github.com/codepawl/crucibleLast scanned: 11/29/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-11-29T13:19:16.522Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}crucible is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by codepawl. 3D engine that AI agents drive. It has 1,095 GitHub stars.
Yes. crucible passed AgentsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/codepawl/crucible" and add it to your Claude Code skills directory (see the Installation section above).
crucible is primarily written in JavaScript. It is open-source under codepawl on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh crucible against similar tools.
No comments yet. Be the first to share your thoughts!
Crucible is a fast, lightweight realtime 3D engine for the web, with an MCP server for AI agents. It makes high-quality 3D easy to understand and easy to shape.
67js → Crucible. 67js is the old name. The
@codepawlhq/67jspackage is deprecated: install@codepawlhq/crucibleinstead. Old 67js.codepawl.com links redirect here.
AI agents carry the heavy technical setup: geometry, modifiers, lighting, checks and exports. Designers keep creative control of framing, form, lighting and materials on the same scene recipe, delivering fast web embeds within strict byte and memory budgets.
Scenes built with Crucible open live in the browser on the showcase.
The pictures above are rebuilt from the current code with node scripts/render-readme-previews.mjs (add names to rebuild some, --preview <folder> for small test renders; guide).
Made something with Crucible? Post it in Show and tell. We feature picked work on the showcase, with credit.
Crucible is a realtime 3D engine for designers, web pages and AI agents. It has a fast WebGL2 rasterizer, a path tracer, addons for terrain, vegetation, characters, liquid, vehicles and media export, and an MCP server. A scene is plain data: each part has a geometry, a matrix and a material.
Designers shape composition, lighting and materials directly alongside agents building through the MCP server. Exported scenes stay lightweight on the web and keep strict runtime budgets. docs/goal.md defines each part. See the documentation, the guide for agents and the FAQ.
Let your agent do it. Paste this prompt into Claude Code, Codex, Cursor, Gemini CLI or OpenCode. The agent installs the package, reads the guide and connects the MCP server.
Install Crucible from npm as `crucible@npm:@codepawlhq/crucible` and connect its MCP server with `npx crucible-mcp`. Read
https://crucible.codepawl.com/llms.txt first and follow it.
Claude Code plugin. One command adds the MCP server and both skills.
/plugin marketplace add codepawl/crucible
/plugin install crucible@crucible
By hand
npm install crucible@npm:@codepawlhq/crucible
The registry name is @codepawlhq/crucible, and the alias crucible keeps imports short. The package is ESM and needs Node.js 20.19 or later. Glaze and the WebGL2 path tracer need a WebGL2 browser, and the WebGPU backends need WebGPU.
A new minor version ships about once a week. Before 1.0, a minor version can change the API, and CHANGELOG.md lists each change. npx keeps the copy it downloaded first. To update, run npm install crucible@npm:@codepawlhq/crucible@latest or npx -y -p @codepawlhq/crucible@latest crucible-mcp.
import { CrucibleRenderer, box, sphere } from 'crucible';
// Column-major 4x4 matrix: scale, then move.
const placed = ([x, y, z], [width, height, depth] = [1, 1, 1]) =>
new Float32Array([width, 0, 0, 0, 0, height, 0, 0, 0, 0, depth, 0, x, y, z, 1]);
const parts = [
{
name: 'Floor',
geometry: box(),
matrix: placed([0, 0, 0], [8, 0.1, 8]),
material: { color: [0.4, 0.42, 0.45], metallic: 0, roughness: 0.9, emission: 0 },
},
{
name: 'Ball',
geometry: sphere(48, 24),
matrix: placed([0, 1, 0]),
material: { color: [0.8, 0.3, 0.2], metallic: 0, roughness: 0.35, emission: 0 },
},
];
const canvas = document.querySelector('canvas');
const renderer = new CrucibleRenderer(canvas, parts, { samples: 4, memoryBudgetMiB: 256 });
renderer.render({ eye: [4, 3, 6], target: [0, 1, 0] });
Call renderer.updateParts(parts) to move or recolour parts without a new upload.
Call renderer.resize() after the canvas changes size, and renderer.dispose() before you replace the renderer.
The guide covers cameras, lights, effects and every material field.
To save a PNG from a script, use the render-from-a-script recipe.
The package includes an MCP server that connects an agent to a persistent browser renderer. The server needs a local Chrome installation.
npx crucible-mcp --backend gpu --memory 192
--backend gpu renders with hardware WebGL2 through Chrome. Use --backend cpu on a machine without a GPU.
With bun, bunx crucible-mcp takes the same flags; CI runs the packaged server under bun on every pull request.
An agent authors a JSON recipe, sets lights and fog, imports GLB assets and adds motion.
It gets PNG previews back, compares up to four views in a review grid and runs render jobs for stills and MP4 video.
The server accepts no arbitrary code and no remote asset URLs. The MCP reference lists its tools.
Two skills teach an agent to drive the MCP tools: build-crucible-scene for scenes and materials, and render-crucible-media for image and video export.
For a built-in headless AI CLI (crucible auth login for 250 free credits, no card needed, then crucible agent), see cli-agent.
For a plain-text guide, give the agent llms.txt.
viz3d uses Crucible. It is a skill that turns places, systems and events into 3D apps and films, and it renders its films and stills in Crucible.
To add it in Claude Code, run /plugin marketplace add codepawl/viz3d, then /plugin install visualize-in-3d@codepawl.
The render command exports a scene to PNG or MP4 through headless Chrome, on the GPU or on the CPU.
npm run render -- --kind image --scene nature --backend gpu --preset high --output artifacts/nature.png
Video export streams one frame at a time, so a film never sits in memory. The render skill lists every preset and flag.
Each addon is a separate import, so a page load