We present an agentic framework for reconstructing real-world cities as articulated 3D digital twins with semantic parts, operable joints, carved openings and interior floors, starting from building map locations. While prior works are restricted to static surface shells or generic procedural layouts, we equip coding agents with a structured domain harness to synthesize faithful, executable 3D building programs. The harness first retrieves and grounds multi-modal data from maps, street and aerial imagery, and web facts into a specification fixing each building's coarse structure. Conditioned on this specification, the agent iteratively programs the facades, architectural elements and shapes using a hierarchical building SDK, refining with geometric and visual verifier checks. Furthermore, because scaling frontier agents across thousands of buildings is prohibitively expensive, we introduce harness evolving, which distills and merges recurring 3D structures from a small set of strong runs into tested skill functions to transfer frontier capabilities to a low-cost agent. Experimental results across thousands of city buildings demonstrate that our approach outperforms bare coding agents while scaling near-frontier accuracy and diversity across an entire urban district at a fraction of the cost.
Each model here is the output of one agent run: an executable building.py compiled to a URDF
with meshes. Every part is a named part of the program, so the same model can be shown with the build's own
material colours, as plain geometry, with a semantic class read from the part's name, or with one
colour per instance (URDF link). Doors, windows and other operable parts sit on revolute or
prismatic joints with their limits: drag the articulation slider to open them.
Pick a building above · drag to rotate · right-drag or shift-drag to pan · scroll to zoom
The models may look slightly different from our Blender renders, since this page draws them with a web renderer.
Our pipeline is not tied to one model or one harness: the same building SDK and tools can be driven by a model called through its API in our own agent loop, or by an existing coding-agent harness such as Codex, Claude Code or Antigravity. Here we show three buildings, each built with eight different model & harness settings. Pick a building, then drag in any view to turn all eight together.
Two buildings, each built with two models: GPT-6-astra and the much cheaper Gemini-3.8-flash. This is a close look at one build from the coding side, every code edit, compile and render as it happened; the next section steps back to the stages these steps belong to.
One building, the Flatiron, from its map location to an articulated digital twin, and how strong runs on a few buildings become skills for the whole city. The diagram plays on its own; click a step to jump to it.
The harness retrieves the evidence, then the agent vets each image.




The evidence is compiled into a specification that fixes the coarse building before any code is written: L0 the site, L1 vertical mass zones, L2 storey bands.
A draft comes straight from the map; the agent revises it from the photos and facts.



The agent plans, then writes building.py with the hierarchical SDK, and in every round
verifies the result and updates the code.
# L5: a parameterised shape def shape_kiosk_frame(slot, *, depth, post, bays, transoms): ... # L4: an element family with a real joint def add_kiosk(b, face, *, z, width, height, frame_shape, door_shape, ...): slot = face_slot(face, z=z, width=width, ...) attach(b, name + '_shopfront_frame', [place_into(slot, frame_shape(slot))]) b.joints.append(Joint(name + '_door_open', JointType.REVOLUTE, ...)) # L3: the facade system places it at the prow add_kiosk(b, tip, **p.kiosk, name='north_kiosk')


On top of the specification the agent authors three more levels: L3 the facade system (the layout and rhythm of elements, with carved openings), L4 elements (self-contained structures such as arcades, cornices or a kiosk) and L5 shapes (the solid forms of parts).






A VLM critic compares wide and close-up renders with the photos and lists local defects, each with a reference crop.
A coding agent repairs each defect as a new modular function. A fresh, stateless VLM judge re-checks every defect after each round.


Crown bays read as sheets of glass; the photo shows paired sash lights in recessed arches.


A plain wall at the prow's crown; the photo shows projecting banded columns.
The result is a simulation-ready building: semantic mesh parts connected by kinematic joints, exported as URDF and meshes, with carved openings and interior floors.
Moving parts are shown in orange.


Strong runs are detailed but expensive; base runs are cheap. On a few buildings both run, and every function the strong programs wrote is pooled.
The evolving agent merges recurring structures across buildings into tested skills with photo-observable parameters.







The evolved skills are appended to the base harness. The cheap base agent then searches, previews and commits to skills while it plans each of a district's thousands of buildings.
Roads and street objects are added as two more layers, also built from code.




Every building is decomposed into six levels. The grounded specification fixes the first three (site, massing, storeys) before any code is written; the agent then programs the facade system, the elements and their shapes with the hierarchical SDK. Click a level to jump to it.
An 11-storey through-block hotel in Midtown, the most complex strong build of the evaluation set (the supplementary hierarchy figure). The camera swings across its 46th Street front; its sides are party walls.
The metric footprint polygon from the map and the building's local frame: an 808 m² lot running through the block from West 46th to West 47th Street.
Three stacked zones with explicit base and roof heights: the whole lot to 39.1 m, a 471 m² setback to 42.7 m and a 72 m² bulkhead to 46.0 m. The map's draft had a single 46 m zone.
11 storeys in three bands (3 base, 5 shaft, 3 crown), from a 5.0 m ground floor to 3.5 m crown storeys, raised as hollow storey shells with floor slabs.
The facade system: walls with their carved openings, slabs and structure. 158 parts.
13 element families, each an add_* function the agent wrote (1,323 parts). Colours group related families:
add_window_rowadd_cartouche_segmental_heads…add_faceted_sash_spandrel_detail…add_quoined_jambsadd_balustradeadd_corniceadd_base_facing…add_flags…28 shape_* functions build the solid form of single parts. The most specific shape of each part is coloured; generic helpers stay in clay:
shape_moulding ×174shape_surround ×148shape_baluster ×140shape_inset_spandrel ×45shape_fluted_scroll_console ×36shape_pointed_relief ×33shape_bay_shell ×30shape_low_scroll_relief ×15shape_flag_panel ×15shape_segmental_head ×9





