<?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: Pulkit Barola</title>
    <description>The latest articles on DEV Community by Pulkit Barola (@pulkit_barola).</description>
    <link>https://dev.to/pulkit_barola</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%2F3868155%2F71928229-b1cd-45f9-8db1-a3ffd59e7f1b.png</url>
      <title>DEV Community: Pulkit Barola</title>
      <link>https://dev.to/pulkit_barola</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pulkit_barola"/>
    <language>en</language>
    <item>
      <title>Title: The Overthinking Machine — I Built an AI That Turns "Tea or Coffee?" Into an Existential Crisis published: false</title>
      <dc:creator>Pulkit Barola</dc:creator>
      <pubDate>Sat, 11 Apr 2026 10:48:29 +0000</pubDate>
      <link>https://dev.to/pulkit_barola/title-the-overthinking-machine-i-built-an-ai-that-turns-tea-or-coffee-into-an-existential-380n</link>
      <guid>https://dev.to/pulkit_barola/title-the-overthinking-machine-i-built-an-ai-that-turns-tea-or-coffee-into-an-existential-380n</guid>
      <description>&lt;p&gt;Every week there's a new AI that promises to change your life.&lt;br&gt;
Productivity tools. Life coaches. Career advisors. Decision helpers. All of them claiming to cut through the noise and help you think clearly.&lt;br&gt;
So I thought: why stop at useful?&lt;br&gt;
What if we built an AI that took the most trivial, absolutely-not-important decisions you face every day — and responded with the full weight of human philosophy, quantum physics, evolutionary biology, and ancient Roman history?&lt;br&gt;
&lt;strong&gt;Ladies and gentlemen: The Overthinking Machine.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;"Should I sit or stand while eating? A 400-word Nietzschean analysis."&lt;/p&gt;

&lt;p&gt;What I Built&lt;br&gt;
The Overthinking Machine is a web app that takes any tiny, inconsequential decision and responds with an unhinged, mock-serious philosophical crisis — powered by Google Gemini AI, running 100% in your browser via PyScript (Antigravity).&lt;br&gt;
You type something like:&lt;/p&gt;

&lt;p&gt;"Should I open a new tab?"&lt;br&gt;
"Which sock should I put on first?"&lt;br&gt;
"Should I reply to that text now or later?"&lt;/p&gt;

&lt;p&gt;And the machine responds with 3–4 paragraphs of increasingly deranged academic analysis. It will cite Nietzsche. It will invoke quantum superposition. It will reference the fall of the Roman Empire. It will end with a completely useless non-conclusion like "Only you can decide — but have you truly considered the implications for your descendants?"&lt;br&gt;
It never actually tells you what to do. That would be useful. This is not that.&lt;br&gt;
The result also includes four completely unnecessary anxiety meters:&lt;/p&gt;

&lt;p&gt;Regret Risk — how much will you regret this decision in 40 years?&lt;br&gt;
Cosmic Significance — does the universe care?&lt;br&gt;
Chaos Potential — butterfly effect probability&lt;br&gt;
Anxiety Score — self-explanatory&lt;/p&gt;

&lt;p&gt;All measured in percentages. All meaningless. All very high.&lt;/p&gt;

&lt;p&gt;Demo&lt;br&gt;
&lt;/p&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://the-overthinking-machine.vercel.app/" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;the-overthinking-machine.vercel.app&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;br&gt;
Here's what happens when you use it:

