{"slug": "show-hn-made-an-open-source-lego-ai-generator", "title": "Show HN: Made an open-source Lego AI generator", "summary": "A developer released an open-source, dockerized web app that uses GPT-6 Astra and Opus 5.5 to generate LDraw source code, which renders as LEGO CAD models in tools such as LDView, LeoCAD and Studio. The toolset, packaged with instructions and docs for agents, supports OpenAI, Claude and OpenRouter providers and was posted to Hacker News, where it drew 14 points and 3 comments.", "body_md": "Hi there :-) New on HN, first time posting.\n\nPast year, around December, I started experimenting with making ChatGPT and Claude generate source code in LDraw language.\n\nThis 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.\n\nWhen executed by specific tools, like e.g. LDView, LeoCAD, Studio... these instructions become LEGO CAD models, that can be interacted with, modified, etc.\n\nOr, in other words: one LDraw source file in .mpd or .ldr format is equivalent to one LEGO CAD model.\n\nSo, 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?\n\nThen, after months of iterations and trying one thing after the other... it worked!!!\n\nLong 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.\n\nI'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.\n\nI'd really appreciate feedback and comments, let's see where this goes =)\n\nComments URL: [https://news.ycombinator.com/item?id=49937916](https://news.ycombinator.com/item?id=49937916)\n\nPoints: 14\n\n# Comments: 3", "url": "https://wpnews.pro/news/show-hn-made-an-open-source-lego-ai-generator", "canonical_source": "https://github.com/anteloc/ldraw-nova", "published_at": "2026-10-02 20:00:15+00:00", "updated_at": "2026-10-02 20:36:32.659392+00:00", "lang": "en", "topics": ["ai-agents", "generative-ai", "ai-tools", "developer-tools", "large-language-models"], "entities": ["LDraw", "GPT-6 Astra", "Opus 5.5", "OpenAI", "Claude", "OpenRouter", "LDView", "LeoCAD"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/show-hn-made-an-open-source-lego-ai-generator", "markdown": "https://wpnews.pro/news/show-hn-made-an-open-source-lego-ai-generator.md", "text": "https://wpnews.pro/news/show-hn-made-an-open-source-lego-ai-generator.txt", "jsonld": "https://wpnews.pro/news/show-hn-made-an-open-source-lego-ai-generator.jsonld"}}