frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Made an open-source Lego AI generator

https://github.com/anteloc/ldraw-nova
24•antelocnova•59m ago
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.

I'd really appreciate feedback and comments, let's see where this goes =)

Comments

antelocnova•59m ago
Hi there :-)

New on HN, first time posting, and (I guess) my post on Show HN was rejected...

Anyway, I hope I'm not bothering anyone by posting this outside Show HN, or posting almost the same thing twice.

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.

I'd really appreciate feedback and comments, let's see where this goes =)

dang•47m ago
This project is perfect for a Show HN! I moved (most of) your text to the top and added "Show HN" to the title. I'll respond to this bit here:

> and (I guess) my post on Show HN was rejected... Anyway, I hope I'm not bothering anyone by posting this outside Show HN, or posting almost the same thing twice.

Unfortunately we had to put some barriers in place (https://news.ycombinator.com/showlim) because we got flooded, and still are, with Show HNs from new accounts which lack the spark of curiosity that is most important here. The hope is people will take the time to read the site, participate in threads, get a feel for the culture, and eventually post a Show HN that is a better fit.

None of that applies to your project, and if we had a better way to screen these things, we'd write software that let posts like yours through the first time. In any case I'm glad I randomly saw this one, and welcome to HN!

antelocnova•38m ago
Thanks dang!

I really appreciate you helping me with this, and totally get the bit about getting flooded.

Anyway, I hope HN community will like this, and maybe contribute, have some crazy ideas about how and where to move forward =)

dang•27m ago
(Normally I'd email, but maybe it's fun for others to be in on the conversation.)

I think this post would be even better if there were more visual examples to look at. Would it be possible to link to more pictures, or even a demo video, showing different cool and/or weird things produced by the tool?

(In terms of video, you don't need anything fancy - what works best is raw and direct, with zero production values.)

Also, another thing that isn't clear to me is whether you've built any of these structures physically. If so, it would be particularly cool to see that in action! If not, it would be interesting to know what it would take to do so.

vunderba•30m ago
Nice job. I actually read a paper on Arxiv last year about this exact thing - using LLMs to drive model building through LDraw that might be worth reading [1].

They had some interesting experiments like giving the LLM a fixed set of parts as a constraint and asked it to "build" tools out of those available lego.

I think they were using Opus 4.5 so I'm sure with even more powerful models it'll be even better.

[1] - https://arxiv.org/pdf/2512.15743

dy•27m ago
Thanks for sharing - I'm actually working with my kid on something similar but with physics modeling for First Lego League. Cool to see your approach!
CptBroccoli•19m ago
Any estimates for token costs to generate these models? Curious about costs for Astra, Opus and Jev for some of the examples you have in the video.
ash_091•6m ago
Neat! Perhaps I'll finally get around to doing something with the 51515 Lego set I have laying around collecting dust.

> I did this in order to get agentic LLMs capable of designing buildable, physical things!

I've been experimenting with FreeCAD + freecad-mcp + Claude recently and have been similarly surprised how well this works. I've produced three useful parts from Claude's designs: a 3d printed case for an OLED display + some inputs + an ESP32, and a milled aluminium hotend mount adapter for a 3d printer, and a printed pen + pressure sensor mount to use the printer as a plotter. I just provided part/model numbers plus a couple of caliper measurements Claude wasn't able to find online and went through two or three cad revisions before making the parts. All three worked on the first hardware revision.

The biggest thing I've found it seems to struggle with is understanding how the parts will be assembled. The pen mount in particular was tricky to put together, having a part which needed to fit through a slightly too small space to get to its spot. Although it's hard to blame the AI for that when I didn't notice it either I suppose.

1e1a•5m ago
Can it create functional mechanisms using LEGO Technic parts?

The Saw Test

https://wirehead.agency/
1•airhangerf15•2m ago•0 comments

Zig v0.17.0

https://ziglang.org/download/0.17.0/release-notes.html
1•ErenayDev•2m ago•1 comments

Nearly 200 People Under Observation in Russia After Lab Worker Dies from Plague

https://www.themoscowtimes.com/2026/10/02/nearly-200-people-under-observation-after-irkutsk-lab-w...
1•throwaway290•3m ago•0 comments

Show HN: Portus, A Rust Based API/AI/MCP Gateway

https://portus-gateway.dev/
1•nodstuff•3m ago•0 comments

ICE Has Been Dumping Protester Photos into a Palantir Database

https://www.wired.com/story/ice-has-been-dumping-protester-photos-into-a-palantir-database/
5•CircuitSeuss•7m ago•1 comments

How great an ape are you?

https://greatapedictionary.ac.uk/experiment/
1•Eridanus2•7m ago•0 comments

I've created an open source 100% Rust clean-room clone of 7 of Adobe's apps

https://www.reddit.com/r/Adobe/comments/1wvyxjd/photocraft_ive_created_an_open_source_100_rust/
2•robenkleene•10m ago•0 comments

GTF – Event-driven Go service converting GitHub events into LinkedIn posts

https://github.com/hawksxo/git-to-feed
2•hawksxo•12m ago•0 comments

At the Conformation Show: Chasing the Ideal Dog

https://www.theparisreview.org/blog/2026/09/03/the-conformation-show-and-the-pursuit-of-the-ideal...
1•Vigier•13m ago•0 comments

Woking Electrical Control Room (2016)

http://www.darbiansphotography.com/woking-electrical-control-room-urbex
1•NaOH•14m ago•0 comments

Trump consulted Musk's chatbot Grok before abducting Venezuela's president

https://www.independent.co.uk/news/world/americas/us-politics/trump-musk-grok-venezuela-maduro-b3...
1•morkalork•14m ago•0 comments

LF UX Designer – Bay Area Hybrid

https://vuetech.sh/careers
1•pvuetech•15m ago•0 comments

Gpui based database client built for teams and AI agents

https://based.pavi2410.com/
1•faramarz•16m ago•0 comments

Winnow wallet is the best iOS BTC wallet

https://compare.winnowwallet.com/
1•alexnewman•17m ago•0 comments

The AI telling farmers when to harvest

https://www.bbc.com/news/articles/cgk53dkmyxko
1•rmason•20m ago•3 comments

Three AI agents, two countries, and one uneven world wide web

https://royapakzad.substack.com/p/multilingual-ai-agents
6•effects•20m ago•0 comments

Barcodes are about to go extinct

https://thehustle.co/originals/why-barcodes-are-about-to-go-extinct
2•rmason•22m ago•1 comments

Thumos

https://en.wikipedia.org/wiki/Thumos
1•bryanrasmussen•24m ago•0 comments

Show HN: FB Post Generator

https://gemini.google.com/share/1a34bce7137f
1•FDX2018•24m ago•0 comments

Apple will limit Mac disk access as AI agents 'substantially' increase risk

https://www.theverge.com/tech/1004295/apple-limit-mac-disk-access-ai-agents
3•qzervaas•26m ago•1 comments

How to save a life without knowing CPR

https://bookofjoe2.blogspot.com/2026/10/beyondthemedspeak-how-to-save-life.html
2•bookofjoe•26m ago•0 comments

Connections Museum Seattle

https://www.telcomhistory.org/ConnectionsSeattle.html
1•mooreds•28m ago•0 comments

Run over by the Future

https://dgwbirch.substack.com/p/run-over-by-the-future
1•mooreds•28m ago•0 comments

Human Baselines for Benchmarks: AI Now Outperforms Junior Accountants

https://www.mercor.com/blog/human-baselines-for-benchmarks-ai-now-outperforms-junior-accountants/
1•iphonecorridor•29m ago•0 comments

Microsandbox

https://microsandbox.dev
1•handfuloflight•31m ago•0 comments

A Warning for Frontier AI Model Governance

https://www.lawfaremedia.org/article/a-warning-for-frontier-ai-model-governance
1•EA-3167•31m ago•0 comments

A2A CLI: A tool to discover, message, and manage remote AI agents

https://github.com/a2aproject/a2a-cli
1•msampath•33m ago•0 comments

What's the Date?

https://www.lesswrong.com/posts/vzKWsEskYBEWTwpBP/what-s-the-date
2•ronfriedhaber•33m ago•0 comments

Out-of-Band Authorization Codes

https://justinsecurity.medium.com/out-of-band-authorization-codes-50a3563bb5af
1•mooreds•35m ago•0 comments

Six Charts That Show Just How Much We Need A.I

https://www.nytimes.com/2026/10/02/opinion/ai-tech-innovation.html
2•tysone•35m ago•0 comments