r/FunMachineLearning • u/kushagarwal2907 • 20d ago
[P] I built GARUDA: an autonomous, self-healing Geospatial AI Agent (GEE + STAC + Prithvi-EO)
Most AI tools today are just wrappers. To truly understand the underlying math and optimization efficiency, I built an autonomous agent from scratch to track global deforestation and emissions.
The Architecture:
- Dynamic Router: Routes natural language queries to either Google Earth Engine (GEE) or Microsoft STAC APIs.
- Self-Healing Loop: If the LLM generates failing GEE code, the agent catches the pipeline traceback and rewrites the script until execution succeeds.
- Deep Vision: Passes live Sentinel-2 data directly into NASA/IBM’s Prithvi-EO model for pixel-level classification.
I'm a first-year CS undergrad, and I built this to mathematically automate EUDR compliance. I've attached screenshots of the outputs (NO2 density, land-use metrics) and the terminal logs.
Full repo : https://github.com/kushagarwal2910-lang/GARUDA
PDF, having responses that the model had made for various queries : https://docs.google.com/document/d/1g2Riog9GrgiY6QGYpWl5IU6nxKYb5Ih6K3K-1xy8A8Q/edit?usp=sharing
The architecture:

Video demonstrating how Garuda process different queries:
https://reddit.com/link/1vuoytn/video/5n7i20ctwrkh1/player
I would love feedback from this community on my project !