AI Brick Assembly: Agents Can Build Usable Structures but Struggle to Create Striking Designs

    Designing a stable, recognizable model from a natural-language brief and a library of more than 10,000 brick types is a constrained combinatorial optimization problem, not a purely generative one. This article presents a three-layer representation for brick assembly—part library, assembly graph, and semantic mapping—and explains why physical feasibility can be automatically verified while aesthetic quality still requires human or preference-model judgment. It then outlines a layered evaluation benchmark, examines why general-purpose coding agents with a generate-render-check-revise loop can outperform one-shot specialized models, and offers practical guidance on structured intermediate representations, deterministic verification tools, targeted patching, preference-data feedback, and scalable simulation and rendering infrastructure.

    1. From “It Assembles” to “It Looks Good”: An Underestimated Problem

    Give an agent a natural-language description such as “a pelican riding a bicycle,” and ask it to select parts from a library with more than 10,000 part types, position and color them, and finally output a model that will not fall apart on a table and is immediately recognizable as a pelican. It sounds straightforward, but the real difficulty is far beyond intuition.

    Real brick-set design is a combinatorial optimization problem involving hundreds or thousands of parts. Parts differ in shape, size, and connection method. The system must choose the right colors and forms while ensuring that the overall structure can stand under gravity. It must satisfy two fundamentally different kinds of constraints at the same time, which is exactly where current generative methods are most likely to fail.

    2. Formalizing the Task: All Three Representations Are Necessary

    To hand this problem to an agent, “design” must first be decomposed into computable objects. A common industry approach uses three layers of representation:

    1. Part-library layer: Each part has a unique identifier, a geometric bounding volume, a stud/anti-stud layout, and allowed orientations. Part selection is essentially constrained combinatorial search over a discrete space.
    2. Assembly layer: The position, rotation, and color of each part instance, together with the connection graph between parts. The connection graph determines whether the structure is a single connected whole rather than a collection of unrelated stacks.
    3. Semantic layer: The mapping from textual descriptions to shape features. For example, “riding” requires two wheel-like structures and an inclined supporting surface, while “pelican” requires a long beak and appropriate body proportions.

    If any of these layers is missing, evaluation becomes distorted. Looking only at geometry and ignoring semantics can produce physically valid models that do not resemble the prompt. Looking only at semantics and ignoring the connection graph can produce models that look right but fall apart when touched.

    3. Two Layers of Difficulty: Physical Feasibility Can Be Decided; Aesthetic Quality Cannot Be Easily Quantified

    The first layer is physical feasibility. It contains two automatically decidable subproblems. The first is collision: the solid geometry of any two parts must not intersect in non-connection regions. The second is stability: under gravity, the support relationships and the center-of-mass projection must fall within the support surface, and the connection strength must be sufficient to maintain the overall structure. Both can be determined through geometric computation and physical simulation, yielding clear yes/no outcomes. They belong to the category of verifiable rewards.

    The second layer is aesthetics and recognizability. Two models may both fully satisfy the text description and pass physical validation, yet one has coherent proportions and well-placed details while the other feels perfunctory, as if it were built merely to be “good enough to work.” This layer of quality has no analytical solution. It can be judged only through human preference annotations or relative rankings produced by multimodal models. It is noisy, costly, and currently the weakest part of the evaluation system.

    The key engineering conclusion is this: assign verifiable constraints to programs, and assign unverifiable preferences to humans or preference models. Do not ask a single model to make both kinds of judgment.

    4. Evaluation System Design: Stratify Difficulty to Prevent “Guessing” on Easy Tasks

    A credible brick-assembly benchmark needs at least four types of metrics:

    • Semantic alignment: how well the output shape matches the text description.
    • Physical validity rate: the proportion of outputs that are collision-free and structurally stable.
    • Structural completeness: whether the parts form a single connected component and whether unsupported floating pieces exist.
    • Aesthetic score: relative rankings provided by humans or preference models.

    Even more important is difficulty stratification. If most tasks are low-constraint prompts such as “build a small house,” models can easily achieve high scores through templated outputs, and the benchmark loses its discriminative power. Therefore, the benchmark needs to include long-tail compositional constraints—multiple nested supports, cantilevers and overhangs, and color-zoned storytelling—as well as anti-template tasks that make memorized patterns fail.

    5. Counterintuitive Finding: Closed-Loop General-Purpose Coding Agents Beat One-Shot Specialized Models

    A notable phenomenon in existing benchmark evaluations is that general-purpose coding agents that were not trained on brick data achieved alignment scores almost on par with human reference designs and significantly exceeding those of specialized models trained specifically for brick tasks.

    The reason is not innate ability but workflow. Specialized models usually perform one-shot forward generation; if they make a mistake, there is no way to go back. General-purpose coding agents naturally possess a “generate-render-inspect-revise” loop. They can call geometry validators, rendering previews, collision detectors, and other tools, turning invisible errors into visible feedback. The difference is similar to a smart apprentice who can read a recipe, use tools, and taste while cooking, adjusting through repeated tasting until approaching a chef’s level.

    An illustrative main agent loop is shown below:

    1. def design_agent(spec, part_library, max_iter=12):
    2. plan = planner.generate(spec, part_library) # Initial part selection and layout
    3. for i in range(max_iter):
    4. report = verifier.check(plan) # Collision/connectivity/stability
    5. if report.physical_ok and report.alignment >= THRESHOLD:
    6. break
    7. plan = refiner.patch(plan, report) # Targeted repair based on the report
    8. return plan, report

    The key design point here is that the verifier must be an independent, deterministic program, not the generative model evaluating its own work. Self-evaluation tends to confirm the model’s own outputs, and the loop degenerates into self-reinforcement.

    6. Practical Engineering Recommendations

    1. Representation first: Carry designs through a structured intermediate representation (a list of part instances plus a connection graph) instead of generating free-form text and parsing it afterward.
    2. Tool-based verification: Package collision detection, center-of-mass and support analysis, and connectivity checks as independent tools that produce structured reports rather than natural-language comments.
    3. Targeted repair instead of full regeneration: Localize errors to specific parts and connection edges. Local changes can significantly reduce iteration cost.
    4. Preference-data feedback loop: Accumulate human ranking results into a preference dataset for continuous improvement of the aesthetic dimension.
    5. Use general cloud capabilities for scale: Batch simulation and rendering are well suited to elastic scaling on container platforms. Store design artifacts and intermediate snapshots in object storage, decouple the iteration pipeline with message queues, and use end-to-end logging and monitoring to identify which layer is the source of failures.

    7. Conclusion

    Brick assembly exposes a common weakness of generative AI: constraint satisfaction can be addressed through engineering, but aesthetic judgment cannot. The real direction of progress is not to make a model more specialized by piling on domain-specific data, but to build system capabilities around verifiable feedback, local repair, and layered evaluation. When evaluation tasks are difficult enough, verification is strict enough, and iteration is fast enough, an agent may move from assembling a usable car to assembling a car that is genuinely striking.