# Repository Briefing: wangbingnan136/agy-max
> Source: https://repoforai.com/repo/wangbingnan136/agy-max (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/wangbingnan136/agy-max
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: JavaScript
- **License**: MIT
- **Engineering Health**: A (85/100 · Maintenance 35/35 · Adoption 10/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v1.4.6 (2026-12-03) — https://github.com/wangbingnan136/agy-max/releases
- **Review Snapshot**: 2026-12-04
- **Momentum**: 212 ★ total (+5 24h / +92 7d) · 10 forks
- **Topics**: `agy`, `ai-coding`, `antigravity`, `codex`, `developer-tools`, `electron`, `gemini`, `google-antigravity`
- **When to Use**: Best for: Frequent Antigravity users, especially on macOS, who want session search, Git context, quota monitoring, and native SSH navigation in one client. Skip if: You need a self-hosted model gateway, cannot allow desktop debug attachment, or only need the bundled batch tools and can use standalone agy-fast.

## Overview
```text
### Architecture & Core Mechanics
Antigravity Max is a user-local JavaScript extension for the Antigravity desktop client, not a standalone model gateway. The v1.4.6 layout puts nine modules behind one core and one shared Chrome DevTools Protocol (CDP) connection; six modules install by default. It attaches to the host UI, with the DevTools port file discoverable through the client setup or explicitly configured via ANTIGRAVITY_CDP_PORT_FILE. The package manifest requires Node.js 22.13+ and lists react-day-picker as its sole direct dependency.

The installation separates plugin code under ~/.gemini/config/plugins/agy-max/ from settings, quota samples, and module state under ~/.gemini/antigravity/plugin_data/agy-max/. The default-enabled, switchable agy-fast bundle adds MCP tools and a SessionStart snapshot. That tool plane is distinct from model traffic handled by the official client and from v1.4.6's native SSH windows, which replace the prior local MCP relay for remote workspaces.

### Key Capabilities & Differentiators
The workbench combines five-hour and weekly quota views with context breakdowns, generation-only tokens per second, time to first output, cache-hit data, reference cost estimates, and a 53-week activity heatmap. Local and SSH session history can be searched in full text and opened at the matching turn. Workspace tools include a read-only unified Git diff, an editable file tree, and line-and-column handoff to supported external editors. Conversation controls include branching, /btw side conversations, and persistent /goal tracking.

Document handling converts Word, Excel, PowerPoint, PDF, and CSV to Markdown locally and uses an index card when a full conversion is too large to send inline. Optional online translation and input prediction support provider integrations including OpenAI, OpenAI Responses, Anthropic, and Gemini. The two new default modules in v1.4.6 address maintenance and remote navigation: language-server restart waits for idle work, while server tabs switch between native SSH windows without stopping the remote service when a tab closes.

### Trade-offs & Limitations
Compared with stock Antigravity, Max brings history search, Git inspection, usage monitoring, and task tracking into the client. The cost is coupling to the host's debug attachment, internal UI, and startup sequence. Version-specific fixes around cold startup, the native side panel, and paste handling are good reasons to test a client update before rolling it out. If batched agent operations are the main requirement, standalone agy-fast is a narrower choice. Max adds Codex-style interactions without replacing Antigravity's model backend.

Usage aggregation and search run locally, but the same is not true of every optional feature: online translation sends selected text, and input prediction sends recent conversation summaries to the configured provider. Optional account switching uses OS credential storage; v1.4.6 removes automatic switching on quota exhaustion. The optional HTTP/SOCKS5 setting routes client traffic through a user-supplied proxy rather than exposing Google model APIs. Automatic cache keep-warm is off by default; enabling it adds background model requests, so weigh any cache benefit against quota use.

### Hardware & Deployment Guide
Install and launch Antigravity 2.35.1+ at least once before running install.sh on macOS, Linux, or WSL2, or install.ps1 on Windows. macOS is the fully tested platform; the other targets have scripts and compatibility code but lack equivalent validation. Installation prefers Node.js 22.13+ and falls back to the client's agy-node without requiring npm install or administrator access. Module acquisition uses SHA-256 verification and can fall back to copies bundled in the release package; this does not make model access or online assistants work offline.

For v1.4.6, installations on v1.4.5 can update in-app; v1.4.4 and older should use the release ZIP for an in-place upgrade, without uninstalling first, to retain settings and module choices. Fully quit and restart the client afterward; refreshing the UI is not enough. On supported Linux SSH hosts, the server-tabs module can install a user-scoped Node.js runtime and sync Max and its settings. Save remote work before rollout: an existing remote service may restart if its environment needs updating.
```

## Key Capabilities
```text
- Module architecture: v1.4.6 ships one core and nine modules, six installed by default, sharing one CDP connection.
- Bundled MCP tools: agy-fast v0.3.4 provides batch_search, read_slices, quick_outline, apply_edits, run_checks, and a SessionStart snapshot.
- Usage visibility: Five-hour and weekly quota rings, context breakdowns, per-request cache and latency data, and a 53-week activity heatmap.
- Workspace navigation: Full-text session search across local and SSH history, read-only unified Git diffs, and editor handoff to an exact line and column.
- Native SSH windows: Server tabs switch between remote windows; closing a tab leaves the remote service running.
- Module distribution: SHA-256 verification, a bundled offline fallback for module installation, and rollback if the updated plugin fails to start.
```

## Quick Start / Clone
```bash
# macOS（主力实测） / Linux / WSL2（未做严格测试）
sh ./install.sh
```
