Intelligent quality gate for your GitLab pipelines
LLM sees only changed lines. No idea what functions return, what types are used, or what other modules do.
High false-positive rate
LLM receives function signatures, class definitions, imported modules, and type info from across the codebase.
Precise, actionable findings
Anthropic Claude / OpenAI — maximum reasoning, zero infrastructure.
Ollama / vLLM — zero data leakage, code stays under your organization. Ideal for NDA / FinTech.
# Auto-generate style guide from your repo
python scripts/learn_style.py \
--project-path /your/project \
--output .project_style.md
# Project Style Guide (auto-generated)
## Naming
- Functions: snake_case
- Classes: PascalCase
- Constants: SCREAMING_SNAKE_CASE
## Error Handling
- Specific exception types only
- Always log, never silently catch
# .gitlab-ci.yml
stages:
- code-quality
- review
python_code_quality:
stage: code-quality
image: python:3.12-bullseye
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
cache:
paths:
- .venv/
before_script:
- python3 -m venv .venv
- source .venv/bin/activate
- pip install --quiet yapf pylint
- git fetch --depth 100 origin $CI_MERGE_REQUEST_TARGET_BRANCH_NAME:$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
- export PYTHONPATH=$(pwd):$PYTHONPATH
script:
- bash ci/code_quality.sh
ai_code_review:
stage: review
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
variables:
PROJECT_STYLE_PATH: "$CI_PROJECT_DIR/.project_style.md"
script:
- echo "🚀 Starting AI Code Review via SSH..."
- rm -rf /tmp/reviewer
- git clone {llm reviewer project} /tmp/reviewer
- pip install --quiet --break-system-packages -r /tmp/reviewer/requirements.txt || pip install --quiet -r /tmp/reviewer/requirements.txt
- cd /tmp/reviewer
- python3 main.py
Instant feedback on every MR — no waiting for human reviewers.
Consistent standards enforced 24/7 across all projects.
Security net — catches vulnerabilities before they reach production.
Cost efficient — trivial errors caught without LLM, AI only for deep analysis.
Any GitLab project — 5-minute integration, zero infra changes.
Self-hosted LLMs — scale horizontally with your own GPU fleet.
Team-wide rollout — one reviewer repo serves all projects.
Reply to AI comments directly in the MR thread. Discuss the context of a specific finding, ask for clarification, or refine the suggestion — a real conversation with the agent inside GitLab.
Accept an AI suggestion and automatically commit the fix straight from GitLab — no local checkout needed. Review → Accept → Auto-commit → Done.
Extend AST context extraction to JavaScript/TypeScript, Go, and Java. Same deep cross-file analysis across your entire technology stack.