hermes-antigravity
zeyxx/hermes-antigravity
Google Antigravity and Cloud Code Assist inference provider plugin for Hermes Agent using OAuth sign-in
hermes-antigravity is a native inference provider plugin that connects Hermes Agent to Google Antigravity / Cloud Code Assist. It signs in with a Google account over OAuth and runs Gemini and Claude models with streaming and tool calling.
What hermes-antigravity does
hermes-antigravity is a native inference provider plugin that connects Hermes Agent to Google Antigravity / Cloud Code Assist, running Gemini and Claude models with streaming, native tool calling and reasoning tokens. It targets a gap: Google does not issue API keys for consumer or student subscriptions such as Gemini Pro Student, Gemini Advanced or Google One AI Premium, so Hermes could previously reach Google only through AI Studio API keys or Vertex AI service accounts. The plugin signs in with your Google account using OAuth 2.0 PKCE and refreshes tokens automatically.
It is built as a ProviderProfile with auth.py for OAuth, translator.py for converting between OpenAI and Google formats and parsing SSE chunks, and client.py for the streaming transport with host failover. It lists more than 30 models, including gemini-3.8-flash, gemini-3.1-pro, gemini-2.5-pro, claude-sonnet-4-6 and claude-opus-4-6-thinking, routes public model IDs to the suffixed runtime IDs that carry quota, and clamps max_tokens per model family. It is a Python adaptation of the pi-antigravity extension rather than a fork.
Key features
- OAuth 2.0 PKCE sign-in with a Google account and automatic token refresh
- Live model discovery of more than 30 Gemini and Claude models
- Streaming, native tool calling and reasoning or thinking tokens
- Routing of public model IDs to the runtime IDs that carry quota
- Session envelope with stable conversation IDs on every call
- Per-model output caps and wire constants tracked in UPSTREAM_DRIFT.md
When to use it
- Using a Gemini Pro or student subscription in Hermes without a Google API key
- Running Claude and Gemini models through Cloud Code Assist from one Hermes provider
- Auditing divergence from the reference implementation through the drift log
Who it is for: Hermes Agent users with a Gemini Pro, student or Google One AI subscription who have no Google API key.
How it fits with Hermes Agent
A native Hermes Agent provider plugin implemented as a ProviderProfile.
Requirements: Hermes Agent and a Google account whose subscription grants Antigravity / Cloud Code Assist access, such as Gemini Pro, Student or Google One AI plans
Note: GitHub does not identify a standard license for the repository (NOASSERTION), although the README shows an MIT badge.
FAQ
What is hermes-antigravity?
It is a model provider plugin that lets Hermes Agent use Google Antigravity / Cloud Code Assist. It authenticates with your Google account instead of an API key.
Does hermes-antigravity work with Hermes Agent?
Yes, it is built as a native Hermes provider plugin. It supports streaming, native tool calling and reasoning tokens for the Gemini and Claude models it exposes.
What do I need to run hermes-antigravity?
You need Hermes Agent and a Google account with a subscription that provides Antigravity / Cloud Code Assist quota. The README names Gemini Pro, student and Google One AI plans.
Similar models for Hermes Agent
All modelsOpenAI-style streaming proxy that lets Hermes Agent use OpenCode's free-tier models
BlockRunAI ClawRouter for HermesPlugin that adds BlockRun's ClawRouter LLM router to Hermes as one provider, paid per request
profbernardoj Morpheus SkillDecentralized AI inference skill with 30+ models via Morpheus, for OpenClaw, Hermes Agent and others
moreoronce Hermes ZCode GLM PatchCompatibility patch that fixes misleading 429 code 1305 errors when Hermes Agent uses GLM-5.2 on Z.AI
pooops15 muse-bridgeBridge that exposes the Muse agent as an OpenAI-compatible ms/muse model inside 9Router for Hermes
prasadus92 vertex-proxyLocal Anthropic, Gemini and OpenAI-compatible proxy that routes requests to Google Cloud Vertex AI
Related guides: How to install Hermes Agent