gemini-claude-bridge
Description
Production-grade **Gemini ↔ Anthropic Claude** protocol converter.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
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
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11