Picture published by the creator on GitHub.
ldraw-nova: Have an AI agent design a LEGO model you can open in 3D or Blender
Added · Updated
Made by Carlos Antelo
View profile on GitHub (opens in a new tab)ldraw-nova gives an AI agent the tools to design LEGO models from a written idea.
The agent writes code in LDraw, a decades-old text format that places real LEGO parts one instruction at a time, so the result opens in LEGO design programs. Rather than placing bricks by hand, the agent writes a plan and a Python generator that produces the model, then renders pictures, checks them for collisions and gaps, and adjusts. You get the LDraw file, a 3D viewer, a Blender-ready file and the agent's chat. It runs as a web app in Docker with your own AI provider.
What it does
LDraw is a low-level "assembly language" for LEGO: each line places one real part at a position and rotation. Language models are poor at that kind of geometry, so the creator's approach, reached after three earlier attempts, is to have the agent write Python generator scripts (which it does well) that produce the LDraw file, instead of doing the maths itself. The project ships the toolkit, worked examples (vehicles, Technic structures, a modular street) and written guides the agent reads before it plans. While it builds, tools help the agent find suitable parts and example submodels, detect collisions and gaps, and render the model headlessly so it can look at its own work. The output is the LDraw source, images, a 3D viewer and player, a glTF (.glb) file editable in Blender, a VR view for Meta Quest 3, and the agent's chat and reasoning. The creator says it was built with GPT-6 Astra and Claude Opus 5.5.
You could use it to…
- Describe a LEGO crane in words and get a model to spin around in 3D
- Open the generated LDraw file in a LEGO design program
- Export a Blender-ready file of a model the agent designed
Can I use this?
You'll need Docker, Git, about 5 GB of disk, and an AI provider account (OpenAI, Claude or OpenRouter)
Worth knowing Licensed AGPL-3.0: you may use and change it freely, but if you run a modified version as a service for other people, you must share your source code. The creator calls it a first release: large, correct models currently need expensive high-end AI models, generation is slow, spaceships and minifigures still need work, and VR on Meta Quest 3 has many issues. Better part search needs an optional TypeSafe API key; without it the agent falls back to plain text search. The app has no login, so run it only on networks you trust. LEGO is not involved with this project.
Why it's here
Not trending this week
Last on the BuildTube front page on 9 October 2026. It stays on BuildTube so you can still find it.
- 530 people have starred it on GitHub.
- Shown on Hacker News (Show HN) on 2 October, with 167 points.
Numbers checked on 8 November 2026; not refreshed since.
Behind it
View sourceBuildTube has not run or verified this project. Everything above is written from what the creator published.
Made this?
Quick questions
- What is ldraw-nova?
- LDraw is a low-level "assembly language" for LEGO: each line places one real part at a position and rotation.
- What can I use ldraw-nova for?
- Describe a LEGO crane in words and get a model to spin around in 3D; Open the generated LDraw file in a LEGO design program; Export a Blender-ready file of a model the agent designed
- Can I run ldraw-nova on my computer?
- It runs on your own computer or server after a local setup. Clone ldraw-nova and its sibling ldraw-nova-docker at the same version tag, run docker compose build (the first build takes a while and about 5 GB) and docker compose up -d, then open https://localhost:8443 (needed for VR) or http://localhost:8765.
- What do I need to use ldraw-nova?
- Docker, Git, about 5 GB of disk, and an AI provider account (OpenAI, Claude or OpenRouter)
- What license does ldraw-nova use?
- Licensed AGPL-3.0: you may use and change it freely, but if you run a modified version as a service for other people, you must share your source code.
More from this week
- agent-desktop Let AI agents read and click desktop apps
For developers building computer-use agents: agent-desktop lets an AI agent read and operate desktop apps on Mac, Windows or Linux from a command line.
- Auto-Ontology Give AI agents checked business meanings for your database
Help AI agents answer questions about company databases using reviewed definitions and SQL, with each answer showing its steps.
- Spec Kit Turn a written spec into plans, tasks and code
Spec Kit gives your AI coding agent a step-by-step process to build a feature, fix a bug or assess an idea.
Explore by topic
Post this
Download share imageFor makers
Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.
README badge (Markdown)
[](https://buildtube.app/p/gh-anteloc-ldraw-nova/)Embed card (HTML)
<iframe src="https://buildtube.app/embed/gh-anteloc-ldraw-nova/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="ldraw-nova on BuildTube"></iframe>