Skip to main content
Back

Johns Hopkins Team Uses Four AI Agents to Redesign City Streets in Minutes

A four-agent pipeline edits real street-view photos to add or reconfigure bike lanes, skipping domain-specific training data entirely.

Pro

Paper, Full Access
  • Four-agent pipeline edits real street-view photos to redesign bike lanes without domain-specific training data.
  • Agents split the job: Locator, Prompt Optimizer, Design Generator, Evaluator.
  • Design generation uses OpenAI's gpt-image-1; evaluator ranks candidates for instruction compliance.
  • Targets public engagement in transportation planning, replacing labor-intensive hand renderings.
  • Adapts to varying road geometries and environmental conditions across diverse urban scenes.
  • Paper: arxiv.org/abs/2509.05469, from Johns Hopkins, Stony Brook, UF, UMD.

Planning a new bike lane usually means paying a designer to hand-illustrate what a street could look like after the change. That bottleneck makes it hard to try multiple options or gather public feedback at scale. A team from Johns Hopkins, Stony Brook, the University of Florida, and the University of Maryland has a new proposal: let a group of coordinated LLM agents edit real street-view photos directly, and let planners iterate in minutes instead of weeks.

The system, described in a paper titled From Image Generation to Infrastructure Design, chains four specialized agents together to redesign bicycle facilities on real-world imagery. The framework integrates lane localization, prompt optimization, design generation, and automated evaluation to synthesize realistic, contextually appropriate designs.

Why single-shot image models keep failing here

Realistic visual renderings of street-design scenarios are essential for public engagement in active transportation planning, but traditional approaches are labor-intensive, hindering collective deliberation and collaborative decision-making. Generative AI seems like the obvious fix, except it isn't. Existing generative approaches typically require large amounts of domain-specific training data and struggle to enable precise spatial variations of design/configuration in complex street-view scenes.

Standalone image models fail in specific, predictable ways when asked to add a protected bike lane to a Google Street View photo. The authors document weak adherence to complex instructions with multiple constraints, and inconsistent outputs with occasional hallucinations. A prompt like "add a green-painted buffered bike lane on the right side, keep the parked cars, preserve the crosswalk" tends to produce something that gets one or two of those right and hallucinates the rest.

Four agents, one street

Instead of scaling up a single model, the authors split the job. The system comprises a Locator, Prompt Optimization, Design Generation, and Evaluation agent that processes street-view imagery to generate bike-lane designs.

Architecture diagram of the four-agent street design pipeline

Each agent handles a discrete problem that a general-purpose image model tends to conflate:

  • Locator Agent analyzes the street-view image to find the drivable surface and identify where a bike facility could physically fit. This grounds the edit in the geometry of the actual road rather than a hallucinated one.
  • Prompt Optimization Agent takes a planner's natural-language request and rewrites it into a structured, constraint-heavy prompt the image model can actually follow.
  • Design Generation Agent uses OpenAI's gpt-image-1 to produce candidate edits of the street.
  • Evaluator Agent ranks the candidates against the original instruction and picks the best one, closing the loop instead of trusting the first sample.

The evaluator matters more than it sounds. Image generators are stochastic, so a single sample from a good prompt can still be wrong. Having a separate model score candidates for instruction-compliance turns a one-shot generation into a search over a small candidate set, which is where the reliability gains come from.

What the results actually show

The team tested the pipeline across a range of urban scenes. Experiments across diverse urban scenarios demonstrate that the system can adapt to varying road geometries and environmental conditions, producing edits that stay coherent with the surrounding cars, sidewalks, and buildings rather than repainting the whole street.

The important framing: this is not a new model. It's a workflow that situates state-of-the-art models within a more comprehensive workflow because standalone image generation is not enough for infrastructure scenario design. No fine-tuning, no domain-specific training set, no annotated corpus of bike lanes. The knowledge lives in the prompts and the agent decomposition.

Where this is useful, and where it isn't

The obvious application is public engagement. City transportation departments run community meetings where residents look at concept renderings and give feedback. Today those renderings are expensive and slow. A pipeline like this lets a planner generate variations, such as painted lane, buffered lane, protected lane with bollards, in real time during a meeting.

Limits worth flagging:

  1. The output is a photorealistic edit, not an engineering drawing. It cannot replace CAD work for actual construction.
  2. The pipeline depends on commercial closed models (gpt-image-1 and an LLM evaluator), so cost and reproducibility are constrained by API access.
  3. The paper does not appear to release code or a public demo, so anyone wanting to use it will need to reimplement the agent orchestration from the paper description.
  4. Extending beyond bike lanes, for example to bus lanes, curb extensions, or road diets, would likely require rewriting the Locator and prompt templates.

The broader takeaway for anyone building agent systems: this is a clean example of what decomposition buys you. A weak base capability (text-to-image editing) becomes reliable when you wrap it with grounding, prompt rewriting, and candidate evaluation. That pattern generalizes far beyond street design.