a few shapes alone, at the slot they got in the build
The exported articulated asset: 1,481 parts; 401 prismatic joints (sashes) and 5 revolute joints (doors) open and close. Moving parts are in orange.
The evolving agent reads the programs that strong runs wrote for many buildings. Where several buildings built the same structure in their own way, it merges those versions into one parameterised library skill whose parameters are the things a photograph shows (where it sits, how wide, how many, which form), checks that the skill rebuilds each version, and hands it to the base harness for the whole city. Left (blue): versions from different strong-run buildings. Right (orange): the merged skill, called with a few different arguments.
Written by the strong runs
4 of the 7 NYC strong-run buildings whose versions (27 functions in all) the evolving agent folded into this skill, each cut out of its building.
Merged library skill
Iron fire escape on a facade: grated landings at every upper storey, picket rails, stairs between landings, drop ladder.
add_fire_escape(building, storeys, side, u, width, depth, offset, drop, sill, ladder, ladder_z, ladder_height, ladder_offset)
Shown: the skill called on a plain host with the calls
add_fire_escape(b) add_fire_escape(b, u=0.32, width=3.2, ladder="both") add_fire_escape(b, u=0.55, width=6.2, depth=1.4, ladder="roof")
Written by the strong runs
4 of the 10 NYC strong-run buildings whose versions (15 functions in all) the evolving agent folded into this skill, each cut out of its building.
Merged library skill
Rooftop water tank: staved timber vessel bound by steel hoops, conical cap, on a braced steel stand with a ladder.
add_roof_water_tank(building, side, u, v, radius, height, stand_height, cap, cap_rise, form, staves, hoops, legs, ladder, facing)
Shown: the skill called on a plain host with the calls
add_roof_water_tank(b) add_roof_water_tank(b, form="steel", cap="dome", radius=2.0, stand_height=0.6) add_roof_water_tank(b, cap="flat", radius=1.2, height=3.6, staves=18)
Written by the strong runs
4 of the 9 NYC strong-run buildings whose versions (18 functions in all) the evolving agent folded into this skill, each cut out of its building.
Merged library skill
Entrance stoop: straight stone stair with a top landing up to a raised front door, iron railings with capped newels or masonry cheek walls.
add_stoop(building, side, u, door, threshold, width, landing, risers, tread, rails, rail_height, stone, iron, door_width, door_height, form)
Shown: the skill called on a plain host with the calls
add_stoop(b) add_stoop(b, threshold=2.0, rails="cheek", width=2.2) add_stoop(b, threshold=0.6, form="ramp")
Written by the strong runs
4 of the 12 NYC strong-run buildings whose versions (27 functions in all) the evolving agent folded into this skill, each cut out of its building.
Merged library skill
Bracketed cornice: deep moulded crown on scrolled consoles over a frieze band, optional panels, rosettes and dentils.
add_bracketed_cornice(building, sides, side, storey, z, height, projection, brackets, count, spacing, paired, frieze, dentils)
Shown: the skill called on a plain host with the calls
add_bracketed_cornice(b, side="front") add_bracketed_cornice(b, side="front", brackets="modillion", dentils=True) add_bracketed_cornice(b, side="front", brackets="block", paired=True, frieze="medallions")
Written by the strong runs
4 of the 9 NYC strong-run buildings whose versions (18 functions in all) the evolving agent folded into this skill, each cut out of its building.
Merged library skill
Fabric shop awning: a canvas hood, sloped, curved, vaulted or domed, with a hanging valance, over a shop window or door.
add_shop_awning(building, side, storey, u, width, z, projection, fall, valance, form, stripes, over, supports, scallop, material2)
Shown: the skill called on a plain host with the calls
add_shop_awning(b) add_shop_awning(b, form="hood", stripes=7, scallop=True) add_shop_awning(b, form="vault")
Written by the strong runs
4 of the 16 Paris strong-run buildings whose versions (42 functions in all) the evolving agent folded into this skill, each cut out of its building.
Merged library skill
Arched carriage entrance (porte-cochère): a tall round- or segmental-arched doorway cut in the street storey, with a stone archivolt, impost blocks, keystone and banded jambs, and a pair of panelled timber leaves on real hinges filling the arch.
add_carriage_portal(building, side, u, width, height, arch, rise, storey, face, leaves, surround, keystone, panels)
Shown: the skill called on a plain host with the calls
add_carriage_portal(b) add_carriage_portal(b, arch="round", width=3.6, height=5.2) add_carriage_portal(b, arch="flat", width=3.0, panels=2)
Written by the strong runs
4 of the 12 Paris strong-run buildings whose versions (27 functions in all) the evolving agent folded into this skill, each cut out of its building.
Merged library skill
Stone balcony on carved consoles: a slab with a moulded nosing projecting from the wall at a floor line, scroll brackets beneath, and a wrought-iron railing (or a stone balustrade) along its edge with returns to the wall.
add_balcony(building, side, storey, span, depth, thickness, railing, rail_height, bracket_spacing, faces)
Shown: the skill called on a plain host with the calls
add_balcony(b) add_balcony(b, railing="balustrade", depth=0.9) add_balcony(b, span="bays")
Written by the strong runs
4 of the 8 Paris strong-run buildings whose versions (21 functions in all) the evolving agent folded into this skill, each cut out of its building.
Merged library skill
Dome or open lantern (cupola) on a drum: a cylindrical drum ringed by arched openings separated by piers, a moulded cornice, a hemispherical or bulbous dome with ribs, and a small open lantern with a finial on top.
add_cupola(building, z, radius, center, side, drum_height, openings_count, dome, lantern)
Shown: the skill called on a plain host with the calls
add_cupola(b) add_cupola(b, dome="tall", openings_count=12) add_cupola(b, lantern=False, radius=2.6, drum_height=2.4)
Written by the strong runs
4 of the 14 NYC strong-run buildings whose versions (34 functions in all) the evolving agent folded into this skill, each cut out of its building.
Merged library skill
Projecting canopy / marquee over a shopfront or entrance: deck with edge fascia on tie rods or brackets.
add_shop_canopy(building, side, storey, u, width, depth, z, form, fascia, supports, over, text, lamps, crest)
Shown: the skill called on a plain host with the calls
add_shop_canopy(b) add_shop_canopy(b, form="glass") add_shop_canopy(b, form="marquee", text="THEATRE")
Written by the strong runs
4 of the 22 NYC strong-run buildings whose versions (33 functions in all) the evolving agent folded into this skill, each cut out of its building.
Merged library skill
Packaged rooftop HVAC units: louvred cabinet or air handler on feet or a curb, capped lid, optional fan cells with guards on top.
add_roof_hvac_units(building, side, u, v, count, pitch, width, depth, height, form, fans, louvres, feet, fan_radius, facing)
Shown: the skill called on a plain host with the calls
add_roof_hvac_units(b) add_roof_hvac_units(b, form="air_handler") add_roof_hvac_units(b, form="fan_unit", count=3)
Street furniture is built the same way as the buildings. For each category of object in the city's census, an agent writes one parametric generator program; every object placed in the city is a sample of that program's parameters (e.g. size, form, colours). Each of the 20 tiles below plays one category's six different sampled instances (120 in all), one full turn each.
@article{li2026building,
title = {Building New York City with Agents},
author = {Li, Zizhang and Esteves, Carlos and Wang, Haochen and Ho{\l}y{\'n}ski, Aleksander and
Snavely, Noah and Wu, Jiajun and Makadia, Ameesh},
journal = {arXiv preprint arXiv:xxxx.xxxxx},
year = {2026}
}