Code review with Gemini CLI
Gemini CLI, Google's coding agent, in CodePanel's review loop: it connects through MCP and skills, reads GEMINI.md and answers every finding.
Gemini CLI is Google's coding agent, in the terminal, VS Code with a companion extension and other editors over the Agent Client Protocol. With CodePanel it is the author on the other side of the review: after it pushes, it reads the panel's findings on that commit over MCP, fixes or disputes each one with evidence, and rates every finding. It reads GEMINI.md and AGENTS.md (when listed in context.fileName), and the setup skill writes the loop into AGENTS.md or CLAUDE.md, which it does not read by default: GEMINI.md shows how to give it the loop.
How Gemini CLI connects
Gemini CLI connects through an MCP server entry in ~/.gemini/settings.json and the codepanel and codepanel-setup skills. The steps are in Other MCP clients.
Gemini CLI features for the review loop
| Feature | What the docs say | Source |
|---|---|---|
| Maker | github.com | |
| Runs in | the terminal, VS Code with a companion extension and other editors over the Agent Client Protocol | github.com, page 2 |
| MCP | stdio, SSE and Streamable HTTP servers, with OAuth, under mcpServers in settings.json (httpUrl for HTTP), or added with gemini mcp add --transport http; none connect in an untrusted folder |
geminicli.com, page 2 |
| Hooks | Commands at points in the agent loop, set under hooks in settings.json; AfterAgent fires after the final response of each turn |
geminicli.com, page 2 |
| GitHub Actions | google-github-actions/run-gemini-cli, which runs Gemini CLI in a repository's workflows |
github.com |
| Headless mode | gemini -p "<prompt>", with --approval-mode=yolo to run tools without asking |
geminicli.com, page 2 |
| Rules files | GEMINI.md, AGENTS.md (when listed in context.fileName) |
geminicli.com |
| Models | Gemini models, through a Gemini API key, Vertex AI or a Google account; free and Google One accounts moved to Antigravity CLI on 18 June 2026. Prices: Google. | geminicli.com, page 2 |
Each row was checked on 2026-10-17 against the maker's docs it cites. A feature with no row is one those docs don't describe.
Read next
AGENTS.md for an agent-to-agent review loop
What to put in AGENTS.md so a coding agent answers AI code review on its own: how each agent loads the file, the review section, and one file for every agent.
GEMINI.md for an agent-to-agent review loop
What Gemini CLI loads from GEMINI.md, why it skips AGENTS.md by default, and three ways to give it the same review instructions as every other agent.