Gemini Claude Bridge — Development skill for Claude Code
new Gemini-to-Claude protocol converter for using Gemini models as Claude Code backend.
How to install Gemini Claude Bridge
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open weijiafu14/gemini-claude-bridge and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Gemini Claude Bridge does
Production-grade **Gemini ↔ Anthropic Claude** protocol converter.
Alternatives in Development
- Antigravity Claude Proxy — Proxy that exposes Antigravity provided claude / gemini models, so we can use them in Claude Code and OpenClaw 3.5k ★
- Hive — Browser-native hive-mind for CLI coding agents — Claude Code, Codex, Gemini, and OpenCode collaborate as real 473 ★
- Claude Gemini Bridge — Intelligent integration between Claude Code and Google Gemini for large-scale code analysis 386 ★
README
gemini-claude-bridge
Production-grade **Gemini ↔ Anthropic Claude** protocol converter.
Two ways to use it:
- Claude Code Proxy — drop-in replacement,
ANTHROPIC_BASE_URL=http://localhost:8082 claude - Python Library —
pip install gemini-claude-bridge, convert requests/responses in your own app
Why this exists
LiteLLM has 3 open bugs in Gemini↔Claude conversion that break real-world tool calling:
| Problem | LiteLLM Issue | This library |
|---|---|---|
| Multi-turn tool calling + thinking crashes | #17949 (3+ months) | thoughtSignature file persistence + missing-signature recovery |
| tool_result images silently dropped | #23712 | Image separation + functionResponse.parts nesting |
| No streaming tool arguments | #22206 | partialArgs state machine + incremental JSON delta |
Usage 1: Claude Code Proxy
Quick start
pip install "gemini-claude-bridge[proxy]"
# Start proxy (default port 8082)
GEMINI_API_KEY=your-key python -m examples.proxy_server
# In another terminal — use Claude Code with Gemini backend
ANTHROPIC_BASE_URL=http://localhost:8082 ANTHROPIC_API_KEY=dummy claude
Docker
# .env file
GEMINI_API_KEY=your-key
BIG_MODEL=gemini-2.5-pro
SMALL_MODEL=gemini-2.5-flash
docker compose up -d
ANTHROPIC_BASE_URL=http://localhost:8082 claude
Configuration
| Env var | Default | Description |
|---|---|---|
GEMINI_API_KEY |
(required) | Google AI Studio API key |
GEMINI_API_BASE_URL |
https://generativelanguage.googleapis.com |
Gemini API base URL (for custom endpoints / Vertex) |
BIG_MODEL |
gemini-2.5-flash |
Model for opus/sonnet requests |
SMALL_MODEL |
gemini-2.5-flash |
Model for haiku requests |
...
Related Skills
Claude Zen
Run Claude Code on free models through OpenCode Zen. Local Anthropic-protocol bridge + one-command install.
Openagent Bridge
Multi-backend plugin for Claude Code + Codex CLI. Bridges to Gemini (stable) and Antigravity (experimental). L
Litellm Skills
Agent Skills for managing live LiteLLM proxy deployments — users, teams, keys, orgs, models, MCP servers, agen
Alan Code Agent
Open-source Python implementation of a Claude-Code-like agent (Gemini CLI, Codex, Copilot...). Usable in CLI,
Litellm Rust
Minimal Rust SDK port of LiteLLM – unified async client for OpenAI, Anthropic, Gemini, and xAI
Bugdex
A monster-battle game mod for Claude Code: failing tests become wild bugs, fixes earn XP, and regression tests
Related Agents
IDE Debugger
Autonomous debugging agent that uses IDE bridge debug and terminal tools. Sets breakpoints, evaluates expressi
Be Debug
Diagnoses and fixes backend bugs. Given an error, stack trace, or unexpected behaviour, finds the root cause a
Content To Video
Bridge agent that combines Gemini research analysis with video synthesis. Analyzes content with video-research