&lt;ol&gt;
&lt;li&gt;Grab your free Gemini API key
Head to aistudio.google.com — takes about 30 seconds, it's completely free. Paste it into the key box. Since this runs 100% in your browser via PyScript, your key is never sent to any server — it goes directly to Google. That's not a workaround, that's actually more private than most apps.&lt;/li&gt;
&lt;li&gt;Type your trivial decision
The placeholder says "e.g. should I have tea or coffee?" — because that is genuinely the level of input this was built for.&lt;/li&gt;
&lt;li&gt;The machine spirals
A loading state cycles through messages like:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;"Waking the ancient philosophers..."&lt;br&gt;
"Consulting quantum probabilities..."&lt;br&gt;
"Contacting your future self..."&lt;br&gt;
"Resolving temporal paradox..."&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Your crisis is delivered
A full philosophical breakdown appears, along with your four anxiety meters animating to their final (alarming) values.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Code&lt;br&gt;
&lt;/p&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/Pulkit-barola" rel="noopener noreferrer"&gt;
        Pulkit-barola
      &lt;/a&gt; / &lt;a href="https://github.com/Pulkit-barola/Dev_challange_Aprilfool" rel="noopener noreferrer"&gt;
        Dev_challange_Aprilfool
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;How I Built It&lt;br&gt;
Stack: HTML + CSS + Python (via PyScript / Antigravity) + Gemini API (Google AI)&lt;br&gt;
No backend. No server. No database. Runs entirely in the browser.&lt;br&gt;
The interesting technical choice here is PyScript — Google's Antigravity project that lets you run Python directly in the browser via WebAssembly. So the Gemini API call is written in Python, not JavaScript. This means:&lt;/p&gt;

&lt;p&gt;No Node.js, no npm, no build step&lt;br&gt;
Python's google-generativeai style calls right in the browser&lt;br&gt;
The user's API key never leaves their machine — it goes directly from browser to Google's API&lt;/p&gt;

&lt;p&gt;The entire "intelligence" of the app is one carefully crafted system prompt:&lt;br&gt;
pythonsystem_prompt = """&lt;br&gt;
You are the Overthinking Machine — a ridiculous AI that takes completely &lt;br&gt;
trivial, everyday decisions and analyzes them with absurd, unhinged seriousness.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Write 3-4 paragraphs of increasingly unhinged analysis&lt;/li&gt;
&lt;li&gt;Reference at least 3 of: Nietzsche, quantum physics, evolutionary biology, 
ancient Rome, game theory, Freud, thermodynamics, butterfly effect&lt;/li&gt;
&lt;li&gt;Use mock-serious tone — as if this is a peer-reviewed paper on the most 
important decision in human history&lt;/li&gt;
&lt;li&gt;End with a completely useless non-conclusion&lt;/li&gt;
&lt;li&gt;NEVER give an actual recommendation&lt;/li&gt;
&lt;li&gt;Output plain text only
"""
Getting the AI to be consistently absurd while sounding serious took several iterations in Google AI Studio. Too silly and it breaks the joke. Too serious and it's just... advice. The sweet spot is mock-peer-review tone with real philosophical references applied to whether you should use a mug or a glass.
On the "Bring Your Own Key" design:
I made a deliberate choice not to use a backend proxy. Since this runs via PyScript in the browser, there's no server to hide a key behind — and I didn't want to fake it. So instead the key goes directly from your browser to Google. It's never stored, never logged, never transmitted to me. For a silly April Fools app, that's actually the most honest architecture possible.
Getting a free Gemini key takes 30 seconds at AI Studio — and it highlights exactly how accessible Google AI is, which felt right for the prize category.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Prize Category&lt;br&gt;
Best Google AI Usage — Gemini powers the entire analysis engine, and the app uses PyScript (Antigravity) to call it directly from Python running in the browser — no backend required. I used Google AI Studio extensively to iterate on the system prompt, testing dozens of trivial decisions until the output hit that perfect balance of unhinged and mock-authoritative. The whole stack — from browser Python to Gemini's language model — is Google AI products all the way down.&lt;/p&gt;

&lt;p&gt;What I Learned&lt;br&gt;
Building something intentionally useless teaches you a lot about what makes things feel useful.&lt;br&gt;
Turns out: it's mostly presentation. The loading messages that say "Consulting Kant..." make a single API call feel like a computation. The anxiety meters — completely fake — make the output feel measured. The mock-serious tone of the AI response makes nonsense feel authoritative.&lt;br&gt;
The real joke isn't the bad advice. It's that this is exactly what a lot of real products do. Just with better copy.&lt;br&gt;
That's a useful thing to know.&lt;/p&gt;

&lt;p&gt;Trusted by 0 users worldwide. We are not responsible for any decisions made, overthought, or abandoned as a result of using this tool.&lt;/p&gt;

</description>
      <category>418challenge</category>
      <category>devchallenge</category>
      <category>showdev</category>
      <category>googleaichallenge</category>
    </item>
  </channel>
</rss>
