Code Agents in Brick Assembly: Completing a Task Is Not the Same as Doing It Well

    This article uses a brick-building benchmark to examine why general-purpose code agents can match reference answers on many structured tasks yet still fall short of producing impressive, well-designed results. It compares task completion with design creativity, explains how evaluation systems and engineering practices can narrow the gap, and helps engineering teams decide when a general-purpose agent with automated verification is enough and when human review is needed.

    Across the AI field, one pattern has been observed repeatedly: general-purpose code agents can come close to reference answers on many structured tasks, but producing work that truly stands out remains difficult. This suggests that completing a task and creative design are two different abilities. This article uses a brick-building task as its starting point to analyze the difference between an agent that gets the answer right and one that produces a good result. It also discusses how evaluation systems and engineering practices can narrow that gap. The article is written for engineering teams building agents. It aims to help readers decide when a general-purpose agent with automated verification is sufficient, and when human review must be added.

    1. Brick Assembly: A Useful Setting for Observing Capability Differences

    Researchers have recently built a benchmark around the task of using a large language model to direct a robotic arm to assemble bricks. The task is clearly defined. Given a natural language description, such as “a red car with four wheels and a cockpit,” the model must generate a set of structured assembly instructions so the robotic arm can build the target object step by step from bricks.

    The task tests three abilities at once:

    • Semantic understanding: Breaking a natural language description down into geometric structure and assembly order.
    • Physical feasibility: After each brick is placed, the structure must remain stable and must not float or collapse.
    • Goal alignment: The final build must match the text description. A car must not be built as an airplane.

    In this article, “alignment score” refers to how closely the finished build matches the reference answer in part types, part positions, and connections. It ranges from 0 to 1, where 1 means a complete match. Scripts usually compute these scores by comparing items one by one, and some scenarios also need manual checks. For the exact calculation method, refer to the original benchmark’s documentation.

    2. A Hypothetical Comparison: Why a General Agent Might Catch Up with a Specialized Model

    Intuitively, a model trained specifically for brick tasks should clearly outperform a general-purpose model. A specialized model is like a chef who has practiced only one dish. A general-purpose code agent is more like an apprentice who knows a little of everything.

    Suppose a strong general-purpose code agent reaches an alignment score close to the human reference answers on this benchmark, and clearly exceeds the specialized model. The reasons would roughly fall into three groups:

    1. Turning the task into code: The agent can use programming to calculate brick coordinates in space, check for collisions, and enforce structural stability constraints.
    2. Calling external tools: It can run a solver, execute a simulation, or run a verification script, turning guesses into calculations.
    3. Correcting from feedback: After generating a result, the agent can check its own output. If a wheel is in the wrong place, it can regenerate that part. If the structure is unstable, it can change the placement order.

    This pattern of “general ability plus a feedback loop” shows up in similar ways in code generation, data analysis, and automated operations. This conclusion comes from a hypothetical analysis, and no public measured data is available to cite. Conclusions from the brick assembly task should not be assumed to extend to open-ended creative work, safety-critical systems, or design tasks with high aesthetic requirements.

    3. The Gap Between “Works” and “Impressive”

    Even with a high alignment score, the result can still look ordinary. A car with a complete structure, all four wheels, and no collapse is functional. But when it sits beside a car built by a human hobbyist, the difference quickly becomes visible. Human builds often have streamlined bodies, well-proportioned details, and harmonious colors. They sometimes include small touches that do not affect function but still stand out.

    The table below lists several common dimensions and shows what automated metrics and human judgment each cover.

    Dimension Typical Measure Covered by Automated Metrics? Example
    Alignment Comparison of parts and connections with the reference answer Yes Whether the number and positions of wheels are correct
    Stability Simulation or force checks Mostly Whether the structure collapses after placement
    Aesthetics Proportion, color, symmetry, and use of negative space Hard Whether the body lines are harmonious
    Creativity Whether the design goes beyond the reference answer Hard Whether interesting and reasonable details are added
    Overall impression Blind human scoring No Whether reviewers would be willing to showcase the work

    This gap can be understood on three levels.

    First, evaluation metrics cap the ability being measured. Alignment measures similarity to the reference answer. It rewards correctness and standard conformity, and it rarely rewards designs beyond the reference answer. When a model is optimized to raise its score, it tends to learn how to avoid mistakes, not how to stand out.

    Second, aesthetics and creativity are hard to formalize. The judgment “this car looks cool” depends on implicit knowledge about proportion, rhythm, negative space, and stylistic consistency. These judgments are hard to express as computable constraints and hard to enumerate in an evaluation set. Models improve faster on the parts that can be quantified and more slowly on the parts that cannot.

    Third, general models tend to produce common outcomes. Large-scale training pushes a model’s output distribution toward patterns that appear frequently in its data. Common patterns are safe, but they lack individuality. Getting more distinctive results usually requires richer examples, more explicit style requirements, or people who take part in multiple rounds of selection.

    4. Implications for Engineering Practice

    First, evaluate “general ability plus a verification loop” before anything else. Before considering a smaller specialized model, test whether a general-purpose agent with automated verification can reach the target. Use this checklist:

    • Input: Are the task description, constraints, and examples written clearly?
    • Tools: Are a solver, simulator, or validation script available?
    • Verification: Is every generated result checked by a script, and are failure causes recorded?
    • Gating: Can results that fail verification move to the next step?
    • Rollback: When failures repeat, is there a mechanism for human takeover or for reverting to the last working version?

    Second, do not rely on benchmark scores alone. An alignment score close to the maximum shows that the build has no obvious errors. Product competitiveness, however, often comes from aspects that metrics do not capture. Use this checklist:

    • Is human review scheduled in addition to automated evaluation?
    • Beyond alignment, are dimensions such as aesthetics, creativity, or user experience defined?
    • Do reviewers score blindly, without knowing which model produced each result?
    • Are review conclusions recorded separately from automated metrics so the two are not confused?

    Third, turn “impressive” into constraints that can be guided. If you want a model to produce designs with more visual appeal, write the implicit criteria down explicitly. Use this checklist:

    • Are diverse, high-quality examples provided as references?
    • Do prompts specify concrete constraints for style, proportion, and color?
    • Is a multi-candidate approach used, where several results are generated and then filtered, with the filtering criteria documented?
    • Are the filtering criteria confirmed by people with design expertise, rather than set only by the model’s self-evaluation?

    Fourth, build a minimum evaluation loop. For an agent to keep improving, it needs a reproducible evaluation process. The minimum loop should include at least the following:

    • Data versioning: The evaluation set, reference answers, and scoring scripts all have version numbers, so results can be traced to a specific version.
    • Automated verification: Alignment and stability checks run automatically after each change.
    • Blind human review: Each version is sampled for review, and agreement among reviewers is recorded.
    • Regression gating: A new version that falls below the previous version on key metrics is blocked from release.
    • Failure rollback: When a problem is found, the team can quickly switch back to the last stable version and keep failing cases for analysis.

    5. Conclusion

    The brick assembly case shows that general-purpose agents, using programming, tool calls, and feedback correction, can perform well on correctness metrics that can be quantified. On dimensions that are hard to quantify, such as aesthetics and creativity, current methods remain limited. For engineering teams, the key is to hand the quantifiable parts to automated loops, and the parts that resist quantification to human-AI collaboration and expert review. Building a car that works is the baseline. Building one that makes people stop and look requires different methods and different verification.