4 ms·
Hey HN I built AI Review https://github.com/Nikita-Filonov/ai-review https://github.com/Nikita-Filonov/ai-review — an open-source AI-powered code review tool t
by NikitaFilonov 11mo ago
Hey HN
I built AI Review https://github.com/Nikita-Filonov/ai-review https://github.com/Nikita-Filonov/ai-review — an open-source AI-powered code review tool that runs directly inside your CI/CD and works with any LLM provider. It adds inline comments, summary reviews, and even assistant-style replies directly into your Pull/Merge Requests — and you can set it up in about 15–30 minutes.
The key idea: AI Review is not a SaaS. It doesn't send your code anywhere and isn't tied to any vendor. You can run it:
- Locally via Ollama — no tokens, no VPN, no data leaves your infra
- With OpenAI, Claude, Gemini, or your own inference server
- On any CI/CD (GitHub, GitLab, Bitbucket, Jenkins, etc.)
- As a CLI tool, Docker image, or GitHub Action
A minimal GitLab CI job looks like this:
ai-review:
image: nikitafilonov/ai-review:latest
script:
- ai-review run
variables:
LLM__PROVIDER: "OPENAI"
LLM__META__MODEL: "gpt-4o-mini"
VCS__PROVIDER: "GITLAB"
VCS__PIPELINE__MERGE_REQUEST_ID: "$CI_MERGE_REQUEST_IID"
It supports 9 diff modes, fully customizable prompts, system-level review contracts, and artifacts for debugging. Reviews for medium-sized MRs typically complete in ~20–40s.
- GitHub: https://github.com/Nikita-Filonov/ai-review https://github.com/Nikita-Filonov/ai-review
- Docs & examples: https://github.com/Nikita-Filonov/ai-review/tree/main/docs https://github.com/Nikita-Filonov/ai-review/tree/main/docs
- Feedback: https://t.me/nikitafilonov https://t.me/nikitafilonov
Would love feedback or ideas — and if you find it useful, a on GitHub helps a lot