🍿 Frontend Snacks: Build an AI Agent that Talks to Your Database (No SQL Needed)


Hey Reader,

Ever been stuck writing the same SQL queries over and over again… not because they’re hard, but because someone on your team needed the data and didn’t know how to get it?

I’ve been there. Whether it’s marketing asking,

“How many users signed up last week?” or product wondering, “Did anyone actually use that new feature?”, the questions are simple but the friction to get answers is very real.

So I built something for that.

Introducing: the AI Agent that talks directly to your Postgres database 💽 and lets anyone on your team ask questions in plain English.

No dashboards. No SQL. No risk to production.

And yes, it works right inside your editor!

This is part of my AI Agent Series where I turn everyday dev pain into AI-powered workflows.

PRESENTED BY NEON

Neon Serverless Postgres - The database you love, on a Serverless platform that branches, scales to zero, and provisions instantly.

🍿 Weekly Snack: Blocking Pirated Referrers in Next.js

Recently, I discovered something super frustrating.

Some of my premium content for example, The Modern Full Stack Next.js Course is being served on pirated sites like literally copy-pasted and re-hosted without permission. As an educator who pours hours into crafting real, production-grade tutorials and videos, this really hit hard.

Creating great content isn’t easy. So seeing it passed around for free on shady torrent sites? Yeah, it sucks.

So I took action! 💪

To block requests coming from sketchy domains (like torrentbd.net in my case), I returned a 403 Forbidden in my Next.js middleware:

This middleware checks the referrer header of every request, and if it matches a known bad actor — it shuts the door. No access. No mercy. 🔒

🚀 Latest Frontend News

The Art of Accessibility is a new collection that breaks down core concepts, real-world use cases, and the tools you’ll actually use to build inclusive apps. If accessibility has felt overwhelming, this is the beginner-to-pro pipeline you’ve been waiting for.

Kibo UI just dropped and it’s huge for folks using shadcn/ui.
It’s a custom registry of accessible and composable components.

Retro UI is a nostalgia-packed design system that lets you build vintage UIs with modern dev DX.
Great for playful projects that need personality and yes, it supports Tailwind.

There’s now a drop-in shadcn/ui replacement for Tailwind's Typography plugin. shadcn-prose brings consistent, elegant markdown and prose styles — especially handy for blog-heavy or MDX projects.

Together AI’s Chat UI gives you free access to open-source models like DeepSeek R1 for coding, search, image generation, and analysis all through a sleek, single interface.
Feels like a research assistant in your browser.

🧠 LLM Gateway is the API gateway for all your LLM calls.
Route, manage, and analyze requests across multiple providers with one unified API — clean, centralized infra for AI projects.


⚛️ React Static is quietly making a comeback.
If you want a progressive static site generator that’s fast and React-first (but lighter than Next.js), this one’s worth exploring.

The Beauty of TanStack Router by TkDodo is more than just type safety. It’s a love letter to dev ergonomics, composability, and predictable routing and will probably make you rethink your routing setup.


🧪 Chrome 137 just landed two game-changing CSS features:

  • if() finally lets you write conditional logic in CSS
  • reading-flow improves layout behavior in vertical/horizontal flows

🐛 Error.isError is now Stage 4 in the TC39 process.
It’s a tiny but powerful change: now you can reliably check if a value is an error even in legacy environments without reaching for a helper.

🎥 Weekly Video Pick

Check it out and subscribe to my channel ↗️ for more Frontend, Leadership and Career Development content.

▶️ ​This One Line of Code Fixed My Slow Next.js App (4:52) ↗️

video preview

▶️ How I Built A Complete AI SaaS Agent From Scratch in JUST 13 Minutes!

video preview


What do you think of today's Newsletter? Simply click on one of the links below.

💛 You’re the best!

👌 Pretty Good

✔️ You can do better



All past newsletters
can be found here.

You can email me at me@kulkarniankita.com to advertise/sponsor the newsletter.

For those curious, I write all my emails using Convertkit.

Ankita Kulkarni

Join 9200+ subscribers reading by weekly personalized Newsletter that helps developers level up their skills through weekly Frontend and Leadership Snacks. You get a deep dive into a Tech topic, Actionable tips to excel in your career and a toolbox!

Read more from Ankita Kulkarni

Hey Reader, A couple years ago, I realized something unexpected: I was growing faster in my career not by doing more tutorials or chasing the next shiny framework but by finding a mentor. Want to level up your Next.js skills? → Find a mentor who has shipped production-ready apps. Want to get better at public speaking? → Find someone who’s done it before. At one point, I had multiple mentors, each helping me with something specific. Their guidance made all the difference and helped me focus.It...

AI SDK Wrapper

Hey Reader, A couple of weeks ago, I kicked off the AI Agent Series 🧠⚙️ and the response has been wild 🤯. So many of you said, “I had no idea it was this fast to build AI Agents”. I walkthrough simple AI Agent Frameworks like this to make it useful for you. AI Agent Framework No fluff, no abstractions. Just real tools, real use cases, and clean architecture that you can build on. And Today, we’re diving into an AI tool that every developer should be using and is probably missing from your...

The Subtle UX Trick That Makes Apps Feel Premium

Hey Reader, I’ve kicked off a brand-new series on YouTube: The AI Agent Series where you’ll learn how to build, deploy, and scale powerful AI Agents from scratch. To get started, check out the series here ↗. I listed down tasks I'd hire for and instead, built an AI Assistant Agent with Convex, WorkOS Authkit and Next.js. This week, I'm dropping a video showing 📹 How I shipped a AI Agent SaaS in just 13 minutes and we'll buid your own Assistant step-by-step. Now onto today’s sponsor 👇...