Antigravity-Manager  by lbjlaq

Local AI Gateway for seamless cloud model access

Created 1 month ago
10,853 stars

Top 4.7% on SourcePulse

GitHubView on GitHub
Project Summary

Antigravity Tools provides a local AI gateway, enabling seamless account switching and API proxying for Gemini and Claude models. It targets developers and power users who need to manage multiple AI accounts, ensuring high availability through intelligent load balancing and automatic failover. The application streamlines access to advanced AI capabilities by presenting them through a unified, OpenAI-compatible API interface, simplifying integration with various AI applications and workflows.

How It Works

The core of Antigravity Tools is a high-performance Rust-based proxy service that acts as a local AI scheduler. It intelligently manages multiple user accounts, implementing load balancing across available accounts and automatic failover mechanisms that switch to healthy accounts within milliseconds upon detecting errors like 429 Too Many Requests or 400 Bad Request. The service fully supports the OpenAI messages format for multi-turn conversations and offers optional direct connections to Google/Anthropic servers for enhanced privacy, logging no conversation content. It also supports both OpenAI and Anthropic API protocols, automatically converting requests to a compatible format.

Quick Start & Requirements

  • Primary install/run: Download the latest version. Add accounts via OAuth or token pasting. Navigate to the "API Proxy" page, configure the port (default 8045), and click "Start Service." Copy the generated API Key (sk-antigravity). Configure AI applications with Base URL: http://localhost:8045/ (or /v1) and the provided Key.
  • Prerequisites: Network access. The application is built with Tauri v2 and React, implying cross-platform desktop support.
  • Links: Download latest version (link implied but not provided).

Highlighted Details

  • Smart Account Rotation: Automatic load balancing and millisecond-level failover for 429/400 errors, with quota awareness.
  • Token Management: Automatic token renewal and visual monitoring for text and image quotas.
  • Multi-Protocol Support: Seamlessly handles OpenAI and Anthropic API formats, converting them for Gemini compatibility.
  • Image Generation: Supports Gemini Imagen 3 with advanced control over resolution and aspect ratio via model suffixes or API parameters.

Maintenance & Community

The project shows active development with frequent version updates (e.g., v3.1.0, v3.0.3). No specific community links (Discord, Slack) or notable contributors/sponsors are mentioned in the README.

Licensing & Compatibility

The project is licensed under CC BY-NC-SA 4.0. This license strictly prohibits commercial use and requires derivative works to be shared under the same non-commercial, share-alike terms.

Limitations & Caveats

The CC BY-NC-SA 4.0 license is a significant blocker for any commercial adoption or integration into proprietary software. The README explicitly notes that Cursor and Windsurf applications are currently not compatible with the OpenAI protocol endpoint.

Health Check
Last Commit

2 days ago

Responsiveness

Inactive

Pull Requests (30d)
73
Issues (30d)
458
Star History
11,048 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.