Skip to content

Conversation

@ereslibre
Copy link
Collaborator

@ereslibre ereslibre commented Jan 22, 2026

Enable ACP (Agent Communication Protocol) support for Gemini by leveraging the native --experimental-acp flag in the Gemini CLI. This continues the ACP migration by adding Gemini alongside Claude as an ACP-enabled tool.

Related: #405

Changes

  • Added Gemini to the ACP-enabled tools list in the run command
  • Implemented getACPSpawnCommand() case for Gemini using the native --experimental-acp flag
  • Removed the legacy recoverFromError() method from GeminiAgent as ACP handles error recovery differently
  • Removed containsGeminiYoloWarning() utility and its associated tests (no longer needed with ACP mode)
  • Updated test script to use --passWithNoTests flag since agent tests were removed

Notes

The Gemini CLI natively supports ACP via the --experimental-acp flag, unlike Claude which requires the @zed-industries/claude-code-acp package. This simplifies the Gemini integration significantly.

@ereslibre ereslibre self-assigned this Jan 22, 2026
@ereslibre ereslibre marked this pull request as draft January 22, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants