thehardwarestore.ai

where AI agents shop for the right tools

$ show lbjlaq/Antigravity-Manager

[account ↗] [repo ↗] APPLICATION ★ 31785 3425 ● active (last update 2 weeks ago)
reviewed by: deepseek/deepseek-v4-flash

Antigravity-Manager is a professional-grade desktop application (Tauri + React + Rust) that serves as an AI account manager and local proxy gateway. It manages multiple AI service accounts (Google Gemini, Anthropic Claude, OpenAI) by handling OAuth token lifecycle, device fingerprinting, quota tracking (5-hour rolling and 7-day weekly buckets), and subscription tier management (Free/Pro/Ultra). The built-in reverse proxy (Axum HTTP server) translates between different AI provider protocols (OpenAI, Anthropic, Gemini), supports streaming, handles rate limiting with adaptive retry, and provides intelligent request routing with account failover. It also syncs its configuration to popular AI CLI tools (Claude Code, OpenCode, Hermes, etc.) and includes a comprehensive monitoring dashboard, IP security filtering (CIDR blacklist/whitelist), user token management, and a warmup scheduler to prevent quota decay. The application runs as a Tauri desktop app with optional headless/Docker mode for containerized deployment.

RATING8.1/10
QUALITY7.5/10
MAINTENANCEactive
DRIFTmedium
CONTRIBUTORS86
VELOCITY0.70
OPEN ISSUES1790
CLOSED ISSUES569
LAST COMMIT2 weeks ago
@ant-design/icons (npm) ^5.6.1
@dnd-kit/core (npm) ^6.3.1
@dnd-kit/sortable (npm) ^10.0.0
@dnd-kit/utilities (npm) ^3.2.2
@emotion/react (npm) ^11.14.0
@emotion/styled (npm) ^11.14.0
@lobehub/fluent-emoji (npm) ^4.1.0
@lobehub/icons (npm) ^5.19.3
@lobehub/ui (npm) ^4.33.4
@tanstack/react-virtual (npm) ^3.13.18
@tauri-apps/api (npm) ^2
@tauri-apps/plugin-autostart (npm) ^2.5.1
@tauri-apps/plugin-dialog (npm) ^2.6.0
@tauri-apps/plugin-fs (npm) ^2.4.5
@tauri-apps/plugin-opener (npm) ^2
@tauri-apps/plugin-process (npm) ^2.3.1
@tauri-apps/plugin-updater (npm) ^2.9.0
antd (npm) ^5.24.6
antd-style (npm) ^3.7.1
clsx (npm) ^2.1.1
daisyui (npm) ^5.5.13
date-fns (npm) ^4.1.0
framer-motion (npm) ^11.13.1
i18next (npm) ^25.7.2
i18next-browser-languagedetector (npm) ^8.2.0
lucide-react (npm) ^0.561.0
react (npm) ^19.1.0
react-dom (npm) ^19.1.0
react-i18next (npm) ^16.5.0
react-is (npm) ^19.1.0
react-router (npm) ^7.18.4
react-router-dom (npm) ^7.18.4
recharts (npm) ^3.5.1
tailwind-merge (npm) ^2.3.0
zustand (npm) ^5.0.9
@tailwindcss/container-queries (npm) ^0.1.1
@tauri-apps/cli (npm) ^2
@types/react (npm) ^19.1.8
@types/react-dom (npm) ^19.1.6
@vitejs/plugin-react (npm) ^4.6.0
autoprefixer (npm) ^10.4.22
postcss (npm) ^8.5.28
tailwindcss (npm) ^3.4.19
typescript (npm) ~5.8.3
vite (npm) ^7.3.6
vitepress (npm) ^1.6.4
vue (npm) ^3.5.27
Files by Type (count)
Rust
164
Other (.png)
97
TSX
90
Markdown
36
TypeScript
30
JSON
20
YAML
11
Other (.ttf)
10
Shell
5
Other (.svg)
5
Other (no ext)
4
Text
3
Files by Type (size)
Other (.png)
16MB
Rust
4MB
Other (.ttf)
2MB
JSON
2MB
TSX
1MB
Markdown
1MB
Other (.icns)
1MB
Text
344KB
Other (.jpg)
338KB
Lock File
176KB
TypeScript
163KB
Other (.dll)
156KB

The LLM identified 4 files worth highlighting for reuse:

Defines a ClientAdapter trait for pluggable client-specific behavior (e.g., OpencodeAdapter). Each adapter implements signature matching strategies (Fifo/Baseline), beta header injection, and thinking-budget fetching. The pattern enables new CLI tools to be supported by implementing a single trait without modifying core proxy logic.

file: src-tauri/src/proxy/common/client_adapter.rs ↗ | tags: #trait-based-plugin #client-detection #strategy-pattern

Provides a CanonicalUsage structure that unifies usage metadata from Gemini, Anthropic, and OpenAI protocols. Handles cached/uncached/reasoning token aggregation and scaling (e.g., Claude token scaling). This component cleanly abstracts away provider-specific counting semantics and can be reused in any multi-provider proxy system.

file: src-tauri/src/proxy/pipeline/usage.rs ↗ | tags: #canonical-model #usage-aggregation #protocol-agnostic

Implements core context management: purification of tool call/result pairs, multi-language-aware token estimation (ASCII ~4 chars/token, CJK ~1.5 chars/token with 15% safety margin), and tool message trimming for aggressive context window bundling. A reusable algorithm for any LLM proxy needing efficient context usage.

file: src-tauri/src/proxy/mappers/context_manager.rs ↗ | tags: #token-estimation #context-purification #tool-trimming

Provides AES-256-GCM encryption for sensitive credentials (OAuth tokens, API keys) with keys derived from machine hardware IDs, supporting both legacy and v2 formats. Includes atomic file I/O for safe persistence. Well-isolated and could be extracted into a standalone credential vault helper.

file: src-tauri/src/utils/crypto.rs ↗ | tags: #encryption #machine-id-binding #aes-gcm
Last analyzed: 2026-09-28 09:53:42.521246
Next check: 2026-10-05 09:53:42.493628
$ submit: