<?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: Slevin Cordeiro</title>
    <description>The latest articles on DEV Community by Slevin Cordeiro (@shade555).</description>
    <link>https://dev.to/shade555</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%2F4155547%2F59233de8-fa8f-4939-ba96-5c1ed00720b1.png</url>
      <title>DEV Community: Slevin Cordeiro</title>
      <link>https://dev.to/shade555</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shade555"/>
    <language>en</language>
    <item>
      <title>DigiPico: I Built a Gamified AI Companion with Mastra &amp; Gemma 4 to Help My Friend Fall in Love with Tech</title>
      <dc:creator>Slevin Cordeiro</dc:creator>
      <pubDate>Sun, 04 Oct 2026 18:05:00 +0000</pubDate>
      <link>https://dev.to/shade555/digipico-i-built-a-gamified-ai-companion-with-mastra-gemma-4-to-help-my-friend-fall-in-love-with-25de</link>
      <guid>https://dev.to/shade555/digipico-i-built-a-gamified-ai-companion-with-mastra-gemma-4-to-help-my-friend-fall-in-love-with-25de</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;I built &lt;strong&gt;DigiPico&lt;/strong&gt;, a gamified, mobile-first AI learning companion designed specifically for a close friend of mine who doesn't particularly like tech. &lt;/p&gt;

&lt;p&gt;As a developer, I’ve always wanted to share my passion for software with her, but she has always found the tech world deeply intimidating, dry, and unapproachable. Traditional learning platforms felt too much like reading a textbook, and code editors felt cold and unforgiving. I wanted her to be genuinely interested in how things work behind the scenes, so I realized I needed to disguise the learning process as a welcoming, interactive game. &lt;/p&gt;

&lt;p&gt;That’s where DigiPico comes in. Pico is a supportive, adorable blue penguin tutor that completely removes the intimidation factor from learning computer science. Instead of lecturing, Pico breaks down complex concepts into bite-sized, interactive learning paths. The app adapts to her specific interests, generates dynamic multiple-choice quizzes to test her knowledge, and even creates safe, browser-based JavaScript sandboxes where she can write and execute real code. Every time she completes a challenge or runs code without errors, she earns XP and unlocks achievements.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The Hand-off:&lt;/strong&gt;&lt;br&gt;
When I finally handed the app over to her to test on her phone, her reaction was incredible. She immediately gravitated towards the cute penguin, spent almost an hour playing through the JavaScript coding challenges, and told me: &lt;em&gt;"This is the first time programming actually felt like a fun puzzle game instead of an overwhelming math test."&lt;/em&gt; That alone made the whole weekend worth it.&lt;/p&gt;
&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;📱 &lt;strong&gt;Best Experience:&lt;/strong&gt; DigiPico was designed from the ground up with a mobile-first UI. For the absolute best experience, open the link on your smartphone to see it behave exactly like a native app!&lt;/p&gt;

&lt;p&gt;🚀 &lt;strong&gt;Live App:&lt;/strong&gt; &lt;a href="https://digipico.onrender.com/" rel="noopener noreferrer"&gt;https://digipico.onrender.com/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(Tip: Create a new account, type in a topic like "Artificial Intelligence" or "Robotics", and interact with Pico across the Chat, Learn, and Build tabs!)&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Shade555" rel="noopener noreferrer"&gt;
        Shade555
      &lt;/a&gt; / &lt;a href="https://github.com/Shade555/DigiPico" rel="noopener noreferrer"&gt;
        DigiPico
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      🐣 DigiPico is a cute AI-powered tech companion that helps beginners discover, understand, and learn technology through personalized explanations, hands-on challenges, learning paths, and opportunities. Powered by Gemma 4 and an open AI stack, DigiPico turns tech curiosity into confidence and building.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div&gt;
  # 🐧 DigiPico
