Google
Google Antigravity
Google's agentic IDE and SDK. The IDE uses Google's own model list; the Antigravity SDK can talk to any OpenAI-compatible endpoint.
Step by step
01
Get your key
Redeem a voucher at /redeem and copy the key.
02
Install the SDK
pip install google-antigravity
03
Set the key
Export OPENAI_API_KEY="lxc_live_YOUR_KEY".
04
Run the agent
Use the snippet below; model is any id from the /models page.
Copy this
antigravity
import asyncio
import os
os.environ["OPENAI_API_KEY"] = "lxc_live_YOUR_KEY" # the SDK's OpenAI client reads this
from google.antigravity import Agent, LocalOpenAIAgentConfig
async def main():
config = LocalOpenAIAgentConfig(
model="YOUR_MODEL_ID", # any model id from the /models page
base_url="https://api.luxechain.si/v1",
)
async with Agent(config) as agent:
response = await agent.chat("Hello")
async for token in response:
print(token, end="", flush=True)
asyncio.run(main())
The Antigravity IDE cannot be repointed to a custom provider. This guide uses the Antigravity Python SDK, whose LocalOpenAIAgentConfig connects to any OpenAI-compatible base URL. The SDK's OpenAI client takes the key from OPENAI_API_KEY.