How to Build an AI Code Review Agent - Daksh Gupta, Greptile

AI Engineer18m 27s
0 comments · 0 votesOpen discussionClose discussion
Sign in to join the discussion

    Video summary

    Daksh Gupta explains why a basic pull-request webhook, sandboxed coding agentAn AI agent sandbox is an isolated execution environment that limits which files, processes, networks, credentials, and external systems an agent can access. and review APIAI-assisted code review uses AI to inspect software changes for defects, risks, standards, missing tests, and opportunities for improvement while human reviewers retain responsibility. can produce feedback but still miss important bugs, lack codebase contextRepository context is the relevant source, configuration, history, documentation, dependencies, and worktree state needed to understand a software task. and generate excessive nitpicks. Daksh Gupta recommends focusing review prompts on failure types that matter to the application and evaluating changes against historical incident-causing pull requests.

    Daksh Gupta describes using a different model family for review, building a more precise codebase knowledge layer and supplying documentation and tickets to capture author intent. Daksh Gupta distinguishes apparently correct code from code that meets the requested behavior, and explains why a review cannot prove the absence of bugs.

    Daksh Gupta then outlines end-to-end testing in dependency-rich environments and routing simpler subtasksModel selection chooses the AI model whose capability, quality, cost, speed, safety, and operating constraints best fit a task. to less expensive models. Daksh Gupta stresses the need to reevaluate those changes against a representative datasetWorkflow-specific AI evaluation tests systems using the tasks, tools, constraints, and outcomes of a real working process.. Catch-rate, cost and product-scale figures remain claims from the presentation; promotional customer examples, product invitations and sweeping claims that testing is solved are omitted.

    Original YouTube thumbnailWatch on YouTube

    Video topic coverage

    Relative topic emphasis, normalised so the strongest group scores 100.

    • Agents & workflows75
    • Coding & tools100
    • Models & learning25
    • Infrastructure & compute25
    • Research & evaluation70
    • Safety & security0
    • Business & productivity10
    • Creative & media0
    • Robotics & perception0
    • Society & policy0

    Based on the reviewed summary and Knowledge evidence, not measured speaking time. Groups can overlap and scores do not need to total 100. The blue plot connects neighbouring topic values in axis order, including zeros.

    Share this page

    Daksh Gupta against black beside the blue and white headline “AI CODE REVIEW”. Framed in blue with WWW.ARTIFICIAL-INTELLIGENCE.VIDEO, 26 October 2026 and duration 18m 27s.

    Daksh Gupta explains how targeted prompts, incident-based evaluation, codebase context and runtime tests can improve an AI review agent while keeping cost and false-positive feedback under control.