Introducing Support for Local AI Models in the Antigravity SDK
This is a developer-focused update — mainly relevant if your team builds AI coding agents and needs them to run offline or on a local machine for cost or data-privacy reasons, rather than always calling out to a cloud model.

What changed
Source summary
Google added support for running local AI models, such as Gemma 4 26B via LiteRT, in the Antigravity SDK, enabling offline agentic workflows and hybrid setups where a cloud model plans while a local model handles token-intensive tasks like code auditing on-device. The SDK also supports OpenAI-compatible local inference servers like Ollama and vLLM.
Why it matters to your work
Practical interpretation
This is a developer-focused update — mainly relevant if your team builds AI coding agents and needs them to run offline or on a local machine for cost or data-privacy reasons, rather than always calling out to a cloud model.
When this could help
When an agent needs to run fully offline, or when shifting high-volume local tasks off cloud billing onto a sufficiently powerful local machine.
Token-intensive steps like on-device code auditing can run locally for privacy, cost and offline use, while a cloud model continues to handle planning in a hybrid workflow.
How to get started
Create and activate a Python virtual environment (python3 -m venv .venv, then source .venv/bin/activate).
Provider guidance ↗Install the SDK and LiteRT-LM: pip install google-antigravity litert-lm.
Provider guidance ↗Import Gemma 4 26B A4B from Hugging Face with litert-lm import, using the litert-community/gemma-4-26B-A4B-it-litert-lm repo.
Provider guidance ↗Write a script that sets LiteRTAgentConfig to the local model path and calls agent.chat() to run it (or use LocalOpenAIAgentConfig for an OpenAI-compatible server like Ollama or vLLM).
Provider guidance ↗
Build it into your routine
SCALA suggested workflow
Code audit on sensitive repo
Point a local Gemma 4 26B model at the repo for on-device review instead of sending the code to a cloud API.
What to check
Sources & provider guides
Official documentation checked 12 Oct 2026. SCALA prompts and workflows are suggestions, not claims of hands-on testing.
Source & availability
This is a summary of a published provider announcement, with practical context from SCALA’s feed.
Plan, region, workspace and rollout conditions may affect access in Australia. Check the original source for current availability.
developers.googleblog.comThis update is primarily for technical teams.
