<?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: Aditya Nagdekar</title>
    <description>The latest articles on DEV Community by Aditya Nagdekar (@aditya_nagdekar_).</description>
    <link>https://dev.to/aditya_nagdekar_</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%2F4160706%2F9cb7005f-b3d7-43e7-be18-b7ffc8bcd646.png</url>
      <title>DEV Community: Aditya Nagdekar</title>
      <link>https://dev.to/aditya_nagdekar_</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aditya_nagdekar_"/>
    <language>en</language>
    <item>
      <title>HackTober 26: Personal Pi Agent</title>
      <dc:creator>Aditya Nagdekar</dc:creator>
      <pubDate>Mon, 05 Oct 2026 07:00:57 +0000</pubDate>
      <link>https://dev.to/aditya_nagdekar_/personal-pi-agent-26hl</link>
      <guid>https://dev.to/aditya_nagdekar_/personal-pi-agent-26hl</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 a lightweight, always-on personal AI assistant powered by &lt;strong&gt;Google's Gemma open-weight model&lt;/strong&gt; through &lt;strong&gt;OpenRouter&lt;/strong&gt; and deployed on a &lt;strong&gt;DigitalOcean Droplet&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The assistant is accessible through &lt;strong&gt;Telegram&lt;/strong&gt;, so I can use it directly from my phone without opening a separate AI app. It can summarize and triage emails, send emails, read and create calendar events, browse Google Drive, create folders, and upload documents or images received through Telegram.&lt;/p&gt;

&lt;p&gt;The project was inspired by the idea of persistent personal assistants such as OpenAI's Dots and Meta's Muse. My goal was to build a smaller, practical version that could stay online continuously and interact with the tools I already use.&lt;/p&gt;

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

&lt;p&gt;Github: &lt;a href="https://github.com/adityanagdekar/Lite-Weight-Pi-Agent" rel="noopener noreferrer"&gt;https://github.com/adityanagdekar/Lite-Weight-Pi-Agent&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Acknowledgements
&lt;/h2&gt;

&lt;p&gt;This project uses and extends the open-source &lt;a href="https://github.com/alejandro-ao/pi-gateway" rel="noopener noreferrer"&gt;&lt;code&gt;pi-gateway&lt;/code&gt;&lt;/a&gt; project created by &lt;a href="https://github.com/alejandro-ao" rel="noopener noreferrer"&gt;alejandro-ao&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I used &lt;code&gt;pi-gateway&lt;/code&gt; as the Telegram-to-Pi gateway and modified it to support additional workflows such as Telegram document/image handling, attachment downloads, and follow-up instructions for uploaded files.&lt;/p&gt;

&lt;p&gt;Full credit for the original &lt;code&gt;pi-gateway&lt;/code&gt; implementation goes to its original author &lt;a href="https://github.com/alejandro-ao" rel="noopener noreferrer"&gt;alejandro-ao&lt;/a&gt;.&lt;/p&gt;

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

&lt;p&gt;The assistant runs on an &lt;strong&gt;Ubuntu DigitalOcean Droplet&lt;/strong&gt; so it can remain available continuously without depending on my laptop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Telegram&lt;/strong&gt; acts as the user interface. Messages are received by &lt;strong&gt;pi-gateway&lt;/strong&gt;, which maps each Telegram conversation to a persistent &lt;strong&gt;Pi&lt;/strong&gt; session using &lt;strong&gt;SQLite&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pi&lt;/strong&gt; acts as the agent runtime and uses &lt;strong&gt;google/gemma-4-26b-a4b-it&lt;/strong&gt; through &lt;strong&gt;OpenRouter&lt;/strong&gt; for inference.&lt;/p&gt;

&lt;p&gt;For actions involving Gmail, Google Calendar, and Google Drive, the agent uses the open-source &lt;strong&gt;Google Workspace CLI (&lt;code&gt;gws&lt;/code&gt;)&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;I also modified &lt;code&gt;pi-gateway&lt;/code&gt; to support Telegram documents and images. Attachments are downloaded to the agent workspace and their local file paths are passed to Pi, allowing the agent to act on files sent directly through Telegram.&lt;/p&gt;

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

&lt;p&gt;Best Use of DigitalOcean&lt;br&gt;
Best Us of Gemma&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
