Made an open-source Lego AI generator
Get picks like this daily. The day's top launches, AI/tech news, and a weekly opportunity spotlight — straight to your inbox.
This is 1 of 115 launches in multimodal AI and generative media tools — see how it stacks up on momentum and crowding →
109 other launches read as similar to this one →
Details
- External ID
- 49937916
- Source
- HN
- Company
- —
- Product
- Made an open-source Lego AI generator
- Website domain
- github.com
- Launched
- Oct. 2, 2026
- Cohort
- —
- Upvotes
- 166
- Upvotes percentile
- 0.9666666666666667
- Tags
- —
- Fetched at
- Oct. 6, 2026, 5:01 p.m.
- Updated at
- Oct. 6, 2026, 5:01 p.m.
Description
Hi there :-) New on HN, first time posting.Past year, around December, I started experimenting with making ChatGPT and Claude generate source code in LDraw language.This LDraw is literally an "assembly" language, a low-level programming language that describes how to assemble LEGO pieces together into models, one placement instruction at a time.When executed by specific tools, like e.g. LDView, LeoCAD, Studio... these instructions become LEGO CAD models, that can be interacted with, modified, etc.Or, in other words: one LDraw source file in .mpd or .ldr format is equivalent to one LEGO CAD model.So, the idea I had was: if I manage for maybe ChatGPT or Claude to generate high-quality LDraw source files... then, they would actually be generating high-quality LEGO CAD models, right?Then, after months of iterations and trying one thing after the other... it worked!!!Long story short: using GPT-6 Astra and Opus 5.5, I've managed to create a python toolset, instructions, and docs for agents in general. Now, these can be used by them to generate LDraw models.I've packed it all as a dockerized web app for others to try and experiment, with several providers (and agents) to choose from: OpenAI, Claude and OpenRouter.Here's a bunch of exmaples: https://anteloc.github.io/index-samples.html.If you are curious about the internals of an .mpd model, the "what was the agent picturing on its mind", open the .mpd file that got your attention on a text editor, and read the first line under the ones starting with "0 FILE".I'd really appreciate feedback and comments, let's see where this goes =)
Enrichment
- Niche
- multimodal AI and generative media tools
- Vertical
- Media & entertainment
- Function
- Content generation
- Audience
- Prosumer
- AI stance
- AI-native
- Project type
- Hobby / open-source project
- Normalized one-liner
- lego model generator using ai
- Manually corrected
- False
Could you build this?
Yes The project prompts LLMs like Claude or GPT to generate LDraw syntax files and renders them using existing web-based LDraw/Three.js viewers.
Discussion
20 comments analyzed.
Competitors mentioned: BrickGPT
Concerns raised: Lack of physics and stability verification, High cost and poor accuracy for Technic mechanisms, Part rotation and orientation errors, Difficulty sourcing thousands of bricks for large models
Feature requests: Physics and stability verification, Support for moving mechanisms, Tool to sort and rebuild existing brick sets, Real-sized block catalogs
Competitors
Other products that read as similar to this one — 109 launches clear the similarity bar, closest 8 shown.
Attention rank: #8 of 110 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).
Launched 337 days after the earliest competitor.
- BrickForgerAI · ph · 2026-10-02 · 3 upvotes · similarity 0.44
- My tool generates 3D objects composed of separate, functional parts · hn · 2026-05-13 · 5 upvotes · similarity 0.43
- AI CAD Harness · hn · 2026-05-01 · 101 upvotes · similarity 0.41
- lego-build · github · 2026-09-25 · 29 upvotes · similarity 0.41
- 1D-Pong Game at 39C3 · hn · 2026-01-11 · 69 upvotes · similarity 0.40
- AI in SolidWorks · hn · 2026-01-12 · 191 upvotes · similarity 0.40
- I built GPT from scratch to understand how it works · hn · 2026-01-14 · 7 upvotes · similarity 0.40
- Equirect · hn · 2026-04-13 · 14 upvotes · similarity 0.40
Other launches for this product
- No other launches for this product.
Same idea, different domain
Nobody's really built a content generation tool for Government yet.