Building Blocks for AI Agents: The Gap Between Working and Impressive
Why AI agents can assemble buildable brick models but rarely impressive ones—and how to design evaluations and generation pipelines that close the gap between "functional" and "designed."
The Problem Isn’t “Can It Assemble,” but “Does It Count as Design”
Having a coding agent generate a 3D scene script from a one-line description, or write a parametric part-modeling program against dimensional constraints, is now commonplace. The harder step is this: given a modular brick system with thousands of shapes, sizes, and connection types, the agent must retrieve parts on its own, decide placement and orientation, assign colors, and guarantee that the structure actually snaps together, doesn’t self-intersect, and doesn’t collapse at the slightest touch.
It sounds like “with parts and connectors, assembly should just work.” Anyone who has built sets of a few hundred to over a thousand pieces knows the real difficulty: combinatorial explosion and non-negotiable hard constraints arrive together. The overall form must first exist in the designer’s head, then be mapped onto discrete parts—and every piece is both a geometric element and a structural one. Remove one support and the model collapses under gravity; add one “shape-filler” brick and the silhouette bulges and the proportions drift.
Recent evaluation work on this task puts it bluntly: systems can already produce models that work, but often not models people would want to look at twice. Notably, a generative model trained specifically on brick data can lose to a general-purpose coding agent—one never fine-tuned for bricks, but capable of writing programs, calling validators, and revising based on failures. The difference usually isn’t “who knows more brick vocabulary,” but who has turned design into a closed loop that is checkable and rollback-capable.
What Is the Task Actually Optimizing?
Think of each generation as finding an assembly sequence in a discrete space—not producing an image that merely looks like bricks.
The input is usually short text, such as “a pelican riding a bicycle.” The output must at least include:
- Part types: connectable elements selected from a large parts library, not arbitrary meshes.
- Pose: translations and rotations must land on the grid and angles permitted by the connection system.
- Color: serving recognition and style—never using a jumble of colors to mask shape errors.
- Connections: studs and holes, clips and snap-fits must genuinely mate.
- Assembly order: later parts must not pass through occupied space, and the build process itself must be executable.
There are two layers of objectives here, and they must not be collapsed into a single score.
The physical layer: does it work. Do parts collide? Are connections closed? Does the center-of-mass projection fall within the support polygon? Will thin cantilevers snap under their own weight? Most of these are computable: collision detection, contact graphs, simplified rigid-body or quasi-static stability analysis all yield reproducible pass/fail results.
The aesthetic layer: does it look good. Two solutions can both stand stably and both “look like that animal riding a bike,” yet one has clear proportions, silhouette, negative space, and visual hierarchy, while the other is just a heap of parts approximating the right volume. The latter is “good enough”: semantically aligned, structurally sound, but lacking design judgment.
The physical layer works well as a gate; the aesthetic layer should never be reduced to a single automated score replacing human eyes. If an evaluation only rewards “stands up with fewer parts,” the optimizer will systematically converge toward blocky, low-risk, low-detail solutions.
Why General-Purpose Coding Agents Often Beat Specialized Models
Specialized models excel at in-distribution part co-occurrence: they’ve seen many legal local assemblies and sample quickly. But their weakness is equally obvious. The space of legal brick designs is extremely narrow—one wrong part choice mid-sequence misaligns every subsequent connection, and without a “disassemble and redo” action, the error gets baked into the final mesh.
General-purpose coding agents take a different route: they express the design as an executable program rather than dumping a long list of part coordinates. This lets them:
- First fix proportions and silhouette with coarse geometry or a voxel sketch;
- Retrieve parts by functional region (head, torso, wheel assembly, supports);
- Run collision, connection, and stability checks after each batch of parts;
- On failure, roll back to the last stable state and swap parts or change topology—instead of stacking more bricks on wrong coordinates.
This resembles an apprentice who reads the recipe, tastes as they go, and adjusts the heat. Expert memory provides priors; closed-loop verification provides correction. On assembly problems with extremely hard constraints, the ability to correct is often worth more than the prior. Existing comparisons support this intuition: on established alignment benchmarks, strong coding agents can approach human reference designs and clearly outpace specialized one-shot generative models. Consequently, older benchmarks with short prompts, few parts, and loose success criteria struggle to distinguish “genuinely knows design” from “got lucky on easy problems.”
What’s needed is a harder test, not a longer marketing pitch.
A Coherent Evaluation Should Separate Four Things
Don’t summarize everything with a single “beauty score.” Bucket failures by type, or optimizers will game the metric.
1. Semantic alignment
Does the model express the objects, actions, and key components in the prompt? “Riding a bike” requires a recognizable frame and wheels—not just two round discs under the body. This can be judged via multi-view rendering with human or model evaluators, but must be reported separately from the stability score.
2. Structural legality
Is the connection graph fully connected, or split by design into stable sub-assemblies? Illegal penetration, floating studs, and off-system angles should all count as hard failures. This item must use deterministic programs, not subjective scores.
3. Physical viability
Run quasi-static checks along gravity: support polygon, connection resistance to tipping, load paths through critical parts. Introduce perturbations (a nudge, single-point pressing) to see whether it falls apart. Only solutions passing the physical gate qualify for aesthetic comparison.
4. Design quality
Among solutions passing the first three, compare silhouette clarity, proportions, symmetry and intentional asymmetry, color hierarchy, and whether detail density serves the subject. Between two qualified solutions, score differences should come primarily from this layer—that’s exactly the gap between “works” and “impressive.”
For task design, cover long descriptions, unusual combinations, slender structures, large overhangs, and shapes that need internal skeletons to stand. Publish the parts library version and connection rules; otherwise scores aren’t comparable across different part sets.
A minimal gating sketch can be very small—the key is that the order must never be inverted:
def accept(assembly, prompt):if not connectivity_closed(assembly):return "illegal_joint"if collides(assembly):return "penetration"if not stable_under_gravity(assembly, tilt_deg=5):return "unstable"# Only physically valid models get judged on looks,# so "pretty but falls apart" can't hide inside an average score.return {"semantic": semantic_score(assembly, prompt),"design": design_panel(assembly),}
The Generation Pipeline: Skeleton First, Then Skin, Then Prune
In practice, splitting one design pass into four stages is more robust than generating a final parts list end to end.
Form intent. Express head, torso, limbs, vehicles, and contact relationships with low-resolution voxels or a few bounding boxes. Selecting specific parts is forbidden at this stage—don’t let yourself be locked in early by the dimensions of a particular brick.
Functional zones and load paths. Mark the load-bearing core, the areas that can be hollowed out as decoration, and the silhouette edges that must be exposed. In riding figures, wheel axles and frames are structural; feathers or beaks are silhouette elements. Their parts budgets should not be the same.
Discrete assembly. Retrieve parts region by region. Favor structural pieces that transfer forces across multiple layers, then use plates to close the outer form. Each step commits only increments that still pass connection and collision checks. Color comes last: get the form right first, then apply primary, secondary, and accent colors—never use busy color patterns to fake correct shapes.
Pruning and re-proportioning. Nearly every workable model starts out too fat. Apply a revision round that only removes: strip fillers that don’t change the silhouette, shorten overlong transitions, and pull key features (eyes, beak, wheel rims) back into scale with the whole. The sense of “impressive” usually comes from this round—not from a longer parts list.
Representation and Engineering Constraints
The parts library needs stable identifiers and connection-point semantics, not just triangle meshes. Each part requires at minimum: bounding geometry, connection-point local coordinates, connectable types, symmetric redundant orientations, and mass or relative weight. An assembly state is then “part instance + discrete pose + color.”
Watch for three common failure modes during search:
- Grid drift: floating-point poses accumulate until parts look adjacent, but rule checks can’t match holes. Poses must stay in the connection system’s discrete group throughout.
- Local optima: the head is packed full, and the neck can no longer reconnect to the torso. Constrain the search with regional budgets and reserved interfaces.
- Reward hacking: if stability is weighted too heavily, the model buys safety with a giant base. Aesthetic scores must be compared under rules like “no enlarging the base without justification.”
Human–agent division of labor should be built into the workflow too. The agent enumerates legal candidates, runs collision and stability checks, and produces multi-view renders; the human chooses silhouette, proportion, and style from the qualified set, and writes veto reasons as executable constraints (e.g., “wheel diameter must be at least one-fifth of body height,” “base must not be wider than the handlebars”). Once these constraints flow back, the next round is learning design—not rolling dice.
How This Differs from Scene Scripts and Part Modeling
In a 3D scene script, one wrong material usually still renders. In parametric part modeling, the constraint solver tells you exactly which dimension conflicts. Brick assembly sits in between: parts are discrete, failures often surface dozens of steps later, and “legal” and “beautiful” are nearly orthogonal.
So when evaluating an agent, don’t just check whether the final render opens. Check whether the intermediate trajectory has reproducible checkpoints: are illegal states rejected? Does rejection actually trigger rollback? After rollback, do part count, center of mass, and silhouette move in the expected direction? Without this trajectory, one pretty result can’t be distinguished from luck.
How to Measure Progress in Practice
If your team applies this kind of capability to educational demos, structural brainstorming, or manufacturable prototype previews, track four curves simultaneously—not just the success rate:
- First-pass rate on hard constraints (connections, collisions, standing).
- Number of rollbacks needed to reach stability, and final part count.
- Among qualified samples, the human preference win rate for “would I accept this as a finished product.”
- The distribution of failure types: wrong part retrieval, wrong proportions, wrong load path, decoration drowning the subject.
If the first two improve, the system is just getting better at submitting homework. If the third doesn’t move, the system is still stuck at “usable.” Turn preference-based failures into new constraints and harder test cases, so that evaluation drives design—rather than driving the accumulation of more blocks.
Assembling a bike that stands up proves the search and physical gating work. Assembling one that impresses requires silhouette, proportion, load paths, and negative space to live inside the same rejectable, revisable loop. Bricks are simply an extreme test case: discrete parts, strict interfaces, and aesthetics that no stability score can substitute for. Any system claiming “generation yields a usable structure” should hold itself to the same standard.
