Skip to content
Back to projects
Screenshot of Code Sage AI
AI Full-stack

Code Sage AI

AI-powered code review tool using Gemini API with real-time bug detection and improvement suggestions.

Tech Stack

Next.js TypeScript Gemini API Convex Tailwind CSS

Overview

Code Sage AI is an automated code analysis tool that provides developers with instant, AI-powered feedback on their code. Built with the Google Gemini API and a Convex real-time database, it identifies bugs, suggests improvements, and helps developers write cleaner code.

The Problem

Manual code review is time-consuming and inconsistent. Junior developers often wait hours or days for feedback on pull requests, slowing their learning cycle.

The Solution

An AI-powered code review tool that provides instant feedback. Paste your code, select a language, and get detailed analysis within seconds — including bug detection, performance suggestions, and best practice recommendations.

Key Features

  • Real-time code analysis powered by Google Gemini API
  • Bug detection with severity levels and fix suggestions
  • Code improvement recommendations with before/after examples
  • Persistent review history using Convex real-time database
  • Syntax highlighting for 20+ programming languages

Technical Decisions

Why Convex over a traditional database? Convex provides real-time subscriptions out of the box. When a review completes, the UI updates instantly without polling — critical for a tool where users expect immediate feedback.

Why Gemini over OpenAI? At the time of building, Gemini offered a more generous free tier and strong performance on code analysis tasks, making it ideal for a project that needed to be demo-friendly.