Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>AI PR Review
AI PR Review

AI PR Review

Giorgos Panagiotopoulos

|
2 installs
| (0) | Free
AI-powered pull-request review: sends the PR diff and resolved rules to an Azure OpenAI reasoning deployment and posts inline findings back to the PR.
Get it free

AI PR Review

Reviews the current pull request with an Azure OpenAI reasoning deployment and posts inline findings back to the PR. Add one task step to a Build Validation pipeline — no engine repository resource, no template extends.

What it does

On a PR build the task runs five stages in-process:

  1. Computes the PR diff (base = HEAD^1).
  2. Skips if this HEAD was already reviewed (SHA dedup).
  3. Grep-resolves connected neighbour files for extra context.
  4. Sends the diff + changed files + connected files + the resolved rule set to Azure OpenAI.
  5. Posts findings as inline PR threads and sets a PR status (failed on any CRITICAL).

It is a clean no-op on non-PR builds. Repo-specific rules live in <repo>/.ai-review/ (rules.yaml + REVIEW_RULES.md); a repo with no overlay still gets the stack-neutral security floor.

Usage

steps:
  - checkout: self
    fetchDepth: 2
    persistCredentials: true

  - task: AIPRReview@1
    inputs:
      aoaiConnection: 'AzureOpenAI-PRReview'

Create an Azure OpenAI PR Review service connection (endpoint URL + API key) and grant the Build Service Contribute to pull requests on the repo. See the repository README for full setup.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft