SWM2 Agent
IQuery understanding
agent.py · query
task = parse(query) place = "Namsan" event = "flood" rain = 100 # mm/h view = "aerial"
Destination: Namsan Mountain
37.5512°N, 126.9882°E
IIGeographic grounding
City recordsterrain · buildings
agent.py · evidence
dem = lookup("COP30") bld = lookup("buildings") extent = z <= z_low + τ
Elevation aligned to the reference view
0 melevation300 m
τ = 10 m sets extent, not depth.
Physics tool: flood estimate
Σi Ai(h − zi)+ = cA(R − Q)+Δt
di = (h − zi)+
IIICamera planning
Image databasepanoramas · poses
agent.py · camera
route = plan_camera(site) refs = retrieve(route) pts = unproject(refs) check_visibility(route)
target pathref. cameras
Retrieved references
IVSimulation drafting
Scene editingdepth · segmentation
OriginalGuideDraft
{}video_prompt.json
{"subjects": [ "flooded streets", "submerged cars"], "setting": "Huam-dong below Namsan", "lighting": "heavy rain, overcast", "camera": "−22° tilt", "action": "water flows downhill"}
VVideo generation
Simulation video
Generated aerial flood video, earlier frame
frame 110
Generated aerial flood video, later frame
frame 220
Agent response
Flood-prone area2.01 km²
Buildings at risk3,483
with basements1,757
Potential loss$193M–580M
Upper-bound estimate, assuming ≈ 0.7 m of water.
Forward: share state and conditions Verification feedback: refine camera, draft, and captions