samirsawarkar

LLM Bridge — AI skill for Claude Code

AI community

Local OpenAI-compatible LLM API gateway for Google Antigravity (AGY), multi-account Gemini, Claude Code and Codex CLI.

How to install LLM Bridge

This entry records only its repository, not the path inside it, so there is no exact command to give. Open samirsawarkar/llm-bridge and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What LLM Bridge does

Local OpenAI-compatible LLM API gateway for Google Antigravity (AGY), multi-account Gemini, Claude Code and Codex CLI. Save Google accounts, list emails, route models, and connect Pi, Cline, Cursor or OpenClaw. Python, zero runtime dependencies.

Alternatives in AI

  • Llmwiki — Open Source Implementation of Karpathy's LLM Wiki 1.5k ★
  • Lighthouse MCP — Allows AI assistants such as Amp/Cline/Cursor/Claude Code/Codex/GitHub Copilot to use Google's lighthouse tool 214 ★
  • Claude Antigravity Agents — A Claude Code skill that delegates coding, review, analysis, and research jobs to Google Antigravity CLI (agy) 137 ★

README

LLM Bridge — Multi-account Gemini, Claude Code & Codex API Gateway

[![CI](https://github.com/samirsawarkar/llm-bridge/actions/workflows/ci.yml/badge.svg)](https://github.com/samirsawarkar/llm-bridge/actions) [![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![Zero Dependencies](https://img.shields.io/badge/dependencies-0%20(stdlib%20only)-brightgreen.svg)](#architecture)

**LLM Bridge is a local OpenAI-compatible LLM proxy for Google Antigravity (AGY), Gemini, Claude Code, and Codex CLI logins.** Save multiple Google accounts, see their emails, and choose an account for each request. Python 3.8+, zero runtime dependencies.

Point Pi, Cline, Cursor, Continue, Open WebUI, Hermes, OpenClaw, or an API client at `http://127.0.0.1:8000/v1`. The gateway supports OpenAI Chat Completions, Anthropic Messages, and OpenAI Responses. It runs on your machine and sends inference requests to the selected provider's cloud service.

Named saved accounts currently apply to AGY. Codex and Claude use their active CLI login. There is no fixed AGY account-count limit and no automatic account switching on quota errors.

[Install](#quickstart) · [Add Google accounts](#keep-multiple-google--agy-accounts-connected) · [All commands](docs/commands.md) · [Pi setup](docs/pi.md) · [Troubleshooting](docs/troubleshooting.md)

Using subscription OAuth tokens from third-party clients may violate Anthropic's and OpenAI's terms of service. Your account, your call.

Quickstart

git clone https://github.com/samirsawarkar/llm-bridge.git
cd llm-bridge
./install.sh           # uses pipx when available
agy                    # sign in to Google; exit AGY after login
llm-bridge accounts add personal
llm-bridge up
LLM Bridge  http://127.0.0.1:8000/v1
API key     sk-lb-3f9a2c…c2   (new; shown once — llm-bridge keys list to see masked)

Providers
  antigrav