I Made an AI Agent That Codes Like a Senior Developer, Here's How


Hey Reader,

Ever Wish You Had a Senior Engineer Reviewing Your Code 24/7? 🧠
Now you do and it’s powered by AI.

This is Part 1 of my new AI Agent Series where we’re building and deploying real AI agents that can think, analyze, and act like a senior software engineer 🤓.

This project is called AI Code Reviewer and it’s not just a fancy chatbot. It remembers past messages, gives contextual feedback and helps you ship better code, faster.

Here's the Tech Stack:

→ ⚡ Next.js 15 + React 19

→ 🧠 Convex Agents + Agentic Workflows

→ 🤖 GPT-4o-mini via OpenAI

→ 📜 TypeScript + Zod for safe inputs/outputs

→ 🎨 Tailwind CSS v4 + Shadcn UI

You can build it in less than an hour with this step-by-step guide and codebase.

🎥 Watch the walkthrough here:

video preview

🍿 Weekly Snack: Create Your First AI Agent

🤖 What Are Agents, Really? I like to think of AI agents as smart minions. You give them a goal, some memory, and a few tools and they go off to work.

They’re not like chatbots that just reply.

Agents think, decide, and act — and they improve with each interaction. They can call APIs, remember context, and adapt to messy tasks.

In this project, we define our minion aka Agent like this:

This Agent is a AI Coding Agent.

It will give feedback, catch bugs and improve your code quality like a Senior Software Engineer.

→ Agent is from Convex’s AI SDK. It wraps everything needed to create a smart, stateful minion.

→ chat uses GPT-4o-mini to process conversations.

→ textEmbedding allows semantic understanding and memory across sessions.

→ instructions tell the minion what role to play (in this case, act like a senior code reviewer).

→ tools is where you can pass in API functions your agent can use, like file search, web search or documentation lookups.

🔥 Agent is Powered by OpenAI and Convex

If you'd like a more in-depth explanation then check out these video series

🚀 Latest Frontend News

AI Code Review Agent Tweet (Share it further)

React introduced a few exciting features in experimental mode such as,

  • Shipped View Transitions that makes it easier to add animations to UI transitions in your app
  • Shipped Activity to allow components to be visually hidden and deprioritized, preserving UI state

React is working on an Official MCP Server, check it out

Upstash introduced Caching for Drizzle ORM, with automatic invalidation and faster queries

Next.js Deployment Docs just got a major revamp — removing Vercel bias and giving more balanced provider guidance 👏

Want to build your agents on the edge? Check out this Platform For Building Agents on CloudFlare

FREE

🔥 I just made a few lessons completely free in the Modern Full Stack Next.js Course on Mastering Data Fetching, dive into real-world examples for free.

ICYMI, we covered The Most Overlooked Feature in Next.js 15 in last week's newsletter.

🎥 Weekly Youtube Videos

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

Stop using v0, try this Instead

video preview

I shipped my First SaaS, Here's What I learned

video preview


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

🔥 Love it!

😐 It’s okay

👎 Not good



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
Next.js 16 Cheatsheet

Hey Reader, Last week I told you I was about to drop something big… Well, today’s the day. 🎉 I’ve been building something to finally clear the fog around Next.js 16 - all the new caching rules, data-fetching patterns, rendering behaviors, and how Server Components actually work in real apps. Introducing your Next.js 16 Cheatsheet + Free 3-Part Mini-Course 💫 👉 Click here to get it (free) The moment you download it, you’ll unlock a short email course that starts tomorrow. It’s designed to help...

use cache:remote

Hey Reader, I’ve been heads-down the last few months, building something special 🤫. It’s for every developer who’s ever felt like Next.js changes faster than they can keep up. Different caching rules. New folders. New ways to fetch data. If that sounds familiar… this one’s for you. Next week, I’m dropping something big, something that’ll help you finally understand how all the new pieces in Next.js 16 fit together. No hype, no fluff - just the clarity you’ve been looking for. Make sure you...

use cache:remote

Hey Reader, I had the incredible opportunity to speak at the official Next.js Conf!. It’s been 2.5 years since I went full-time as a Tech Educator, and this moment truly feels like a milestone. In my talk, I share how I built a custom course platform using Next.js (the same one that powers Modern Full Stack Next.js Course) along with the lessons and challenges I faced along the way. If you'd like, you can watch the talk here! Weekly Snack: Caching Patterns for Dynamic Components in Next.js 🍿...