• Home
  • About
  • Projects
  • Experience
  • Posts
⬡
Sharad Bhadait

Building products that matter.

© 2026 Sharad. All rights reserved.

Back to Projects
View Live Project

AI Coding Agent

An AI coding agent that clones a GitHub repository into an isolated Vercel Sandbox, explores and edits the codebase with agentic tools, and opens a pull request — powered by DeepSeek V4.1 Flash via OpenRouter.

Overview

Connect your GitHub account, pick a repository, and describe the change you want. The agent explores the codebase, plans the edits, applies them inside an isolated sandbox, and raises a pull request through the GitHub API — no local setup required.

Key Features

  • GitHub OAuth – Sign in with GitHub and clone any repository you have access to
  • Isolated Execution – Every task runs in a Vercel Sandbox, keeping generated code away from the host environment
  • Agentic Tool Use – The model reads files, searches the codebase, runs commands, and edits code step by step
  • Pull Request Automation – Changes land on a new branch and are opened as a PR via the GitHub API
  • Live Progress – Watch the agent work in real time as it explores and modifies the repository

Tech Stack

  • AI Model: DeepSeek V4.1 Flash via OpenRouter
  • AI SDK: Vercel AI SDK with agentic tool calling
  • Runtime: Vercel Sandbox for isolated code execution
  • Integration: GitHub OAuth and GitHub API for repository access and PR creation
  • Frontend: Next.js with TypeScript

How It Works

  1. Sign in with GitHub and select a repository
  2. Describe the change you want in natural language
  3. The agent clones the repo in a sandbox and explores the codebase
  4. It plans and applies the edits, running commands to verify its work
  5. A pull request is created with the finished changes

Architecture

The system uses a multi-step pipeline:

  • Sandbox Setup – The selected repository is cloned into an isolated Vercel Sandbox
  • Context Building – The agent searches and reads relevant files and dependencies
  • Change Planning – The model plans the modification step by step
  • Execution – Edits and commands run inside the sandbox with full version control
  • Delivery – Changes are pushed to a branch and opened as a pull request

Built with a focus on developer productivity and agentic AI.