&lt;p&gt;&lt;strong&gt;A gamified, mobile-first AI learning companion designed to cure tech intimidation.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://nextjs.org/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/61d3f8c81dfff3b1543fbfd0fc0ed80dc72b5be6b537225a7100a38ef3cff2e7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4e6578742e6a732d31342d626c61636b3f7374796c653d666f722d7468652d6261646765266c6f676f3d6e6578742e6a73" alt="Next.js"&gt;&lt;/a&gt;
&lt;a href="https://tailwindcss.com/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/4f1c13307cbd24dcd283c3a0526136fff11a525954cb2d11e7d70d0b18b00d3b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5461696c77696e642d4353532d3338423241433f7374796c653d666f722d7468652d6261646765266c6f676f3d7461696c77696e642d637373266c6f676f436f6c6f723d7768697465" alt="Tailwind CSS"&gt;&lt;/a&gt;
&lt;a href="https://mongodb.com/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/fd80c20b1ae142699cdd685affae033c4487e98efeaedf322fcc07bc80e330bc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6f6e676f44422d41746c61732d3437413234383f7374796c653d666f722d7468652d6261646765266c6f676f3d6d6f6e676f6462266c6f676f436f6c6f723d7768697465" alt="MongoDB"&gt;&lt;/a&gt;
&lt;a href="https://ai.google.dev/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/23be03e76fa9ad5ffd1369794b831b5569a18dd350ada71cd257000fe18b83ac/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f41492d47656d6d615f342d3432383546343f7374796c653d666f722d7468652d6261646765266c6f676f3d676f6f676c65266c6f676f436f6c6f723d7768697465" alt="Gemma 4"&gt;&lt;/a&gt;&lt;/p&gt;
  &lt;br&gt;
&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;🏗️ Architecture&lt;/h2&gt;
&lt;/div&gt;

  &lt;div class="js-render-enrichment-target"&gt;
    &lt;div class="render-plaintext-hidden"&gt;
      &lt;pre&gt;flowchart TD
    User(["📱 User / Capacitor Mobile"]) --&amp;gt; |HTTPS| Render
    
    subgraph Render [Render Monolith]
        UI[Frontend UI]
        API[Backend API Routes]
        UI &amp;lt;--&amp;gt; API
    end
    
    subgraph Brain [Mastra AI Orchestration]
        Mastra[Mastra Framework]
        Tools[Agent Tools]
        Mastra --- Tools
    end
    
    API &amp;lt;--&amp;gt;|Prompt/Response| Mastra
    
    Tools --&amp;gt;|Live Web Search| SerpApi["🌐 SerpApi"]
    Tools --&amp;gt;|Chat Memory| Backboard["🧠 Backboard"]
    
    Mastra &amp;lt;--&amp;gt;|Open-Weights LLM| Gemma["🤖 Gemma 4"]
    
    API &amp;lt;--&amp;gt;|Text-to-Speech| ElevenLabs["🗣️ ElevenLabs"]
    API &amp;lt;--&amp;gt;|Auth &amp;amp; Gamification| Mongo[("🍃 MongoDB Atlas")]
    API &amp;lt;--&amp;gt;|Tech Readiness Prediction| TabPFN["📊 TabPFN"]
    
    Render --&amp;gt;|Error &amp;amp; Agent Tracing| Sentry["👁️ Sentry"]
&lt;/pre&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;span class="js-render-enrichment-loader d-flex flex-justify-center flex-items-center width-full"&gt;
    &lt;span&gt;
      &lt;span class="sr-only"&gt;Loading&lt;/span&gt;
&lt;/span&gt;
  &lt;/span&gt;


&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;📖 Overview&lt;/h2&gt;

