<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mohamed Suhail</title>
    <description>The latest articles on DEV Community by Mohamed Suhail (@mohamed_suhail_2005).</description>
    <link>https://dev.to/mohamed_suhail_2005</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3938661%2F99c4933a-efdc-4709-8bcc-80aae525d9d3.jpg</url>
      <title>DEV Community: Mohamed Suhail</title>
      <link>https://dev.to/mohamed_suhail_2005</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mohamed_suhail_2005"/>
    <language>en</language>
    <item>
      <title>FarmRoute Agent — AI crop delivery planner that learns from errors</title>
      <dc:creator>Mohamed Suhail</dc:creator>
      <pubDate>Sun, 31 May 2026 18:28:03 +0000</pubDate>
      <link>https://dev.to/mohamed_suhail_2005/farmroute-agent-ai-crop-delivery-planner-that-learns-from-errors-7ka</link>
      <guid>https://dev.to/mohamed_suhail_2005/farmroute-agent-ai-crop-delivery-planner-that-learns-from-errors-7ka</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hermes-agent-2026-05-15"&gt;Hermes Agent Challenge&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;FarmRoute Agent v4.0&lt;/strong&gt; — an AI-powered agricultural delivery planner &lt;br&gt;
that decides which crops to deliver first, plans optimal routes across &lt;br&gt;
10 villages, handles real-world disruptions like flooding and road &lt;br&gt;
closures, and &lt;strong&gt;self-improves by learning from past delivery errors.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The entire project was built with Hermes Agent. I gave Hermes a skill &lt;br&gt;
file describing the problem — Hermes planned the architecture, wrote &lt;br&gt;
873 lines of backend code, built the animated UI, and ran the first &lt;br&gt;
delivery simulation entirely by itself.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The problem it solves:&lt;/strong&gt;&lt;br&gt;
A farmer has 8 types of perishable crops (strawberry spoils in 12h, &lt;br&gt;
potato lasts 96h) that need delivering to 10 villages with different &lt;br&gt;
weather conditions, road risks, and time windows. Which crops go first? &lt;br&gt;
Which route wastes the least time? What if a bridge closes?&lt;/p&gt;

&lt;p&gt;FarmRoute Agent answers all of this in real time.&lt;/p&gt;
&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/b9KQXn123vk"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/Suhail-26/farmroute-agent/" rel="noopener noreferrer"&gt;https://github.com/Suhail-26/farmroute-agent/&lt;/a&gt; &lt;/p&gt;

&lt;h3&gt;
  
  
  My Tech Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Hermes Agent (Nous Research) — built the project + powers delivery planning&lt;/li&gt;
&lt;li&gt;owl-alpha via OpenRouter — free LLM reasoning backbone&lt;/li&gt;
&lt;li&gt;Python 3.14 + Flask — simulation engine (873 lines)&lt;/li&gt;
&lt;li&gt;Vanilla HTML/CSS/JS — animated terminal-style UI (28KB, zero dependencies)&lt;/li&gt;
&lt;li&gt;memory.json — persistent self-learning across sessions&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How I Used Hermes Agent
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Hermes Built the Entire Project&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I created one &lt;code&gt;skill.md&lt;/code&gt; file and typed this in Hermes:&lt;br&gt;
Hermes read the skill, wrote &lt;code&gt;app.py&lt;/code&gt; (873 lines), built &lt;br&gt;
the animated UI (28KB), created the memory system, started &lt;br&gt;
the Flask server, tested all API endpoints, and delivered &lt;br&gt;
the first complete delivery plan — without me writing &lt;br&gt;
a single line of code.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Hermes Reasons Through Every Delivery
&lt;/h3&gt;

&lt;p&gt;Every RUN triggers 25+ reasoning steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Recalls past sessions and learned lessons from memory&lt;/li&gt;
&lt;li&gt;Checks spoilage urgency for all 8 crops&lt;/li&gt;
&lt;li&gt;Checks weather conditions at all 10 villages&lt;/li&gt;
&lt;li&gt;Detects road disruptions before planning&lt;/li&gt;
&lt;li&gt;Runs LLM chain-of-thought planning via OpenRouter&lt;/li&gt;
&lt;li&gt;Generates scored delivery report with bonuses&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every step is visible in the animated reasoning feed — &lt;br&gt;
you watch Hermes think in real time.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Hermes Learns From Its Own Errors
&lt;/h3&gt;

&lt;p&gt;Every session is saved to memory.json. The agent learns from:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Disruptions&lt;/strong&gt; → village risk score increases next run&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Critical spoilage&lt;/strong&gt; → crop priority bias increases&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Low scores&lt;/strong&gt; → human-readable lesson generated&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Bias decays 0.95× per run so learning stays fresh. After &lt;br&gt;
10 runs you can watch the agent improve — priority bars &lt;br&gt;
shift, lessons accumulate, scores trend upward. This is &lt;br&gt;
Hermes Agent's memory system applied to real logistics.&lt;/p&gt;

</description>
      <category>hermesagentchallenge</category>
      <category>devchallenge</category>
      <category>agents</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
