This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass
What I Built
Right now, across city sidewalks in North America and Europe, thousands of municipal street trees are dropping hundreds of pounds of ripe persimmons, sweet figs, wild heritage apples, and black walnuts straight onto curbs and asphalt—left to rot while software engineers stare at monitors ordering overpriced groceries on delivery apps.
I built PublicBounty: The Screenless Autumn Urban Foraging Agent to flip this equation.
The "Touch Grass" Philosophy: Screenless by Design
The Hacktoberfest Week 1 prompt demanded:
"Build something with open-weight models or open-source AI that gets people off the screen and into the world... The best builds here should make the screen the shortest part of the experience. Bonus points if you take it outside, use it, and tell us how it went."
PublicBounty is engineered so that the screen is the shortest 30 seconds of your entire day:
- Open PublicBounty and pick your city (San Francisco, Portland, Austin, Brooklyn, London).
- In under 5 seconds, an autonomous Mastra agent correlates municipal open tree censuses with OpenStreetMap coordinates and runs Gemma 2 (2B) botanical safety audits.
- It prints a physical 3x5 index pocket card (or triggers a hands-free audio beacon).
- You put your phone in your pocket, grab a canvas tote bag, and step outside.
- You spend the next hour walking through your neighborhood, touching real tree bark, looking up at Autumn canopies, and gathering physical wild fruit and nuts for your kitchen table.
Demo
📹 Full Interactive Video Walkthrough
Here is an automated end-to-end recording of PublicBounty running the Mastra agent, querying municipal tree censuses, verifying botanical diagnostic traits with Gemma 2, and generating the screenless pocket card:
Screenshots
1. The Mastra Harvest Loop & OpenStreetMap View
The agent selects high-yield public trees within a 20-minute walking radius and calculates sidewalk yield:

2. The 3x5 Printable Pocket Card
The true screenless artifact: slip this index card into your jacket pocket with diagnostic check-boxes so you never have to look at a glass screen outdoors:

3. Portland Urban Chestnut & Heirloom Apple Loop
Switching to Portland's Ladd's Addition route with real municipal street tree coordinates:

Code
🧺 PublicBounty: The Screenless Autumn Urban Foraging Agent
Turn ripe municipal sidewalk fruit into dinner. Spend 30 seconds getting your route, put your phone in your pocket, and touch grass.
🍂 What I Built: The "Touch Grass" Problem
Right now, across thousands of cities in North America and Europe, municipal street trees are dropping hundreds of pounds of ripe persimmons, sweet figs, wild apples, pecans, and sweet chestnuts straight onto sidewalk curbs.
While edible food literally carpets our sidewalks, tech workers stare into screens ordering grocery deliveries on apps.
The Screenless Philosophy
The Week 1 prompt challenged builders to:
"Build something with open-source AI at its core that gets people off the screen and into the world... The best builds here should make the screen the shortest part of the experience. Bonus points if you take it outside, use it, and tell us how it went."
PublicBounty is designed so…
The repository is 100% open-source under the MIT License: GitHub Repository: ath1614/PublicBounty
Includes ready-to-run Render deployment configuration (render.yaml).
How I Built It
PublicBounty is architected around an open-source AI and open-data core:
graph TD
A["User Selects City / Neighborhood"] --> B["Municipal Tree Census & OSM Geodata Ingestion"]
B --> C["Raw Municipal Tree Geodata (Species, Location, Season)"]
C --> D["Mastra Foraging Agent (@mastra/core)"]
D --> E["Gemma 2 (2B) Botanical Diagnostic Engine"]
E -->|Toxic Lookalike Alert| F["Safety Guardrails & Discard Warnings"]
E -->|Verified Edible Species| G["20-Min Physical Walking Loop Builder"]
G --> H["Screenless Pocket Harvest Card (Printable Index Card)"]
G --> I["Audio Foraging Beacon (Hands-Free Pocket Voice Cues)"]
1. Mastra Agent Framework (@mastra/core)
The entire planning workflow runs on Mastra:
- Built custom Mastra tools:
queryMunicipalTreeCensus,gemmaBotanicalSafetyAudit, andbuildScreenlessWalkingRoute. - Coordinates spatial proximity with seasonality data and botanical evaluation in a typed, deterministic pipeline.
2. Gemma 2 (2B) Open-Weights Botanical Safety Engine
Urban foraging carries life-and-death stakes regarding toxic lookalikes:
- Sweet Chestnut (Castanea sativa) vs. Toxic Horse Chestnut (Aesculus hippocastanum): Gemma 2 evaluates whether the pod has needle-dense urchin spines (>200 spines/bur) or blunt rubbery warts with poisonous aesculin.
- Black Walnut (Juglans nigra) vs. Ohio Buckeye (Aesculus glabra): Gemma 2 checks for 15–23 pinnate leaflets with citrus-aromatic husks versus 5-palmate toxic buckeye foliage.
- Persimmon (Diospyros) vs. Nightshades: Gemma validates 4-part persistent woody calyx crowns and soft water-balloon ripeness.
3. Open Municipal Tree Geodata & OpenStreetMap
Public street tree inventories are ingested from:
- San Francisco Department of Public Works Urban Forestry Tree Census
- Portland Parks & Recreation Urban Tree Inventory
- Austin Forestry Street Tree Database & NYC Street Tree Census
- OpenStreetMap Overpass queries (
natural=tree[species=*])
4. Zero-Config Render Deployment
Packaged with render.yaml for one-click static site deployment on Render.
Why Does Open Innovation Matter?
- Physical Commons Data Belongs to Everyone: Municipal street trees are paid for by public taxpayer funds and planted on public sidewalks. Commercial closed platforms (like DoorDash or proprietary foraging apps) lock biological commons behind subscriptions. Open-source AI returns public fruit to public hands.
- Offline Backcountry & Trail Reliability: Closed-source cloud APIs (GPT-4 / Cloud Vision) require high-bandwidth cellular internet. Open-weights models like Gemma 2 can run locally on an edge device in low-connectivity parks or dead zones.
- Zero Marginal Cost for Community Harvest: Municipal foraging should never cost money. Open-weights AI costs $0 in token fees, allowing community gleaners and food banks to map neighborhood fruit indefinitely.
My Agent Session
This project was built pair-programming with Antigravity AI, utilizing DevRelay to manage tools, test the Mastra agent workflows, and capture automated browser testing demonstrations.
Direct link: View Agent Session #748 on DEV
Prize Categories
Featured Categories ($200)
- Best Use of Gemma: Uses Google DeepMind's open-weights Gemma 2 (2B) model as the core botanical diagnostic engine to distinguish edible Autumn street species from toxic lookalikes (Sweet Chestnut vs. Horse Chestnut, Buckeye vs. Walnut).
-
Best Use of Render: Built with native
render.yamlinfrastructure-as-code for zero-downtime, continuous deployment on Render.
Partner Categories ($100)
-
Best Use of Mastra: Powered by
@mastra/coreTypeScript agent workflows, orchestrating municipal tree queries, botanical audits, and 20-minute physical harvest routing.

Top comments (1)
AWESOME 🥰 KEEP IT UP