# Running Gemini CLI Inside Remocode
Google's Gemini CLI is a powerful command-line coding agent, and Remocode's agent auto-detection makes it a seamless experience. This guide covers everything from initial setup to advanced workflow tips.
Setting Up Gemini CLI Detection
Open AI Settings with Cmd+Shift+A and navigate to the Agents tab. Remocode detects Gemini CLI through its distinctive terminal output patterns:
- ●Prompt marker: The right angle bracket character that indicates Gemini CLI is waiting for input.
- ●Response marker: The four-pointed star symbol that Gemini CLI uses when generating responses.
Once enabled, Remocode automatically recognizes when Gemini CLI is running in any terminal pane and activates its monitoring features.
Configuring Your Google AI Provider
Switch to the Provider tab and select Google as your AI provider. Enter your Google AI API key and choose from the available Gemini models:
- ●Gemini 3.1 Pro — The latest and most capable model, excellent for complex multi-file refactoring and architectural decisions.
- ●Gemini 3 Flash — Fast and efficient, great for everyday coding tasks and quick iterations.
- ●Gemini 2.5 Pro — Strong reasoning and code generation with proven reliability.
- ●Gemini 2.5 Flash — Balanced speed and capability for general-purpose coding.
- ●Gemini 2.0 Flash — Lightweight and fast for simple tasks.
- ●Gemini 1.5 Pro and Gemini 1.5 Flash — Previous generation models, still solid performers.
Dual-Model Strategy with Gemini
A cost-effective approach is to use Gemini 3.1 Pro as your Chat Model for complex interactions and Gemini 2.0 Flash as your Monitor Model for continuous background analysis. The Monitor Model runs cheaper queries to track progress and detect issues while the Chat Model handles the heavy lifting.
Question Detection and Alerts
When Gemini CLI asks for clarification or confirmation during a coding session, Remocode catches the question and displays it in the AI Panel. You can respond directly from there without switching to the terminal pane where Gemini CLI is running.
Enable Telegram alert forwarding to get notified on your phone when Gemini CLI needs your input. This is particularly useful for long-running tasks where the agent may encounter decisions it cannot make autonomously.
Running Security Audits
After Gemini CLI completes a batch of code changes, use Remocode's audit command to run an automated security review. The audit scans the changes and categorizes findings by severity:
- ●CRITICAL — Immediate action required
- ●HIGH — Should be addressed before deployment
- ●MEDIUM — Worth fixing in the current sprint
- ●LOW — Minor improvements to consider
Each audit also produces an overall letter grade from A to F, giving you a quick snapshot of the security posture.
Workflow Recommendations
Pair Gemini CLI with Remocode's delivery check. After Gemini CLI implements an API endpoint or feature, run the delivery check command. Remocode's AI generates curl-based tests, executes them, and reports whether each test passed, partially passed, or failed.
Use custom commands for repeated tasks. In the Commands tab, define custom prompts tailored to your Gemini CLI workflows. For instance, create a "review-types" command that asks the AI to analyze TypeScript type safety in recent changes.
Monitor with standup reports. Configure the Standup tab to generate scheduled summaries of what Gemini CLI has accomplished across your sessions. These reports are invaluable for keeping track of progress on longer projects.
Remocode's deep integration with Gemini CLI transforms it from a standalone tool into a fully monitored, alerting-enabled coding assistant within your terminal workflow.
Ready to try Remocode?
Start with a 7-day Pro trial — no credit card required. Download now and start coding with AI from anywhere.
Download Remocodefor macOS