Back to AI updates
GoogleNew features

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.

Read the original source 2 min read
Antigravity SDK and LiteRT logos on a black background, showing the rainbow-gradient Antigravity A logo alongside the LiteRT feather icon and wordmark
Google announces local AI model support in the Antigravity SDK via LiteRT runtime, enabling offline agentic workflows with Gemma 4 on-device ↗

What changed

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

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

  1. Create and activate a Python virtual environment (python3 -m venv .venv, then source .venv/bin/activate).

    Provider guidance ↗
  2. Install the SDK and LiteRT-LM: pip install google-antigravity litert-lm.

    Provider guidance ↗
  3. 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 ↗
  4. 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

  1. 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

  • Recommended hardware is more than 24GB of VRAM or unified memory; the article gives no guidance for lower-spec machines. Source ↗
  • Officially documented local-model support covers only Gemma 4 26B A4B via LiteRT; other local models rely on the generic OpenAI-compatible server path. Source ↗

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.com

This update is primarily for technical teams.