Skip to content
Discussion options

You must be logged in to vote

Summary: Agy supports four auth paths. ANTIGRAVITY_API_KEY is the primary one for headless/CI use. For desktop use, browser OAuth is the default and requires no env var.


Auth options at a glance

Method Env var When to use
Browser OAuth None -- login is stored in OS keyring (Windows Credential Manager / macOS Keychain / Linux libsecret) Default for desktop use. Run agy once, sign in via browser; login persists across sessions. No env var needed.
ANTIGRAVITY_API_KEY ANTIGRAVITY_API_KEY Primary choice for headless, CI, Docker, or scripted environments. Obtain from Google AI Studio. Set it in the environment before invoking agy or fleet commands.
GEMINI_API_KEY GEMINI_API_KEY Supp…

Replies: 1 comment

Comment options

kumaakh
May 28, 2026
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by kumaakh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQ
Labels
None yet
1 participant