- Inline comments on the exact lines where new findings landed.
- A summary comment at the top of the PR with the gate verdict and a link to the dashboard.
- AI-suggested fixes when the engine proposes one — posted as a commit-suggestion block you can apply from the PR.
Prerequisites
AI code review is opt-in and needs an AI model connected first. Two one-time setup steps, then turn it on per repo:Connect your AI model (TigerGuard AI)
Go to Integrations → TigerGuard AI and add your LLM provider — bring your own model (OpenAI, Anthropic, or a compatible endpoint). This is the org-wide AI configuration TigerGate uses to generate review comments and fix suggestions; AI review can’t run without it.
Connect a code provider
Connect GitHub, GitLab, Azure DevOps, or Bitbucket with Pull Request → Read & Write so TigerGate can post comments back. See Connect a provider.
Enable AI review for the repo (off by default)
Review is disabled for every repository until you turn it on — it spends LLM tokens, so it’s opt-in. Go to Organization Settings → Product Settings → Code Security → PR Review, find the repository, and toggle PR review on. Repeat for each repo you want reviewed.
How it runs
AI code review runs two ways — use either or both:- Automatic — via the code connector. Connect a code provider with PR-write permission and TigerGate reviews every pull request automatically, server-side. The provider webhook triggers the scan and the review posts back to the PR — no CI wiring, no pipeline changes. Uses your org-level AI model. Review is off by default — enable it per repo first (see Prerequisites).
- In your CI/CD pipeline. Add
tigergate code-reviewas a pipeline step to review the current PR/MR diff and post inline comments — on your own LLM key (TG_LLM_TOKEN/TG_LLM_MODEL/ …). Use it when you want the review inside an existing gated build. See the CLI reference.
What it looks like
A typical PR will get one summary comment + one inline comment per new finding. Findings already on the base branch are not re-commented. In a monorepo scanned per component, each component posts its own status check (TigerGate Security (web), TigerGate Security (api)) and its own summary comment, so components never overwrite each other’s verdict on the same commit. Require the per-component contexts in branch protection rather than the single repo-wide one.
When it works (per provider)
AI fix suggestions are generated for every supported provider and posted as a “commit suggestion” you can apply in one click — on GitHub, GitLab, Azure DevOps, and Bitbucket.| Provider | Inline comments | AI fix suggestion | One-click apply | Setup |
|---|---|---|---|---|
| GitHub (App) | Yes | Yes | Yes | Default — install the GitHub App |
| GitHub (PAT) | Yes | Yes | Yes | PAT with repo + read:org scopes |
| GitLab | Yes | Yes | Yes | Token with api scope |
| Azure DevOps | Yes | Yes | Yes | PAT with Pull Request Threads RW |
| Bitbucket | Yes | Yes | Yes | App password with PR Read+Write |