Gerrit-AI Docker Container from GerritForge

21 views
Skip to first unread message

Luca Milanesio

unread,
May 20, 2026, 4:24:36 PM (3 days ago) May 20
to Repo and Gerrit Discussion, Luca Milanesio
Hi all,

I’ve created a small explainer video [1] on how to use Gerrit v3.14’s AI Review Agent chat with the GerritForge’s AI Review Agent provider [2].

* Why Use the AI Review Agent Provider, after all the plugins developed in the past 3 years?

Gerrit v3.14 introduces a transformative native AI chat interface directly within the change screen. The GerritForge’s AI Review Agent provider [2] plugin acts as the intelligent backend engine for that interface. Instead of switching contexts to a separate browser tab, or polluting the changes with tons of AI-generated comments, it empowers reviewers and authors can query an AI directly from the change screen and decide what it makes sense or not to become an actual comment.

* Universal LLM Integration

We designed this provider to be completely agnostic, meaning you are never locked into a single ecosystem. It serves as a unified adapter for:
• Google Gemini
• OpenAI’s ChatGPT
• Anthropic Claude
• OpenRouter: service that proxy the access to 300+ LLMs transparently
• Local / On-Premise Models: Self-hosted infrastructure via Ollama or private cloud endpoints.

All the integrations are made through simple Groovy scripting, see [3], and they are all Open-Source Apache 2.0.
Adding support for more LLMs and API is really easy and you are acouranged to do so and contribute your integrations.

The AI Review Agent provider uses the x-plugins integration system for plugging any additional integration dynamically at runtime.

* Getting started

Running the demo container [4] is super-easy, just following these steps:

1. docker run -d -p 80:8080 -h localhost --rm --name gerrit-ai gerritforge/gerrit-ai
2. docker logs -f gerrit-ai
3. (when the "Gerrit Code Review 3.14.0 ready” appears at 2.) open http://localhost <http://localhost/>
4. Click on the Configure AI button
5. Select your AI model, add your API Key and click the Add button
6. Open any change and click on the “Review Agent” action on the toolbar of the change screen

— * —

Hope you’ll enjoy the video at [1] and contribute to the plugin and add support for more APIs and LLMs !

Luca.

[1] https://youtu.be/YWZBXnvFrlc
[2] https://github.com/GerritForge/ai-review-agent-provider
[3] https://gerrit.googlesource.com/plugins/scripts/+/refs/heads/stable-3.14/ai/
[4] https://hub.docker.com/r/gerritforge/gerrit-ai


Reply all
Reply to author
Forward
0 new messages