Urban spatial intelligence calls for 3D cities that agents can measure, query, and modify across successive tasks, yet structure-conditioned generators rely on external layouts while image-to-scene methods produce uneditable monolithic surfaces. We formulate grounded urban world construction: generating instance-level parameterized 3D cities from one low-altitude aerial RGB image per region and camera parameters without external maps. We introduce CityCode, an agent-operable representation linking observation evidence, metric building proxies, layered road-block topology, semantic embeddings, and 3D assets through persistent entity identities, with dependency-aware versioned execution for validated edits and instant state restoration. From sparse views, Air2Code pairs visual structure parsing with CityCode-Depth, our adapted aerial depth model, to recover metric building instances and road graphs, resolving single-view occlusion through structure- and observation-guided generation via structure-guided appearance completion, CityCode-Building (our structure-aware 3D building generator), and height-guided background synthesis. Across CS-Aerial and UrbanScene3D, CityCode leads on 21 of 22 metric-geometry and visual-quality metrics while preserving geometric fidelity with open-weight backbones. In long-horizon evaluation, CityCode completes all 2,500 steps across 50 task chains and outperforms agent-scripted baselines with zero constraint violations at 3.0--3.6$\times$ lower agent time, turning sparse aerial observations into persistent, agent-operable urban worlds. Code will be publicly available.
翻译:暂无翻译