gemini-api-cli — 在 Claude Code/Codex 等 Harness 中使用 Gemini
- URL: https://x.com/leo_xiaolei/status/2127235061473030601
- Date Saved: 2026-11-30
- Source: X (@leo_xiaolei)
- Tags: dev-tools, ai-engineering
- Repo: https://github.com/google-gemini/gemini-api-cli
Summary
Google 官方發布的 gemini-api-cli,讓 Gemini 模型可以在各種 AI coding harness 中使用:
支援的 Harness:
- Claude Code
- Codex
- Antigravity
- OpenClaw
- Hermes
- 其他任何支援的 Harness
重點:
- Google 官方出品,無封號風險
- 實現 Claude Code + Gemini 4 的組合使用
- 讓用戶在自己偏好的 coding agent 中用 Gemini 模型