Overview
Antigravity Manager includes a built-in proxy server that translates OpenAI, Anthropic, and Gemini API requests to use your Google AI accounts.Basic Configuration
Server Settings
Enable the proxy service
Listening port for the proxy serverRange: 8000-65535Location:
config.rs:478Automatically start proxy server when application launchesLocation:
config.rs:487API request timeout in secondsDefault: 120 seconds
Range: 30-7200 secondsLocation:
Range: 30-7200 secondsLocation:
config.rs:494-495Network Access
Allow LAN access to the proxy server
- false: Bind to
127.0.0.1(local only, privacy-first) - true: Bind to
0.0.0.0(allow LAN access)
config.rs:463-467Authentication Modes
API authentication policyOptions:
off: No authentication requiredstrict: Authentication required for all routesall_except_health: Authentication required except/healthzauto: Recommended defaults (LAN=all_except_health, local=off)
config.rs:469-476API key for client authenticationFormat: Must start with
Example:
sk- followed by UUIDDefault: Auto-generated on first runExample:
sk-a1b2c3d4e5f6...Location: config.rs:481Web UI management console passwordIf not set, defaults to
api_key value.Location: config.rs:484Upstream Proxy Configuration
Route requests through an upstream proxy server:Enable upstream proxyLocation:
config.rs:564Upstream proxy URLSupported protocols:
http://, https://, socks5://Example: http://127.0.0.1:7890Location: config.rs:566If the proxy URL doesn’t include a protocol,
http:// is automatically prepended.
See normalize_proxy_url() in config.rs:10-21Logging Configuration
Enable request logging (required for token statistics)Location:
config.rs:499Enable debug logging (saves full request/response chain)Location:
config.rs:502Custom directory for debug logsIf not set, uses default application data directory.Location:
config.rs:503Advanced Settings
User-Agent Override
Override User-Agent header sent to upstream APIsExample:
antigravity/1.15.8 darwin/arm64Location: config.rs:515Persisted User-Agent value (even when override is disabled)Location:
config.rs:536-537