General-purpose agents can assemble usable modular designs, but not striking ones
Generative agents can now produce physically valid modular assemblies from natural language, yet they still struggle with proportion, aesthetics, and design intent. This article explains why modular assembly is a hard agent problem, outlines a six-dimension evaluation framework, and describes a diagnose-and-repair loop that moves results from “it stands up” toward better design.
The gap is not assembly, but design quality
Once generative agents enter structured design, an easy-to-underestimate pattern appears. Producing a 3D scene script, a parametric CAD program, or a modular assembly of hundreds or thousands of standard parts is no longer out of reach. Given a prompt such as “a pelican riding a bicycle,” an agent can plan the overall form, search a parts library, choose colors and connectors, and place pieces. On the surface, that already crosses the threshold from language to physical structure.
Engineering evaluation quickly shows the real issue: machines can produce usable designs far more reliably than good-looking ones. Usable means no collisions, valid connections, a structure that holds under gravity, and a result that is roughly recognizable. Good-looking involves proportion, silhouette, negative space, color hierarchy, visual weight, assembly order, and consistency of design intent. Physics and rules can partly quantify the former; the latter depends on aesthetic judgment and design experience. Two assemblies can both match the text and pass stability checks, yet one looks considered and the other merely finished.
Modular assembly is therefore not just text or code generation. It sits at the intersection of discrete combinatorial optimization, physical constraints, semantic understanding, and aesthetic evaluation.
Why modular assembly is hard for agents
1. Huge discrete search space: retrieval and layout must work together
A standard brick library can contain tens of thousands of SKUs that differ in shape, size, connection, and color. The agent cannot emit only an overall shape; it must decompose that shape into purchasable, connectable, assemblable parts. There are at least three coupled decisions: which parts, where they go, and in what pose they connect. Each layer explodes the combinatorial space. Selecting parts first can yield unconnectable structures; laying out first can leave no matching SKUs. Retrieval and layout must therefore alternate rather than be generated in one shot.
2. Physical feasibility is a hard constraint, not “sounds reasonable”
Language models are good at plausible descriptions. Assemblies must satisfy hard constraints: no collisions, matching connection points, center of mass over the support polygon, and load paths that are not single-point bites. Complex structures also need local and global stability checks. In practice, the assembly is converted into a simulation scene for collision detection, connection-graph validation, and gravity-based stability analysis. Without that step, results often “work on paper and fall apart on the table.”
3. Semantic alignment and aesthetics are soft constraints that set the ceiling
Semantic alignment means humans can recognize the prompted object. Aesthetic quality means coordinated proportions, a clear silhouette, and deliberate detail. Neither is fully covered by a single metric. One design may score high on semantics because key features are present, yet look bulky and noisy in color; another may look clean but drop required elements. Evaluation must ask not only “does it look like the prompt?” but “does the design hold up?”
4. Evaluation itself can be misleading
If the benchmark is too easy, general-purpose agents may look strong via a few trials and template reuse, hiding weakness on complex structures. Early specialized models may be well trained on narrow data but lack generate–check–repair behavior on open prompts and hard constraints. General coding agents can express assembly as programs that call retrieval, simulation, and scoring tools and iterate on errors. That is why, on some existing benchmarks, they can approach human reference designs or beat specialized generators. Researchers should still treat proximity on easy items as distinct from mastering design.
From usable to striking: six evaluation dimensions
A modular-assembly benchmark should not only count success rate. It should split into interpretable axes:
- Semantic consistency: whether the assembly includes the required objects, actions, and relations. Combine multi-view visual recognition, human scores, and coverage of key features.
- Physical feasibility: collision-free geometry, legal connections, no floating parts or illegal interpenetration.
- Structural stability: whether the form holds under gravity and light disturbance, whether load paths are reasonable, and whether the design over-relies on fragile joints.
- Assembly complexity and manufacturability: whether part count, variety, and connection density are reasonable, versus “stack extra bricks for stability.”
- Aesthetics and design quality: proportion, silhouette, color, detail hierarchy, visual center, and overall finish. Use multimodal judges plus human spot checks to avoid single automatic-score bias.
- Robustness and reproducibility: stability across multiple generations of the same prompt, reasonable behavior after slight prompt rewrites, and an auditable evaluation process.
These axes can conflict. More parts can add semantic detail and wreck a clean silhouette; more connections can add stability and make the structure look heavy. A capable design agent must trade off objectives, not optimize one metric.
An engineering loop: generate, verify, repair
Coding agents can express design as executable programs and close the loop with tools. A typical modular-assembly flow:
def design_assembly(prompt, max_rounds=8):plan = agent.plan(prompt) # parse semantic and structural intentparts = retriever.search(plan) # retrieve candidate partsassembly = solver.layout(plan, parts) # initial layout and connectionsfor step in range(max_rounds):physics = simulator.check(assembly) # collisions, connections, stabilitysemantic = evaluator.semantic(prompt, assembly)aesthetic = evaluator.aesthetic(assembly)score = combine(physics, semantic, aesthetic)if physics.pass_ and score.above_threshold():breakdiagnosis = evaluator.diagnose(assembly, physics, semantic, aesthetic)assembly = repair(assembly, diagnosis) # local swap, rearrange, reinforcereturn assembly
The point is not a single generation but a diagnose–repair cycle. The agent must know whether failure is missing parts, connection conflict, center-of-mass shift, or bad proportions. Only when failure signals become repair actions do results move from usable toward designed.
In implementation, represent the assembly as a parts graph, a connection graph, and spatial transforms; log simulation, scores, and repairs as a traceable trajectory. For large-scale evaluation, a general cloud environment such as Baidu AI Cloud can host parallel simulation in containers, store intermediate assemblies and renders in object storage, and record per-round state with logs and alerts—raising throughput and making failures reproducible.
Implications for developers: do not stop at one-shot generation
First, put the generative agent in a closed loop. Failures are often local; local repair is more efficient than full regeneration.
Second, bring physics and rule checks forward. Introduce connection-graph and collision constraints during layout, not only after generation.
Third, score multiple objectives. Measure semantics, physics, stability, and aesthetics separately, then set weights by scenario.
Fourth, watch for benchmark leakage and easy-item bias. Harder sets need complex prompts, long assembly chains, multi-object relations, and style requirements so agents cannot luck into templates.
Fifth, keep human spot checks. Aesthetic quality is still hard to fully automate; human review calibrates automatic scores.
Modular assembly is a useful test: it pushes agents from “can write code” to “can use tools for constrained physical design.” A structurally valid assembly shows basic planning and tool use. Whether the result is striking depends on understanding goals, conflicting constraints, and aesthetic trade-offs. The opportunity is not generating a few more bricks, but building a verifiable, iterative, explainable design loop.
