agentusecases.aiAll 2,316 use cases
Content & Creative

Generate LEGO CAD models in LDraw with AI agents

A toolset and docs let ChatGPT and Claude agents write LDraw source files that become LEGO CAD models, packaged as a dockerized web app. · Oct 2, 2026

Done withGPChatGPTCLClaude

What they did
The agent takes a prompt, reads the repo's instruction docs, and plans the parts and submodels. It does not place bricks directly. It writes a plan file, then Python generator scripts that output the LDraw file. It uses tools for part search, collision and gap detection, and headless rendering, and loops render, inspect and adjust until it judges the model finished.
How it went
It produces LDraw source, several viewers, and a Blender-editable glb file. The author says only expensive high-end models can build large, correct models. Generation is slow, spaceships are weak, and VR on Meta Quest 3 has many issues.
Worth knowing
The Docker build needs about 5 GB of disk. Without a TypeSafe API key, part search falls back to full-text search, which may give worse models.

Try it yourself with Claude Code

Write an LDraw file (.ldr) for a LEGO model of [object, e.g. a small red sports car] using real LDraw part numbers and colors, and place the parts so they connect properly. Then validate the file, render a preview image if you can, and fix any floating or overlapping parts. Finish by giving me the final .ldr file and a parts list.

Want help getting this working? Join the Vibe Coding Academy ↗ Run by Alex Finn, who also runs this site.

1 more account of this

  • Generate LEGO CAD models with LLM agents · HN ↗
Read the original ↗

Discussion on HN · Oct 2, 2026

Related use cases

  • CL

    Build a C compiler with a team of parallel agents

    Anthropic's engineering write-up on tasking Opus 4.6 agent teams with building a C compiler.

    Claude

  • CL

    Generate ad-copy variants and scrape competitor ads

    A commenter uses the Claude API via Apps Script for ad-copy variants, Apify to scrape competitor ads, and Cursor to build GA4 dashboards.

    ClaudeCursor

  • CL

    Summarize investments and turn school calendars into iCal invites

    A commenter uses Claude to prepare monthly investment performance and net worth summaries and to convert school calendars and newsletters into iCal invites.

    Claude

  • CX

    Produce a track in Ableton Live by talking

    An MCP server that lets Codex drive Ableton Live, used to write and mix a full song from chat messages.

    Codex

  • HA

    Generate illustrations in a learned visual style

    A designer Hermes profile learns a style from reference designs, writes a skill for it, then crafts prompts and generates and saves images via Nano Banana.

    Hermes Agent

  • GE

    Critique blog post drafts for technical errors

    A developer built a custom Gemini CLI command that reads a blog draft from disk and critiques it for technical errors, used in an iterative editing loop.

    Gemini

Keep browsing

All 99 ChatGPT use casesAll 247 Claude use casesAll 142 Content & Creative use cases

Get 5 like this every morning

The best things people got an AI agent to do, each with the prompt to try it.

All use casesAgentsTopicsJobsNewRSSAboutContactSponsorPrivacy
Sponsors
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us
VCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor usVCVibe Coding Academy: Master AI and automate your lifeS/Ship/It Weekly: #1 AI newsletter on planet Earth+Your logo here: sponsor us