This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass
What I Built
Most navigation engines on our phones are engineered around a single, car-centric objective: the fastest asphalt commute. When you want to go for an afternoon run, walk your dog, or step outside to decompress, standard mapping apps steer you directly onto concrete canyons, eight-lane boulevards, and asphalt parking lots where surface radiation regularly spikes ground temperatures 10°F to 15°F above ambient air.
ArborStride AI flips that logic on its head. It is an open-source, thermal-comfort-first microclimate navigator built to get people off their screens and into continuous natural tree canopies.
Instead of optimizing for vehicular velocity, ArborStride AI:
- Maps Continuous Tree Canopies: Identifies and prioritizes mature urban tree archways, park buffers, and foliage corridors.
- Predicts Real Microclimate Thermodynamics: Uses in-context tabular foundation models (Prior Labs TabPFN-v2) to predict asphalt radiant heat vs. canopy cooling deltas in real time.
- Makes the Screen the Shortest Part of the Walk: Features an eyes-free OLED Pocket Mode that whispers turn-by-turn naturalist cues into your earbuds via ElevenLabs, letting you keep your phone tucked away in your pocket while your eyes remain on the trail.
Whether you're evading midday heat exhaustion or finding a peaceful shaded loop through your neighborhood, ArborStride AI lets you step outside with certainty.
Demo & Live Application
- Live Canopy Navigator: https://arbor-stride-ai.vercel.app/navigate
- Platform Landing Page: https://arbor-stride-ai.vercel.app/
- GPX Trail Export: Instant 1-click GPX download compatible with Apple Watch, Garmin, and Strava.
Code & Repository
The complete source code is 100% open-source under the MIT license:
ArborStride AI
The Open-Source Thermal Microclimate & Tree-Canopy Route Navigator
Built for the DEV Challenge: Touch Grass (Hacktoberfest 2026)
Executive Summary
During summer heatwaves, urban asphalt radiates up to 15°F to 25°F hotter than shaded corridors. Standard navigation engines (Google Maps, Apple Maps) prioritize the fastest automotive or pedestrian path, funneling walkers, runners, and families through unshaded concrete canyons and baking parking lots.
ArborStride AI transforms urban navigation by prioritizing thermal comfort, tree canopy density, and physiological safety. Instead of optimizing for pure distance, ArborStride calculates continuous cool corridors beneath mature urban trees (American Elm, London Plane, Sugar Maple, Northern Red Oak).
The Screenless "Touch Grass" Philosophy
Navigation software today demands constant visual attention, trapping users in the exact screen-based behavior that prevents them from engaging with nature.
ArborStride AI is designed around a radical premise: The screen should be the shortest part of the experience.
- Sub-20s Screen Budget…
- Backend: FastAPI with physics-weighted A*/Dijkstra routing over OpenStreetMap geometries.
- Frontend: High-contrast dark GIS interface with a mobile-first StepFree bottom sheet drawer.
-
Deployment Blueprints: Pre-configured for Vercel Serverless, Render (
render.yaml), Docker Compose, and Railway.
System Architecture & Technical Design
ArborStride AI is designed as a modular, local-first system that couples spatial GIS geometries with machine learning foundation models and audio synthesis.
┌───────────────────────────────────────────────┐
│ OpenStreetMap & Sensors │
│ Street Geometries, Solar Angle, Humidity │
└───────────────────────┬───────────────────────┘
│
▼
┌───────────────────────────────────────────────┐
│ Prior Labs TabPFN-v2 Foundation Model │
│ In-Context Microclimate Heat Regression │
└───────────────────────┬───────────────────────┘
│ (Pavement Temp & Shade Deltas)
▼
┌───────────────────────────────────────────────┐
│ A* / Dijkstra Graph Routing Engine │
│ Edge Cost = Distance × (1 - Shade Delta) │
└───────────────────────┬───────────────────────┘
│
┌──────────────────┴──────────────────┐
▼ ▼
┌─────────────────────────────────────┐ ┌───────────────────────────────────┐
│ Google Gemma 2 Field Agent │ │ ElevenLabs Neural Voice │
│ 15-Word Waypoint Sensory Briefing │ │ Hands-Free Pocket Audio Stream │
└──────────────────┬──────────────────┘ └─────────────────┬─────────────────┘
│ │
└──────────────────┬────────────────────┘
│
▼
┌───────────────────────────────────────────────┐
│ Leaflet GIS + OLED Pocket Mode UI │
│ Vercel Serverless / Edge Geolocation │
└───────────────────────────────────────────────┘
1. Thermodynamic Microclimate Engine (Prior Labs TabPFN-v2)
Traditional microclimate analysis relies on complex computational fluid dynamics (CFD) or satellite thermal band feeds that take hours to compute. ArborStride AI leverages Prior Labs TabPFN (Tabular Foundation Model) to perform real-time, zero-shot tabular regression over physical parameters.
-
Feature Inputs:
-
solar_elevation_deg: Real-time solar zenith calculation based on local time and coordinates. -
ambient_temp_f: Live meteorological surface temperature. -
relative_humidity_pct: Atmospheric humidity influencing evaporative cooling. -
canopy_density_pct: Foliage density index derived from OpenStreetMap forest and tree tags. -
pavement_albedo: Surface absorption rating (asphalt vs. stone vs. dirt trail). -
species_type: Shading efficacy coefficient (e.g., London Plane, Oak, Pine).
-
-
Target Output:
predicted_surface_temp_fandcooling_delta_f. - How It Routes: In standard routing, every road segment's cost is strictly its length in meters: $$\text{Cost} = \text{Distance}$$ In ArborStride AI, our router penalizes unshaded asphalt and rewards dense tree canopies: $$\text{Cost}_{\text{Canopy}} = \text{Distance} \times \left(1.0 - 0.65 \times \frac{\text{CanopyCoverage}}{100}\right) \times \text{ThermalPenalty}$$ Segments with >80% mature oak canopy receive up to a 65% distance discount, causing the pathfinder to naturally discover winding, tree-covered corridors that drop surface heat by 7.8°F to 9.2°F.
2. Naturalist Sensory Agent (Google Gemma 2)
Raw sensor readings and delta temperatures don't inspire people to appreciate nature. We engineered a dedicated prompt harness around Google Gemma 2 (supporting local zero-cost Ollama execution with cloud fallbacks) to act as a digital naturalist.
Gemma 2 takes structured physics from the routing engine and translates them into:
- Sensory Waypoint Prompts (Strict 15-word budget): > "Entering mature London Plane archway. Road temperature drops 8.1°F. Breathe in the cool forest air."
- Route Field Briefing: A 3-bullet pre-walk breakdown summarizing canopy coverage percentage, temperature relief, and highlights of notable tree species along the path.
3. Eyes-Free OLED Pocket Mode (ElevenLabs Neural Voice)
The paradox of outdoor fitness apps is that users spend half their time staring at a glowing rectangle.
ArborStride AI solves this with OLED Pocket Mode:
-
Whispered Neural Audio: Turn-by-turn waypoint cues are synthesized via ElevenLabs using a calm, low-pitch naturalist voice (
model: eleven_turbo_v2_5). -
Screenless Experience: The interface dims to pure pitch black (
#000000), leveraging OLED display physics to consume near-zero battery power while your phone rests safely in your pocket. - Resilient Fallback: If network connectivity drops on deep forest trails, the client seamlessly falls back to the native browser Web Speech API.
4. Edge Infrastructure & Geolocation Engineering
ArborStride AI runs serverless on Vercel with full multi-container Render and Docker Compose support.
During development, we resolved a subtle cloud proxying challenge: serverless functions executing on Vercel run in AWS data centers in Washington, D.C., which initially tricked standard IP geolocation into placing users near the White House.
We engineered a dual edge-calibration system:
-
Vercel Edge Headers: The backend inspects
x-vercel-ip-country,x-vercel-ip-latitude, and clientx-forwarded-forto detect real device origins. - Direct Client Probing: When browser GPS is requested, the client queries local network telemetry directly from the device, filtering out cloud data center false-positives and automatically calibrating regional hubs (such as Ile-Ife, Osun State) with pinpoint street-level accuracy.
Why Does Open Innovation Matter?
Open innovation was not an afterthought for ArborStride AI—it was the foundational requirement that made the project possible:
- Spatial Privacy in Personal Movement: Walking and running habits reveal private routines, home addresses, and daily behaviors. Closed-source navigation apps harvest, track, and monetize location history. By building on open models (TabPFN, open-weight Gemma) and open GIS geometries (OpenStreetMap), users maintain absolute ownership over their physical telemetry.
- Democratizing Environmental Physics: Proprietary mapping providers lock their routing metrics behind commercial ad platforms. Open tabular models like Prior Labs TabPFN enable independent developers and community members to model thermodynamics without expensive cloud supercomputing.
- Local-First & Trail Resilient: Closed APIs fail the moment you lose cellular signal. Open-weight models running on-device ensure that outdoor explorers can navigate shaded corridors even in remote off-grid locations.
My Agent Session
This entire platform—from microclimate regression modeling to mobile responsive layout fixes and Vercel edge deployment—was pair-programmed and built using an autonomous agent workflow via DevRelay.
You can inspect the entire interactive transcript, architectural prompts, and code iteration history:
🔗 Direct Session Link: View Full Interactive Transcript on DEV
Key Milestones from the Agent Session:
-
Phase 1: Thermodynamic Engine: Integrated Prior Labs TabPFN-v2 in
app/engine/tabpfn_engine.pyfor microclimate temperature delta prediction. -
Phase 2: Sensory Guidance: Structured prompt harnesses for Google Gemma 2 in
app/engine/gemma_agent.py. -
Phase 3: Eyes-Free Voice: Connected ElevenLabs streaming voice synthesis with client Web Speech API fallbacks in
app/engine/elevenlabs_service.py. -
Phase 4: Mobile Responsive Refactor: Diagnosed and resolved CSS Grid/Flexbox container conflicts in
static/css/style.css, transforming cramped mobile inputs into full-width cards with a sleek StepFree bottom-sheet drawer. -
Phase 5: Cloud Edge Geolocation: Configured
vercel.json,api/index.py, and request header parsing to eliminate cloud data center proxying and lock in regional GPS precision.
Prize Categories
We are entering the following partner categories:
- Best Use of TabPFN (Prior Labs): TabPFN-v2 serves as the core physical engine, performing zero-shot tabular regression over solar elevation, humidity, and foliage density to predict pavement thermal relief.
- Best Use of Gemma (Google): Google Gemma 2 powers the naturalist field agent, translating tabular thermodynamics into evocative sensory waypoints and ecology briefings.
- Best Use of ElevenLabs: Drives OLED Pocket Mode, synthesizing whispered voice cues so outdoor explorers can keep their phones in their pockets and their eyes on nature.
-
Best Use of Render: Fully containerized and deployment-ready with a native
render.yamlinfrastructure-as-code blueprint, multi-stageDockerfile, and automated health check probes.
Built with open-source AI to help the world get off the glass and touch grass.

Top comments (1)
Routing around urban heat islands is a nice use of open data, and the Hacktoberfest angle suits it. I'm curious how you score a route: do you weigh shade and tree cover against distance, or let the walker choose the trade-off? Congrats on getting it submitted.