Inspiration
A street is more than a route from one place to another. It is also where traffic, buildings, water, and public space meet. Yet the information needed to improve it is scattered across maps, property records, environmental datasets, and specialized modeling tools. We built Street Smart to bring that context together and help planners move from identifying a problem to exploring a concrete response.
Our starting point is Los Angeles, with two connected sustainability challenges: traffic-related emissions and stormwater management. We wanted to make early planning more accessible through a map, a conversational assistant, and designs people can inspect and revise.
What it does
Street Smart is an AI-assisted planning workspace that guides users through five steps: Focus, Place, Site, Brief, and Results. Users choose Traffic & Emissions or Stormwater, scout an area or select a property, inspect the available evidence, and describe what they want to improve. A lead planning agent coordinates specialists to investigate the site and develop concepts grounded in the available data.
In Stormwater mode, Street Smart creates map-based design concepts and lets users revise their size, shape, depth, and placement while preserving constraints and previous versions. Users can explore storage capacity and rainfall/runoff scenarios with explicit assumptions. Our curated Hancock Terrace demonstration illustrates this workflow through two planted rain gardens, an interactive event-volume scenario, and a layered section.
In Traffic & Emissions mode, current traffic speeds help users identify areas to investigate. Where verified historical turning counts and valid road-network inputs are available, the system evaluates design alternatives, applies eligibility checks, and compares modeled CO₂ outcomes. It also preserves rejected alternatives and explains why a recommendation may be unavailable.
Users can explore a published footprint in conceptual 3D and switch between Existing and Proposed views with the same camera. Validated property-linked Matterport tours provide additional site context where available. Projects, constraints, and design history persist locally, so users can return to a study and continue refining it. Street Smart supports early exploration; its concepts and modeled outcomes still require site verification before implementation.
How we built it
We built Street Smart with a Python backend and a JavaScript, HTML, and CSS frontend, using Leaflet for the interactive map. Vexcel aerial imagery and outlines provide spatial context, CoStar adds property evidence, and TomTom supplies current traffic flow. Public-source discovery brings in USGS terrain, rainfall and watershed context, and OpenStreetMap road topology.
The planning workflow uses Deep Agents, LangChain, LangGraph, and xAI's Grok to coordinate a lead agent with site-evidence and domain specialists. SQLite-backed persistence retains project briefs, constraints, artifacts, and earlier evaluations. We limit model context to approved evidence fields and measurements, keep credentials and raw sponsor datasets local, and validate returned references and numeric claims.
Shapely and PyProj handle geometry validation and measurements in a local meter-based coordinate system. For supported traffic studies, SUMO and official CARB EMFAC inputs enable conditional comparisons based on verified historical turning sheets. The conceptual 3D viewer reconstructs the published 2D footprint, while property tours remain a separate source of context. Python tests, JavaScript controller harnesses, and browser checks cover the planning workflow, including revisions, persistence, and stale-result handling.
Challenges we ran into
One of the hardest problems was making different sources agree about the same place. Imagery, property records, terrain, road networks, and traffic observations have different identifiers, coordinate systems, coverage, and dates. We had to validate those relationships, correct road-network turn restrictions, and make missing or conflicting data visible rather than silently substituting assumptions.
Another challenge was keeping the AI's conclusions proportional to the evidence. Current traffic speed cannot by itself establish the emissions benefit of a redesign, and a stormwater storage calculation does not prove that runoff will reach the proposed garden. We separated observations, assumptions, modeled results, and implementation readiness, and added checks for unsupported claims.
We also had to manage the complexity of an iterative design tool. Changing a site or input must invalidate old results, while revising a design should preserve constraints and previous alternatives. Bringing maps, evidence, agent activity, and 3D views into a guided five-step interface helped make that complexity easier to navigate.
Accomplishments that we're proud of
We brought discovery, site evidence, AI-assisted planning, editable concepts, saved history, and 3D inspection into one connected workflow. A user can start with a location, investigate its context, explore a design, and return to refine it without losing earlier work.
We are particularly proud of the stormwater revision loop and the detailed rain-garden demonstration, which make an abstract planning idea tangible. We also made traffic evaluations inspectable, including rejected designs and unavailable recommendations. Showing the reasoning and limits behind a result is an essential part of making the tool useful for real planning conversations.
What we learned
Building Street Smart taught us that reliable geospatial AI depends as much on data handling as on the model itself. Coordinate systems, source provenance, geometry validation, and temporal context all affect what a system can responsibly conclude. An explicit “unknown” can be more useful than a confident answer built on an unverified assumption.
We also learned that an agent workflow needs careful state management. Preserving constraints, retaining design history, and detecting stale outputs are central to a useful iterative experience. On the interface side, a clear sequence of steps and consistent 2D and 3D views help people understand complex evidence and compare possibilities.
What's next for Street Smart
Our next step is to test the workflow with urban planners and domain experts, using their feedback to improve the evidence presentation and design controls. We want to expand verified traffic-count coverage, support additional road restrictions, and calibrate modeled outcomes against field observations.
For stormwater planning, we want to incorporate verified drainage connections, soil and infiltration conditions, utilities, access, and maintenance requirements. We also plan to add cost and implementation tradeoffs alongside environmental metrics, improve source refresh and geographic coverage, and complete broader release testing and deployment. The goal is to help more communities turn local evidence into practical, reviewable ideas for better streets.
Built With
- javascript
- langchain
- langgraph
- leaflet.js
- openstreetmap
- python