FrostFlow AI: Helping Developers Touch Grass and Plant Seeds
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass
What I Built
FrostFlow AI is a hyper-local, privacy-first garden assistant designed to pull developers away from their monitors and get their hands into real soil.
Most gardening apps rely on generic, static ZIP code tables that don't account for actual weather shifts. FrostFlow AI bridges this gap. It instantly tracks your real-time local weather forecast and cross-references it with your regional frost timeline. Instead of giving you a massive, overwhelming PDF guide, it uses an open-weight AI model to generate a bite-sized, actionable "Touch Grass Checklist" tailored precisely to your weekend. It tells you exactly what to direct-sow, what to transplant, and what physical prep work your soil needs right now.
Demo
You can try the live application here: [Deployed Link Here]
Watch the quick 1-minute video walk-through showing how a shifting weather forecast changes your weekend outdoor tasks: [Video/GIF Link Here]
Code
The entire project is completely open-source. Check out the repository, run it locally, or contribute:
How I Built It
I wanted this app to be fast, free to run, and entirely independent of restrictive cloud AI ecosystems.
- The AI Core: I chose Llama 3.1 8B running locally via Ollama. It is lightweight enough to run smoothly on a standard laptop, eliminating the need for expensive API tokens.
- The Data Pipeline: I used the Open-Meteo API to fetch real-time 7-day weather forecasts and historical frost trends based on latitude and longitude without requiring any API keys.
- The Orchestration: Built with Node.js/Python, the app injects live meteorological data into a structured system prompt.
Instead of treating the LLM like a generic chatbot, it acts as a precise data translator. The system feeds the current date, the days remaining until the first local frost, and the upcoming weekly temperature lows directly to Llama 3.1. The model then dynamically calculates biological safety windows for plants and structures them into clean JSON to render your custom weekend dashboard.
// A look at the dynamic prompt matrix feeding our open modelconst systemPrompt = `
You are an expert local agronomist. Today's date is ${currentDate}.
The user's estimated first autumn frost date is ${frostDate} (${daysToFrost} days away).
The upcoming 7-day forecast shows a low of ${lowTemp}°C and a high of ${highTemp}°C.
Determine exactly what seeds should be sown indoors, transplanted, or direct-seeded outdoors THIS WEEK.
Provide 3 immediate, physical outdoor tasks for this weekend to get the user away from their screen.
`;
Why Does Open Innovation Matter?
Open innovation completely changes how we build tools for the physical world.
If I had built FrostFlow AI using a closed, proprietary API, the application would instantly be tethered to a corporate life support system. The moment token prices shift or an API endpoint changes, a free community tool becomes unsustainable.
By combining open-weight models like Llama 3.1 with open-data initiatives like Open-Meteo, we can build tools that belong truly to the public. Community gardens, urban homesteaders, and schools can run this application entirely offline on a Raspberry Pi or an old laptop. Open innovation ensures that technology remains accessible, private, and deeply connected to local communities—democratizing precision agriculture for the dirt under our actual fingernails.
My Agent Session
You can view the full development, prompt tuning, and architectural building process in my recorded session here: [DevRelay Session Link]
Prize Categories
I am entering FrostFlow AI into the following categories:
- Grand Prize Winner
- Best Use of Local Inference (Ollama Track)
Top comments (1)
tr.ee/dev-to