<?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: Vansh Chauhan</title>
    <description>The latest articles on DEV Community by Vansh Chauhan (@vansh_chauhan_c368733d871).</description>
    <link>https://dev.to/vansh_chauhan_c368733d871</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%2F3212833%2F89b197ec-f8ef-44b5-b616-80103df0c7de.png</url>
      <title>DEV Community: Vansh Chauhan</title>
      <link>https://dev.to/vansh_chauhan_c368733d871</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vansh_chauhan_c368733d871"/>
    <language>en</language>
    <item>
      <title>How I built an Autonomous AI Second Brain using Node.js, Gemini, and Notion (as a High Schooler)</title>
      <dc:creator>Vansh Chauhan</dc:creator>
      <pubDate>Mon, 06 Apr 2026 17:27:54 +0000</pubDate>
      <link>https://dev.to/vansh_chauhan_c368733d871/how-i-built-an-autonomous-ai-second-brain-using-nodejs-gemini-and-notion-as-a-high-schooler-50d8</link>
      <guid>https://dev.to/vansh_chauhan_c368733d871/how-i-built-an-autonomous-ai-second-brain-using-nodejs-gemini-and-notion-as-a-high-schooler-50d8</guid>
      <description>&lt;p&gt;&lt;strong&gt;Hey everyone, I'm Vansh 👋&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;I'm a high school student by day and a web developer by night. I just finished my 11th-grade exams, and during my study prep, I realized a massive problem: my notes and tasks were a complete mess. Between juggling school subjects, coding projects, and random ideas, my information was scattered across five different apps. I was spending more time organizing my study materials than actually studying.&lt;/p&gt;

&lt;p&gt;So, instead of studying harder, I decided to code my way out of the problem. I built Axiom OS—an autonomous AI-powered Second Brain that connects Telegram, Google Gemini 2.5 Flash, and Notion.&lt;/p&gt;

&lt;p&gt;Here is a breakdown of how I built it and the architecture behind it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🧠 What is Axiom OS?&lt;/strong&gt;&lt;br&gt;
At its core, Axiom OS is a frictionless capture system.&lt;/p&gt;

&lt;p&gt;Instead of opening Notion, navigating to a page, formatting blocks, and typing out notes, I just text my private Telegram bot.&lt;/p&gt;

&lt;p&gt;Send a topic (e.g., "Photosynthesis") -&amp;gt; The bot asks Gemini to research it, formats it into structured JSON, and pushes it to my Notion Vault with tables and summaries.&lt;/p&gt;

&lt;p&gt;Send /remind 30m Study Bio -&amp;gt; It logs a task in my Notion Backlog. A background worker tracks the time and pings my Telegram when it's time to study.&lt;/p&gt;

&lt;p&gt;Send /read [URL] -&amp;gt; It scrapes the article and drops a clean summary into Notion.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🏗️ The System Architecture&lt;/strong&gt;&lt;br&gt;
I wanted this system to be fast, secure, and completely independent. Here is the Decoupled Proxy Architecture I used:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. The Logic Tier (Node.js/Express Proxy)&lt;/strong&gt;&lt;br&gt;
To prevent exposing my API keys, I built a Node.js Express server that acts as the central "Brain." It holds the .env variables and proxies all requests between Telegram, Gemini, and Notion.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. The Intelligence Tier (Google Gemini 2.5 Flash)&lt;/strong&gt;&lt;br&gt;
I chose Gemini 2.5 Flash because it is incredibly fast and great at following strict output formats. I prompt Gemini to process natural language topics and return the data as strictly formatted JSON objects.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. The Data Tier (Notion API)&lt;/strong&gt;&lt;br&gt;
Notion acts as my primary database. Using the Notion SDK, the Express server parses the JSON from Gemini and maps it directly into Notion blocks (Headers, Bulleted Lists, Tables) inside specific databases.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. The Autonomous Agent Tier&lt;/strong&gt;&lt;br&gt;
To handle reminders, I built the "Axiom Agent." It's a persistent background worker (setInterval loop) that polls my Notion task database every minute. If it detects a task with a Not Started status and a matching RemindAt timestamp, it triggers the Telegram Bot API to send me a push notification.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;💡 The Result&lt;/strong&gt;&lt;br&gt;
Building Axiom OS completely changed how I manage my time. I no longer organize my workspace manually; the AI does the heavy lifting while I just text a bot on the go. It was an amazing practical exercise in connecting disparate APIs (Telegraf + Google AI + Notion SDK) into one seamless loop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;🚀 Get the Source Code&lt;/strong&gt;&lt;br&gt;
You can absolutely use the architecture above to build this yourself! It is a fantastic weekend project.&lt;/p&gt;

&lt;p&gt;However, if you want to save 10+ hours of debugging API connections and just want the complete, plug-and-play system right now, I've packaged the entire project.&lt;/p&gt;

&lt;p&gt;You can get the .env ready source code, the setup guide, and my premium Notion template here for just ₹149:&lt;br&gt;
&lt;strong&gt;👉 Download Axiom OS on Topmate:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://topmate.io/vansh_chauhan22/2035021?utm_source=public_profile&amp;amp;utm_campaign=vansh_chauhan22" rel="noopener noreferrer"&gt;https://topmate.io/vansh_chauhan22/2035021?utm_source=public_profile&amp;amp;utm_campaign=vansh_chauhan22&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For more info about the Axiom OS:&lt;/strong&gt;&lt;br&gt;
&lt;a href="https://github.com/Vanshdeveloper/Axiom-os" rel="noopener noreferrer"&gt;https://github.com/Vanshdeveloper/Axiom-os&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you build something similar or have questions about the Notion API integration, drop a comment or tag me on Instagram @vansh03030. I'd love to see what you create!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>programming</category>
      <category>javascript</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
