Pain: Seniors re-read every diff. Obvious bugs eat the first twenty minutes. Architecture review waits in the queue.
Fix: kramlipi code-review — first pass on every PR/MR. Inline comments on GitHub. Findings on GitLab & Azure. Your runner, your LLM key.
Free try: download binary → doctor –provider-test → one free run.
Get started (2 min) · Marketplace Action
| Platform | What you get | Install time |
|---|---|---|
| GitHub Actions | Inline review comments on the PR | ~2 min |
| GitLab CI | MR diff review + summary note | ~5 min |
| Azure DevOps | PR diff review + pipeline artifact | ~5 min |
| Any CI / laptop | Review a .diff file | 1 command |
Before you paste — one secret
Add under your CI secrets / variables (never commit to git):
| Name | Purpose |
|---|---|
| GEMINI_API_KEY | Recommended — Google AI Studio |
| ANTHROPIC_API_KEY | Optional — Claude models |
| OPENAI_API_KEY | Optional — GPT models |
| CODE_AGENT_MODEL | Optional; default gemini/gemini-3.1-flash-lite |
GitHub Actions — AI code review
Best for: teams who want inline comments on changed lines — before a senior opens the file.
Option A — Marketplace Action (easiest)
Install: kramlipi CI Repair
Save as .github/workflows/kramlipi-code-review.yml — copy everything in the gray box:
name: AI code review (kramlipi)
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
permissions:
contents: read
pull-requests: write
jobs:
review:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: kramlipi/code-agent-action@v0.1.7
with:
expert: code-review
version: code-agent-v0.1.7
pr: ${{ github.event.pull_request.number }}
env:
GH_TOKEN: ${{ github.token }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
CODE_AGENT_MODEL: gemini/gemini-3.1-flash-lite
Steps: Repo → Settings → Secrets → Actions → add GEMINI_API_KEY → commit workflow → open a PR.
Live sample: OrderManagementSystem workflow
Option B — Standalone binary
name: PR code review (kramlipi)
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
pull-requests: write
jobs:
code-review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install code-agent v0.1.7
run: |
curl -fsSL -o /usr/local/bin/code-agent \
"https://github.com/kramlipi/code-agent-binaries/releases/download/code-agent-v0.1.7/code-agent-v0.1.7-linux"
chmod +x /usr/local/bin/code-agent
- name: Review PR
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
CODE_AGENT_MODEL: gemini/gemini-3.1-flash-lite
run: |
code-agent experts run code-review \
--pr ${{ github.event.pull_request.number }} \
-w .
Preview without posting: add –dry-run to the command.
GitLab CI — AI code review
Add to .gitlab-ci.yml (CI/CD variable GEMINI_API_KEY, masked):
stages:
- review
ai-code-review:
stage: review
image: ubuntu:24.04
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
before_script:
- apt-get update -qq && apt-get install -y -qq curl git
- |
curl -fsSL -o /usr/local/bin/code-agent \
"https://github.com/kramlipi/code-agent-binaries/releases/download/code-agent-v0.1.7/code-agent-v0.1.7-linux"
chmod +x /usr/local/bin/code-agent
script:
- git fetch origin "${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}" --depth=50 || true
- git diff "origin/${CI_MERGE_REQUEST_TARGET_BRANCH_NAME}...HEAD" > /tmp/mr.diff
- export CODE_AGENT_MODEL="${CODE_AGENT_MODEL:-gemini/gemini-3.1-flash-lite}"
- code-agent experts run code-review --diff-file /tmp/mr.diff -w .
artifacts:
when: always
paths:
- .code-agent/runs/
expire_in: 7 days
Azure DevOps — AI code review
Save as azure-pipelines-code-review.yml. Variable: GEMINI_API_KEY (secret).
trigger: none
pr:
branches:
include:
- "*"
pool:
vmImage: ubuntu-latest
steps:
- checkout: self
fetchDepth: 0
- bash: |
curl -fsSL -o /usr/local/bin/code-agent \
"https://github.com/kramlipi/code-agent-binaries/releases/download/code-agent-v0.1.7/code-agent-v0.1.7-linux"
chmod +x /usr/local/bin/code-agent
displayName: Install code-agent v0.1.7
- bash: |
TARGET="${SYSTEM_PULLREQUEST_TARGETBRANCH:-main}"
TARGET="${TARGET#refs/heads/}"
git fetch origin "$TARGET" --depth=50 || true
git diff "origin/${TARGET}...HEAD" > /tmp/pr.diff
export CODE_AGENT_MODEL="${CODE_AGENT_MODEL:-gemini/gemini-3.1-flash-lite}"
code-agent experts run code-review --diff-file /tmp/pr.diff -w .
displayName: Run AI code review
env:
GEMINI_API_KEY: $(GEMINI_API_KEY)
- task: PublishPipelineArtifact@1
inputs:
targetPath: .code-agent/runs
artifact: code-review-findings
condition: always()
Local & any CI platform
# GitHub PR — inline comments export GEMINI_API_KEY=... export GH_TOKEN=... code-agent experts run code-review --pr 42 -w . # Preview only code-agent experts run code-review --pr 42 --dry-run -w . # Any platform — diff file git diff main...HEAD > /tmp/mr.diff code-agent experts run code-review --diff-file /tmp/mr.diff -w .
Download: code-agent v0.1.7
FAQ
Does kramlipi replace human review? No — first pass only.
Free tier? Yes for evaluation. Get started
Questions? cluevion@kramlipi.com