π Open-Source Lego AI Generator Launched
AI tool uses Astra and Opus 5.5 to create LEGO models from scratch
Introduction
An open-source AI tool has been developed to generate LEGO models. The tool, named ldraw-nova, is built using Astra and Opus 5.5 and powered by Jev. It allows users to guide an AI agent to create custom LEGO models using LDraw, a 3D CAD assembly language.
Development and Usage
ldraw-nova is designed to be run as a web app using Docker. Users need Git and Docker to operate it. The app does not require a login, emphasizing the importance of running it on trusted networks. The tool provides agents with the necessary tools, examples, and instructions to design models using real LDraw parts.
Building Process
The process involves cloning two repositories and building a Docker image, which requires approximately 5 GB of disk space. Once the image is built, the app can be started and accessed via a web browser. The app can be accessed from other devices on the same network using the computer's IP address.
Challenges and Solutions
The creator of ldraw-nova faced challenges in making the AI agent proficient in the math-heavy LDraw language. They experimented with ChatGPT and Claude to teach the AI to code in LDraw, leading to the development of a python-based tooling to help agents learn by example.
Results and Implications
Initial tests showed that the AI agents could handle the geometry math required by LDraw, which was a surprise given that LLMs are typically not good at such tasks. The tooling has been successful in generating models, though more work is needed to refine the process.
βTo my surprise, even though this language is heavily focused on math (parts rotations, positioning...), which LLMs are usually bad at, agents did pretty well instead on initial tests, and subsequent projects also yielded good results, but never enough in order to consider generated models to be correct.β
β Creator of ldraw-nova
By Chaos Lab Β· ε¦ηζηAI