<?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: Samuel Ntim</title>
    <description>The latest articles on DEV Community by Samuel Ntim (@samuraky).</description>
    <link>https://dev.to/samuraky</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4271901%2F2a87e007-7987-4c39-98cf-fb6305ebedd2.jpg</url>
      <title>DEV Community: Samuel Ntim</title>
      <link>https://dev.to/samuraky</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/samuraky"/>
    <language>en</language>
    <item>
      <title>Hackathon 2026 – Building an AI Assistant for Vall Companys</title>
      <dc:creator>Samuel Ntim</dc:creator>
      <pubDate>Sun, 29 Nov 2026 09:01:49 +0000</pubDate>
      <link>https://dev.to/samuraky/hackathon-2026-building-an-ai-assistant-for-vall-companys-hkj</link>
      <guid>https://dev.to/samuraky/hackathon-2026-building-an-ai-assistant-for-vall-companys-hkj</guid>
      <description>&lt;p&gt;This is a submission for the &lt;a href="https://dev.to/mlh-hackathon"&gt;MLH x DEV Writing Challenge&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  What We Built team (#ENNJYRKRDM)
&lt;/h2&gt;

&lt;p&gt;This weekend, the four of us attended &lt;strong&gt;HackEPS 2026&lt;/strong&gt; in Lleida and chose the &lt;strong&gt;Vall Companys&lt;/strong&gt; challenge: an AI assistant for farmers that runs on a smartwatch. The farmer just talks to the watch, without having to take out their phone in the middle of the farm.&lt;/p&gt;

&lt;p&gt;We built two agents:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;PedidoPienso, for creating and checking feed orders. You say "Order 6,000 kilos of starter feed for farm 9, silo 2", and it takes care of the rest.&lt;/li&gt;
&lt;li&gt;Recordatorios, for setting alarms and reminders directly from the watch: "Remind me to check the water tomorrow at 9."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The organizers had already set up most of the infrastructure: the smartwatch (an ESP32-S3), speech recognition, text-to-speech, the language model and the database. Everything went through their server called Brain. Our job was to develop the logic behind both agents using Python and Flask. Every message follows this path:&lt;/p&gt;

&lt;p&gt;Watch → Brain → ngrok → Flask (/agent) → Brain → Watch&lt;/p&gt;

&lt;p&gt;On paper, it didn't seem like much. It was.&lt;/p&gt;

&lt;h3&gt;
  
  
  Making sure the AI doesn't accidentally order a truckload of feed
&lt;/h3&gt;

&lt;p&gt;An LLM is really good at understanding what people say, but sometimes it gets things wrong. Here, we're talking about orders involving thousands of kilos. We didn't want a truck full of feed being sent out just because the model returned &lt;code&gt;"Validated": "Yes"&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;So the model suggests, and our code decides. Before accepting anything, we check against the database that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the farm exists and is active;&lt;/li&gt;
&lt;li&gt;it has an active batch (and if there are multiple batches, the farmer chooses which one);&lt;/li&gt;
&lt;li&gt;the silos belong to that farm and have enough capacity for the order;&lt;/li&gt;
&lt;li&gt;the feed matches the farm's feeding program;&lt;/li&gt;
&lt;li&gt;the total order is between 5,000 and 27,000 kg.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If everything checks out, the watch displays a summary, and the order isn't created until the farmer says yes.&lt;/p&gt;

&lt;p&gt;Then there's the way people actually speak: "Okay, no, wait." Or sometimes speech recognition picks up the wrong farm or silo. We followed a simple rule: if the agent isn't sure, it asks.&lt;/p&gt;

&lt;h3&gt;
  
  
  Redesigning the smartwatch interface
&lt;/h3&gt;

&lt;p&gt;The original interface was a chat with message bubbles. It worked, but it wasn't particularly easy to read, especially for older farmers or people who struggle to see things up close.&lt;/p&gt;

&lt;p&gt;We replaced it with full-screen responses featuring:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;larger text;&lt;/li&gt;
&lt;li&gt;a different color depending on the type of message;&lt;/li&gt;
&lt;li&gt;large numbers for important information, such as kilos or reminder times;&lt;/li&gt;
&lt;li&gt;dedicated confirmation and "done" screens;&lt;/li&gt;
&lt;li&gt;lists that follow your finger and keep scrolling slightly with inertia;&lt;/li&gt;
&lt;li&gt;the Atkinson Hyperlegible font, embedded directly into the firmware.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The screen is 410 × 502 pixels. There isn't much room, so designing each screen basically turned into a discussion about what we could remove.&lt;/p&gt;

&lt;h3&gt;
  
  
  Four developers and one smartwatch
&lt;/h3&gt;

&lt;p&gt;There were four of us and only one smartwatch. Compiling and flashing the firmware every time we wanted to see a change was frustrating, especially when someone else was almost always using the watch.&lt;/p&gt;

&lt;p&gt;So we built a desktop simulator. It compiles the actual smartwatch interface code together with its graphics library and generates PNG screenshots of each screen directly on the computer.&lt;/p&gt;

&lt;p&gt;To get it working on Windows, we used Zig as a C++ compiler. This meant one of us could keep working on the interface while someone else was testing voice commands on the actual watch.&lt;/p&gt;

&lt;h3&gt;
  
  
  Other problems we didn't see coming
&lt;/h3&gt;

&lt;p&gt;Brain doesn't allow you to edit a reminder. To change one, we create the new reminder first and only then cancel the old one. If something goes wrong halfway through, at least the original reminder isn't lost.&lt;/p&gt;

&lt;p&gt;Times can be ambiguous. "Remind me at 6": does that mean 6 AM or 6 PM? The agent asks.&lt;/p&gt;

&lt;p&gt;And sometimes speech recognition makes up sentences when nobody is talking. Our favorite was "Thanks for watching." We added a filter so the agents wouldn't react to those messages.&lt;/p&gt;

&lt;p&gt;To test everything without relying on the watch, we also built a keyboard-based chat tool, a fake Brain server, more than 500 unit tests and a tool that runs scenarios against the real LLM without writing anything to the database.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Here's how a feed order works:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The farmer presses the button on the watch and says what they want.&lt;/li&gt;
&lt;li&gt;The agent extracts the information and validates it.&lt;/li&gt;
&lt;li&gt;The watch displays a summary of the order.&lt;/li&gt;
&lt;li&gt;The farmer confirms it by voice.&lt;/li&gt;
&lt;li&gt;The order is created, and the watch displays its order number.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  Before and after
&lt;/h3&gt;

&lt;p&gt;Here's how the smartwatch interface changed throughout the hackathon.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0heky97wr2eer0h4v767.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0heky97wr2eer0h4v767.png" alt=" " width="410" height="502"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftf9rv9x2rc3vl1706h46.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftf9rv9x2rc3vl1706h46.png" alt=" " width="410" height="502"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0npt3t3eu2q7v6sn51is.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0npt3t3eu2q7v6sn51is.png" alt=" " width="410" height="502"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftib2txi2wodl62utgzpl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftib2txi2wodl62utgzpl.png" alt=" " width="410" height="502"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Froy4g9de28xtvrm2ogys.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Froy4g9de28xtvrm2ogys.png" alt=" " width="410" height="502"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr2r49s100wxe9qo3wd3g.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fr2r49s100wxe9qo3wd3g.png" alt=" " width="410" height="502"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvpg57bpva4r0fxuwi7mn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvpg57bpva4r0fxuwi7mn.png" alt=" " width="410" height="502"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F223o11u2p53af9lw21ro.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F223o11u2p53af9lw21ro.png" alt=" " width="410" height="502"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh6eu6wh8h2letcphmykh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fh6eu6wh8h2letcphmykh.png" alt=" " width="410" height="502"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Partner Technologies
&lt;/h2&gt;

&lt;p&gt;We used MLH partner technologies: Elevenlabs and DEV.to for this post.&lt;/p&gt;

&lt;p&gt;Here's the tech stack we worked with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Python and Flask, for the backend and agent logic.&lt;/li&gt;
&lt;li&gt;ngrok, to allow Brain to reach our local server.&lt;/li&gt;
&lt;li&gt;ESP32-S3 and Arduino, for the smartwatch firmware.&lt;/li&gt;
&lt;li&gt;Arduino GFX, for the interface.&lt;/li&gt;
&lt;li&gt;Zig, for compiling the desktop simulator.&lt;/li&gt;
&lt;li&gt;Claude Code, as our coding assistant throughout development.&lt;/li&gt;
&lt;li&gt;Git, to avoid overwriting each other's work.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Hackathon Experience
&lt;/h2&gt;

&lt;p&gt;What we liked most was working on a problem that actually exists outside the world of computer science.&lt;/p&gt;

&lt;p&gt;Before starting, we knew almost nothing about feed orders, silo capacities or feeding programs. We had to understand them well enough to make it possible for a farmer to place an order just by talking to a watch.&lt;/p&gt;

&lt;p&gt;Another interesting part was working with AI as a team. Each of us had our own Claude Code instance working on the same repository. Four people and four AI assistants touching the same code: what could possibly go wrong?&lt;/p&gt;

&lt;p&gt;To keep ourselves organized, we wrote a shared CLAUDE.md file containing the project rules and the restrictions set by the organizers. Each of us also kept a log of our sessions so someone else could pick up where we left off.&lt;/p&gt;

&lt;p&gt;Later that night, one of us hit the AI usage limit. Since Brain sends messages from the watch to the most recently registered server, we had to move the main server to another computer and continue from there.&lt;/p&gt;

&lt;p&gt;At another point, the server stopped working, and we couldn't test some parts of the project anymore. With the clock ticking, it was pretty stressful. We just kept working on whatever we could without it. Things like that happen during a hackathon, and sometimes you just have to work around them.&lt;/p&gt;

&lt;p&gt;There was a bit of everything throughout the weekend. But seeing the redesigned interface finally running on the actual smartwatch at 2 AM made it all worth it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What We Learned
&lt;/h2&gt;

&lt;p&gt;Building something with AI is easy. Making it reliable is a different story, and that's where most of our time went.&lt;/p&gt;

&lt;p&gt;We learned about AI agents, backend development, embedded systems and accessibility, but also quite a lot about working as a team when everyone is tired and running out of time.&lt;/p&gt;

&lt;p&gt;We also got to experiment with technologies we don't normally work with.&lt;/p&gt;

&lt;p&gt;We had a great time. And we did it all with just one smartwatch.&lt;/p&gt;

</description>
      <category>mlhacks</category>
      <category>devchallenge</category>
      <category>hackathon</category>
    </item>
  </channel>
</rss>