&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;DigiPico&lt;/strong&gt; was built for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01" rel="nofollow"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The goal? To help a non-technical friend fall in love with technology. Traditional tutorials feel like reading a dry textbook, and code editors are cold and unforgiving. DigiPico solves this by disguising tech education as a welcoming, interactive…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Shade555/DigiPico" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;DigiPico is a Next.js monolithic full-stack application built around a powerful, open-source AI agent system. Here is exactly how every piece of the stack came together:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Capacitor:&lt;/strong&gt; Because my friend is most comfortable on her phone, I designed the app for mobile screens first. The codebase is fully integrated with &lt;strong&gt;Capacitor&lt;/strong&gt;, allowing this exact web codebase to be seamlessly bundled as a native iOS and Android application.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mastra Framework &amp;amp; Gemma 4:&lt;/strong&gt; I used the open-source &lt;strong&gt;Mastra&lt;/strong&gt; agent framework as the central orchestration layer. Mastra connects directly to a Google &lt;strong&gt;Gemma 4 (26B)&lt;/strong&gt; open-weights model. Gemma 4 was explicitly prompted to maintain Pico's warm, non-judgmental persona. Mastra allows Gemma 4 to seamlessly call custom background tools to generate strictly formatted JSON learning curriculums, dynamic quizzes, and customized JavaScript coding sandboxes on the fly.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backboard:&lt;/strong&gt; For an AI companion to feel like a real friend, it needs context. I used Backboard to effortlessly persist the agent's memory and chat threads. This ensures Pico always remembers my friend's previous questions and progress.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MongoDB Atlas:&lt;/strong&gt; Serves as the robust primary database handling user authentication and gamification states like tracking her XP, daily streaks, and unlocked achievements. It also powers the app's seamless user experience by caching asynchronously generated AI curriculums and coding challenges in the background, ensuring near-instant load times when she navigates the app.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SerpApi:&lt;/strong&gt; Integrated as a custom Mastra tool, allowing Pico to actively search the live web for the latest beginner-friendly tech news and active hackathons to share with her in the chat.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;TabPFN:&lt;/strong&gt; I integrated TabPFN to run tabular machine learning predictions on her progress. It analyzes her accumulated XP, login streak, and quiz scores to predict a "Tech Readiness Score" subtly adjusting the difficulty of her curriculum.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ElevenLabs:&lt;/strong&gt; Text on a screen can still feel a bit clinical. I integrated ElevenLabs' Text-to-Speech API to give Pico an adorable, expressive voice in the chat interface.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sentry:&lt;/strong&gt; Nothing frustrates a beginner more than unexplained bugs. Sentry is implemented for full-stack error tracking and agent tracing to catch any UI crashes or AI generation errors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Render:&lt;/strong&gt; The entire monolithic Next.js application is deployed seamlessly as a single Web Service on &lt;strong&gt;Render&lt;/strong&gt;, configured entirely via a declarative &lt;code&gt;render.yaml&lt;/code&gt; blueprint.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Copilot:&lt;/strong&gt; I heavily utilized &lt;strong&gt;GitHub Copilot&lt;/strong&gt; as my AI pair programming partner. Copilot dramatically accelerated my development speed over the weekend by scaffolding the complex Tailwind UI components and predicting boilerplate API route structures for the monolithic backend.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open innovation was the absolute core of why this project worked. Using an open-weights model like &lt;strong&gt;Gemma 4&lt;/strong&gt; gave me complete control over how the agent behaved. Closed APIs often have strict, unpredictable safety guardrails that aggressively block attempts to generate raw, executable code snippets, or they forcefully inject corporate, formal tones into the chat. By using an open model like Gemma, I had the freedom to completely override its standard behavior to act exclusively as a playful, empathetic penguin without interference.&lt;/p&gt;

&lt;p&gt;Additionally, building on the open-source &lt;strong&gt;Mastra&lt;/strong&gt; agent framework let me seamlessly orchestrate different tools on my own terms. Instead of being locked into a single walled ecosystem, I had the absolute freedom to wire up SerpApi for live tech news and Backboard for memory exactly how I wanted. Open-source gave me the power to change how the agent behaves at a foundational level something a rigid, closed ecosystem would never allow.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;I am proudly entering the following partner categories:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Best Use of Render&lt;/li&gt;
&lt;li&gt;Best Use of TabPFN&lt;/li&gt;
&lt;li&gt;Best Use of Gemma&lt;/li&gt;
&lt;li&gt;Best Use of Backboard&lt;/li&gt;
&lt;li&gt;Best Use of ElevenLabs&lt;/li&gt;
&lt;li&gt;Best Use of Mastra&lt;/li&gt;
&lt;li&gt;Best Use of MongoDB Atlas&lt;/li&gt;
&lt;li&gt;Best Use of Sentry Agent Tracing&lt;/li&gt;
&lt;li&gt;Best Use of SerpApi&lt;/li&gt;
&lt;li&gt;Best Use of GitHub Copilot&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>First Post For Hacktoberfest</title>
      <dc:creator>Slevin Cordeiro</dc:creator>
      <pubDate>Thu, 01 Oct 2026 17:54:28 +0000</pubDate>
      <link>https://dev.to/shade555/first-post-for-hacktoberfest-10nc</link>
      <guid>https://dev.to/shade555/first-post-for-hacktoberfest-10nc</guid>
      <description>&lt;p&gt;its a test post, also for connecting DEV account to Hacktoberfest profile&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
